[LARTC] Dual ISP routing and NAT problem

Aleksander aleksander at krediidiinfo.ee
Tue Mar 7 16:15:12 CET 2006


Mart Frauenlob wrote:
> So for example applying a DNAT rule like:
> 'iptables -t nat -A PREROUTING -i ppp0 -d 217.92.8.242 -p tcp --dport 
> 80 -j DNAT --to-destination 62.155.170.254'
> fails.
Are you sure do not drop the packets later in the FORWARD chain?

Make sure ip forwarding is enabled, make sure that your routes are OK 
and then try sniffing with tcpdump to find where your packets are lost.

I'd start with a simpler setup, make sure it works and then add rules 
and routes.


HTH,
	Alex


More information about the LARTC mailing list