Re: Invalid Argument

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

 



On Mon, 2004-09-06 at 08:48, João Carlos Garcia wrote:
>     iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o $EXTIF -j SNAT --to-source $EXTIP
> 
> When the script run the last rule ( NAT ), occurs an error : iptables invalid argument.
> I want that the iptables change the source IP address ( 192.168 ) to his ip address ( 172.16.0.3 ) to all connection to Internet
> 
> Could anyone help me ?
> Thanks in advanced
> João Carlos

my guess is you've compiled a custom kernel, possibly applied some POM
patches, and you have not recompiled the iptables userspace utilities.

-j

-- 
Jason Opperisano <opie@xxxxxxxxxxx>




[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