16.12.2015, 11:02
iptables has no rules by default so unless you specifically closed them all ports are open. This rule will add UDP port 7777 as the first rule in the chain:
Код:
iptables -I INPUT 1 -p udp --dport 7777 -j ACCEPT