Tag Archives: iptables

How to Manually Edit ufw Rules on Ubuntu Linux

How to Manually Edit ufw Rules on Ubuntu Linux | ufw is the great command line app for managing iptables in Ubuntu. While any changes should use the ufw command, it is possible to rather manually edit user created ufw rules in cases where that might be desirable. The file location is: /lib/ufw/user.rules For ipv6 rules, the file is: /lib/ufw/user6.rules As with iptables, rules are

ufw Allow From Specific IP on Specific Port

ufw Allow From Specific IP on Specific Port | ufw is the friendly command line firewall utility in Debian and Ubuntu. I’ll show you how to create a specific rule syntax for allowing traffic in from a specific ip on a specific port. Say for example you want to allow traffic from 192.168.1.215 on udp port 88. Here is the command: $ sudo ufw

Protect Against Brute Force with ufw

Protect Against Brute Force with ufw | ufw is the super easy firewall interface featured in Ubuntu and also the latest Debian. Somewhat like fail2ban, one feature of ufw is built-in rate limiting to protect against brute force attacks. While this could be used on any port, a common use is on port 22 to protect against ssh dictionary attacks or other