You are not logged in.
It is possible that instead putting my ip address, that I can put a dynamic dns. Example: test.no-ip.org
sudo ufw allow test.no-ip.org
Is this Possible?
I was until now using firestarter, but it's become buggy and doesn't show active connections.
For seeing active connections I use: lsof -i -n -P and with some grep action works fine for fiding active services. Example: sudo lsof -i -n -P| grep sshd
Thanks.
Last edited by lgeek (2012-05-09 22:56:19)
Offline
It is possible that instead putting my ip address, that I can put a dynamic dns. Example: test.no-ip.org
sudo ufw allow test.no-ip.org
Is this Possible?
Yes, but the address will be resolved to an IP Address at the time you run that command. If the DNS is updated to a new address, you will need to rerun the command.
This is a limitation of the fact that the firewall operates at OSI Layer 3 and 4 where hostnames and DNS do not exist.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
If I do: sudo ufw allow test.no-ip.org
It gives me this: ERROR: Could not find a profile matching 'test.no-ip.org'
Is there a solution, or nedd to use other command?
Offline
Ah ok, sorry I misinterpreted your query a little bit... I don't use ufw so I'm not sure on the exactly syntax but ufw is just an abstraction of iptables so I would extremely surprised (and add another reason to the list why I don't use ufw) if it doesn't support something so basic somehow.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
What are you trying to accomplish exactly? The ip address to which 'test.no-ip.org' will resolve belongs to a machine behind the box that will be running ufw and you're trying to set up some basic access control? What does your network setup look like (generally, don't need every specific detail)?
Burninate!
Offline
For basic understanding of the UFW/Firewall you should check first this page: https://wiki.archlinux.org/index.php/Ufw
And you can install gufw package from AUR: http://aur.archlinux.org/packages.php?ID=57480
Easy to manage. Have fun!
Last edited by barko (2012-05-11 06:39:29)
Offline