IP Tables blocking external connection to IRC server
#4

Quote:
Originally Posted by RayW
Посмотреть сообщение
In the iptables rules file, make sure the ACCEPT rules get placed before the DROP and REJECT rules.

This should allow IRC connections:

Код:
iptables -A INPUT -i eth0 -p tcp -m tcp --sport 6667 -j ACCEPT 
iptables -A OUTPUT -o eth0 -p tcp -m tcp --dport 6667 -j ACCEPT
Obviously change eth0 to whatever network interface you're using.
Added those rules, enabled the new configuration, restarted the firewall service, disabled the service, enabled the service, restarted the SA:MP server, reloaded the FS, still no connection. It seems to only get through when I COMPLETELY disable the firewall on the dedicated box.

Quote:
Originally Posted by dugi
Посмотреть сообщение
Some of the server providers block the default irc port on their routers completely, most of the irc networks such as ours have another alternative port that's rarely blocked: 8067, so I suggest trying that also.
I thought of that too, but people can still connect to the IRC through regular IRC clients, so that can't be the problem. The SA:MP server's IRC bots only connect when the firewall on the dedicated box is completely turned off...


EDIT: Seems like it only works when either the firewall is disabled completely, or after trying to connect, I restart the firewall- it will connect.
Reply


Messages In This Thread
IP Tables blocking external connection to IRC server - by Scenario - 25.03.2013, 19:59
Re: IP Tables blocking external connection to IRC server - by RayW - 25.03.2013, 20:05
Re: IP Tables blocking external connection to IRC server - by dugi - 25.03.2013, 20:08
Re: IP Tables blocking external connection to IRC server - by Scenario - 25.03.2013, 20:27
Re: IP Tables blocking external connection to IRC server - by RayW - 25.03.2013, 21:41
Re: IP Tables blocking external connection to IRC server - by Scenario - 26.03.2013, 00:52

Forum Jump:


Users browsing this thread: 1 Guest(s)