[Nottingham] Port forwarding with iptables
Phil Lakin
nottingham at mailman.lug.org.uk
Tue Apr 29 16:58:00 2003
On Tue, 2003-04-29 at 16:36, Steve Goodliff wrote:
> Maybe the router isn't sending its responses back to the redhat box ? but
> trying to directly send to the workstation on the 10.x network which it cant
> reach.
>
>
Hi,
If tcpdump isnt picking up any returning packets, the data must be going
in a different direction.
Sounds like the adsl router is trying to send the response down the
wrong pipe.. Can you check the routing table on the adsl router ?
Why not just allow selective forwarding to the routers http ports,
instead of trying to dnat from your internal network to the external
network ?
also, check /etc/sysctl.conf
and make sure net.ipv4.ip_forward is set to 1
Phil