SA-MP Forums Archive
Open port 7777 VPS Centos 6 64 bit without disable full firewall? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Open port 7777 VPS Centos 6 64 bit without disable full firewall? (/showthread.php?tid=596335)



Open port 7777 VPS Centos 6 64 bit without disable full firewall? - Rodri99 - 16.12.2015

As the question name anyone know the putty linux commands to open samp port 7777 without disable the full iptables firewall?

Thanks,
Rodri.


Re: Open port 7777 VPS Centos 6 64 bit without disable full firewall? - Vince - 16.12.2015

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