I have a problem configuring gufw. I open ports on it, but when i test in deluge it shows as closed. Any help on setting up the firewall would be greatly appreciated. This is the output I get on the firewall in terminal:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1346/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 970/cupsd
tcp 0 0 0.0.0.0:55521 0.0.0.0:* LISTEN 17362/python
tcp6 0 0 ::1:631 :::* LISTEN 970/cupsd
tcp6 0 0 :::55521 :::* LISTEN 17362/python
udp 0 0 10.0.0.125:1900 0.0.0.0:* 17362/python
udp 0 0 127.0.0.1:1900 0.0.0.0:* 17362/python
udp 0 0 0.0.0.0:1900 0.0.0.0:* 17362/python
udp 0 0 127.0.0.1:53162 0.0.0.0:* 17362/python
udp 0 0 127.0.0.1:53 0.0.0.0:* 1346/dnsmasq
udp 0 0 0.0.0.0:68 0.0.0.0:* 1312/dhclient
udp 0 0 10.0.0.125:36948 0.0.0.0:* 17362/python
udp 0 0 0.0.0.0:37240 0.0.0.0:* 17362/python
udp 0 0 10.0.0.125:6771 0.0.0.0:* 17362/python
udp 0 0 127.0.0.1:6771 0.0.0.0:* 17362/python
udp 0 0 0.0.0.0:6771 0.0.0.0:* 17362/python
udp 0 0 10.0.0.125:50034 0.0.0.0:* 17362/python
udp 0 0 0.0.0.0:58340 0.0.0.0:* 982/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 982/avahi-daemon: r
udp 0 0 0.0.0.0:56947 0.0.0.0:* 17362/python
udp 0 0 127.0.0.1:57059 0.0.0.0:* 17362/python
udp6 0 0 :::49793 :::* 982/avahi-daemon: r
udp6 0 0 :::5353 :::* 982/avahi-daemon: r
kenneth@kenneth-K53U:~$ sudo ufw status
Status: aktive
Til Handling Fra
--- -------- ---
6881:6891/tcp ALLOW Anywhere
6881:6891/udp ALLOW Anywhere
55521/tcp ALLOW Anywhere
6881:6891/tcp ALLOW Anywhere (v6)
6881:6891/udp ALLOW Anywhere (v6)
55521/tcp ALLOW Anywhere (v6)
I also want to be able to use the firewall with linuxdc, so I need other ports open as well.
This is connected to the firewall. Because when I turn off the firewall, the port is open. So this is not a problem with my modem.
Do I need the firewall? The broadband modem has a hardware firewall.
Update: Forgot to add. When my firewall is inactive, it closes ports after a time. So when I use linuxdc, I have to flush iptabels and activating it again. Is this supposed to do this when the firewall is deactivated?
Update again: All my ports are closed now, flushing the iptable does not work anymore. I have uninstalled gufw, but still all my ports are closed. And to say it again, this has nothing to do with my broadband modem since it worked when I used windows 7.
I need help to open the ports.