iptables masquerading

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

 



Hi there,

I've cross-compiled iptables for my x86 (486) embedded device and installed it successfully. I did NOT use the static binary option so I have all the iptables lib installed too. I'm using linux kernel 2.4.25 with no patches and almost all netfilter options enabled (iptables support is enabled) . When on my embedded device I do:

# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

I get this error:

iptables v1.2.9: Couldn't load target `MASQUERADE':File not found
Try `iptables -h' or 'iptables --help' for more information.

So I tried:
# iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 192.168.1.160

and got:
iptables v1.2.9: Unknown arg `--to'
Try `iptables -h' or 'iptables --help' for more information.

Did I miss something when installing?

Shubho

_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines




[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