Lito A. Lampitoc wrote:
Hi All,

I have two questions:

1. how do you allow IRC on iptables? the following lines doesnt seem to
work:

iptables -A INPUT -p tcp --dport 113 -m state --state NEW -j ACCEPT

FYI tcp/133 port is for ident. irc is commonly on tcp/6667 but it varies per server.


if your doing masquerading or SNAT, take a look at your POSTROUTING chain in the nat table not the INPUT chain

eg.
$IPT -t nat -A POSTROUTING -p tcp --dport 6660:6669 -s <clientiporblock> -d <ipaddofircserver> -o $EXT_IF -j MASQUERADE



HTH


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to