Comments on: How To Setup A Firewall with UFW on Ubuntu & Debian https://tecadmin.net/setup-ufw-for-firewall-on-ubuntu-and-debian/ How to guide for System Administrator's and Developers Fri, 22 Apr 2022 07:08:17 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: belo https://tecadmin.net/setup-ufw-for-firewall-on-ubuntu-and-debian/#comment-63348 Sat, 04 Sep 2021 13:50:17 +0000 https://tecadmin.net/?p=8330#comment-63348 Deny IP to Specific Port -To deny connections from any ip address of subnet use following command.

sudo ufw allow from 192.168.1.100 to any port 22
sudo ufw (deny) from 192.168.1.100 to any port 22 ?

]]>
By: Anders https://tecadmin.net/setup-ufw-for-firewall-on-ubuntu-and-debian/#comment-2807 Sun, 26 Jun 2016 02:07:32 +0000 https://tecadmin.net/?p=8330#comment-2807 Please do not remove the support for IPv6.
That will bite you hard if you connect to a network that supports IPv6.

If you have support for IPv6 turned on, It will not be used if you don’t have support for IPv6 routing in your machine or network. And it will protect you if you have it added. Iven if you turn off the IPv6 module.

So please, remove or at least strongly suggest not to turn of UFW support for IPv6, even id your machine/network doesn’t support IPv6 for some strange reason.

]]>