ip_nat_snmp_basic issue!
Rusty Russell
rusty at rustcorp.com.au
Wed Apr 6 01:36:51 CEST 2005
On Tue, 2005-04-05 at 13:23 -0500, Mohsen Basirat wrote:
> Dear Rusty,
>
> I was trying to use ip_nat_snmp_basic but unfortantly it does not work. I
> just googled and found out that you have been following the issues w/ this
> module and added some code for the 2.6.11-rc2.
> So would u mind let me know how I can make this module work!
> I just modprobe the module and define one SNAT,DNAT but nothing hapens!
> It does not change the ip addresses in the payload !
> I am using kernel 2.6.11.6 and iptables 1.2.11.
>
> here is the iptables nat rules:
> iptables -t nat -A PREROUTING -d 192.168.201.185 -i eth0 -j DNAT
> --to-destination 10.21.1.4
> iptables -t nat -A POSTROUTING -s 10.21.1.4 -o eth0 -j SNAT --to-source
> 192.168.201.185
>
> Rusty, I will be so thankful if u help me figure it out.
It was converted to the new netfilter stuff, but without a testcase in
nfsim, I don't know if it actually works. I keep hoping someone will
write the testcase and we'll be able to see what I broke...
James, you bored with that crypto crap yet?
Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
More information about the netfilter-devel
mailing list