Menu

#10 Open ports for iptables

open
nobody
None
5
2020-11-18
2020-11-18
David
No

Hi!

What UDP ports does gtkg uses? I want to setup my iptables, but unfortunately on the interface there's "listen port" which is tcp (?). There's also the option use "Enable UDP" and "Enable DHT", but there's no indication of what ports these use.

For now i have these for gnutella:

sudo iptables -A INPUT -p tcp -m multiport --dports 3926 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -p tcp -m multiport --dports 3926 -m conntrack --ctstate ESTABLISHED -j ACCEPT

Discussion


Log in to post a comment.