[Firewall] Port forwarding issue

Peter Szmrecsanyi szmrecs at attglobal.net
Fri Jan 27 03:19:37 MST 2006


To view the forwarding ports you must view the nat table, so you must
specify this table using the "-t nat". Since you're using grep, force the
output to have numeric ports and hosts with the -n flag. The following
should work:

iptables -t nat -L -n | grep 8888

-----Original Message-----
From: Firewall-bounces at lists.btito.net
[mailto:Firewall-bounces at lists.btito.net] On Behalf Of Greg Talbot
Sent: quinta-feira, 26 de janeiro de 2006 17:10
To: firewall at lists.btito.net
Subject: [Firewall] Port forwarding issue

I cant seem to get port forwarding to work,
I am trying to send port 8888 to an internal host on port 80 with
NAT_TCP_FORWARD="8888>10.10.6.60:80"

But it does nothing as iptables -L |grep 8888 comes up empty.
any ideas?

 v1.8.3-RC4
 NAT=1

--gt





_______________________________________________
Firewall mailing list
Firewall at lists.btito.net
http://lists.btito.net/mailman/listinfo/firewall_lists.btito.net
Arno's (Linux IPTABLES Firewall) Homepage:
http://rocky.eld.leidenuniv.nl




More information about the Firewall mailing list