You are not logged in.
I've been having this issue with my firewall for ages now since I switched away from firestarter to now ufw. My problem with the firewall is that I can't get it to resolve the HOSTNAME of my server and windows machines when it is turned on. I can only get to them via their ip addresses. But hen I turn off my firewall then I can resolve the hostname and view them in Dolphin for example under network --> samba shares. I came across this post on the ubuntu forums
http://ubuntuforums.org/showthread.php?p=11501082
but that doesn't seem to work for me either. Can anyone tell how to set up a firewall (doesn't have to be ufw) with support for hostname resolving?
Last edited by fettouhi (2012-02-18 17:36:45)
Offline
I don't have any experience with ufw, but you could just use iptables and explicitly allow netbios traffic.
Burninate!
Offline
Try this:
sudo ufw allow 53
sudo ufw allow 137
sudo ufw allow 138
sudo ufw allow 139Last edited by shyn (2012-02-18 17:10:22)
Offline
Try this:
sudo ufw allow 53 sudo ufw allow 137 sudo ufw allow 138 sudo ufw allow 139
Yes that helped, now I can browse my other machines via Dolphin without turning of the firewall. I had already 137, 138 and 139 loaded but not 53. Many thanks for all the suggestions! ![]()
Last edited by fettouhi (2012-02-18 17:36:32)
Offline
I don't have any experience with ufw, but you could just use iptables and explicitly allow netbios traffic.
Just for clarification's sake, ufw is a frontend for iptables.
Last edited by Earnestly (2012-02-18 22:49:47)
Offline
ufw allow from 192.168.1.0/24 to any app CIFSworks fine for me ![]()
Edit/ nm already had a rule for my dns on 53, but I use appnames as found in /etc/ufw/applications.d, so for DNS it would simply be
ufw allow from 192.168.1.0/24 to any app DNSLast edited by Meyithi (2012-02-18 23:04:43)
Offline