From: Fergal Moran (fergal.moran at domain wasptech.com)
Date: Fri 25 May 2001 - 12:04:34 IST
> From: Dave Airlie [mailto:airlied at domain csn.ul.ie]
> > [root at domain pasteur /]# iptables -t nat -A PREROUTING -p tcp
> --dport 80 -i eth0 -j
> > DNAT --to 192.168.1.6:80
> well not sure you don't need the :80 on the end of to anyways
> for a start
Yeah - I figured that - I tried it both ways - no difference
> do iptables -L PREROUTING -t nat
> to get a listing of the PREROUTING tables..
[root at domain pasteur /]# iptables -L PREROUTING -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- anywhere anywhere tcp dpt:http
to:192.168.1.6:80
DNAT tcp -- anywhere anywhere tcp dpt:http
to:192.168.1.6
To me - this looks as if the rule is set up ok - is it?
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:27 GMT