Skip to main content

Questions tagged [ufw]

Uncomplicated Firewall (ufw) is a frontend for iptables, works as a host-based firewall and provides a framework for managing netfilter, as well as a command-line interface for manipulating the firewall.

Filter by
Sorted by
Tagged with
2 votes
1 answer

ufw: how to forward single port to another port on different interface

I have two interfaces eth0 ( and eth1 ( I receive data from 8080 at eth0. I want to forward it to eth1 port 80. I'm using UFW, because i don't understand iptables and how to ...
sergius's user avatar
  • 65
1 vote
1 answer

netstat is not showing port opened through ufw

I am setting up a ftp server on my Ubuntu 16. After using the following command: sudo ufw allow 21/tcp sudo ufw status verbose I can see the output that says: 21/tcp ALLOW IN Anywhere ...
Carlos's user avatar
  • 111
37 votes
1 answer

Do you need to reload after adding a rule in ufw?

Do you need to run any of these commands: sudo ufw reload sudo ufw disable sudo ufw enable after adding a rule via sudo ufw allow?
iLW's user avatar
  • 473
20 votes
1 answer

How can I disable UFW logging for a specific event?

My router sends out multicast packets in regular intervals that are blocked by UFW's standard policies. These events are harmless but spam my syslogs and ufwlogs. I can't change the router's behaviour ...
Glutanimate's user avatar
  • 2,278
19 votes
6 answers

Why does Debian come without a firewall enabled by default?

I'm using Debian 9.1 with KDE and I'm wondering why it comes without a firewall installed and enabled by default? gufw is not even in DVD1's packages. Are people expected to connect to the Internet ...
mYnDstrEAm's user avatar
  • 4,360
13 votes
4 answers

UFW is blocking DNS

I am configuring the security in my server. For easier the manage at the firewall, I installed the UFW. I did some settings in the UFW and I allowed some ports. Therefor when I enabled it the DNS ...
diegoklapper's user avatar
4 votes
1 answer

Where are the logs for UFW located on Arch Linux?

UFW is enabled and logging is set to HIGH on my Arch Linux system. I am sure that it is running and blocking some of my connection attempts. However I cannot find any logs. The places/commands I tried ...
harmancode's user avatar
1 vote
2 answers

I enabled ufw in an aws instance. How to stop that?

I enabled ufw within the server instance, when connected through ssh. But now, I am not able to connect to the server in any way. Is there a way to disable the ufw in the server? I couldnt find any ...
sowmiyaksr's user avatar
-2 votes
1 answer

prevent dns leak with iptables

I start openvpn service and when i connect to the server, i bash these commands: sudo iptables -A INPUT -j DROP' sudo iptables -A OUTPUT -j DROP sudo iptables -A OUTPUT -o tun0 -j ACCEPT read -p "...
Max Bergheim's user avatar