[LUNI] Re: Port forwrading help?

David Gibbs david at midrange.com
Sun Jan 14 13:53:39 CST 2007


Arun K. Khan wrote:
> A listing from "iptables --list" would tell the whole story.

I had to back burner this for a bit ... but can now spent a bit more
time on it.

Here's all my rules ...

[root at rivendell ~]# iptables -L -t filter
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

[root at rivendell ~]# iptables -L -t mangle
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

[root at rivendell ~]# iptables -L -t nat
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
REDIRECT   tcp  --  anywhere             anywhere            tcp
dpt:5222 redir ports 8080

david



More information about the luni mailing list