ROUTE target and --continue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hello,

	I'm trying to use ROUTE target with SNAT. For me, ROUTE works very
	fine without --continue, but I need to add SNAT. Without SNAT, all
	routed packets come from 192.168.0.130 and they have to come from
	192.168.1.1...

	Without --continue, they are good routed. To do SNAT, I have added
	--continue and I obtain :

Root kant:[/var/lib/iptables] > iptables -t mangle -n -v -L | grep ROUTE
    7   280 ROUTE      tcp  --  *      *       192.168.0.130
	0.0.0.0/0           tcp spts:3000:3001 ROUTE gw:192.168.1.254
	continue

Root kant:[/var/lib/iptables] > iptables -t nat -n -v -L | grep LOG  
    0     0 LOG        tcp  --  *      *       192.168.0.130
	0.0.0.0/0           tcp spts:3000:3001 LOG flags 0 level 4 prefix
	`SNAT : ' 

	Look at "0" on the nat table... And without --continue, I can see my
	packets on eth2 (192.168.1.1). With continue, no one packet... Where
	is the mistake ?

	Regards,

	JKB


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux