Re: iptables natting

2005-07-12 Thread Graham Smith
> | iptables -A FORWARD -i eth0 -o eth1 -d 192.168.0.10 -p tcp -j ACCEPT > | > | iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 8080 -j DNAT > | --to-destination 192.168.0.10 > > Change this to: > > iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 8080 -d YOURPUBLICIP > -j DNAT --to-desti

Re: iptables natting

2005-07-12 Thread Dave Ewart
On Tuesday, 12.07.2005 at 15:35 +0100, Graham Smith wrote: > I think the problem is that the redirect is to my public IP address > and I am on a machine inside the network. I'm pretty sure that if I > was outside the network this would work fine. (Haven't read all your details abov, but just an o