From: "Charles A. Crayne" <[EMAIL PROTECTED]>
> In building a script for my iptables commands, I find that if I enter
> the command:
>
> iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o ppp+ -j MASQUERADE
>
> from a command prompt, then it executes correctly, but if I place the
> identical command into a file and invoke it as a script, then it fails
> with the message:
>
> iptables v1.2.6a: Couldn't load target
> `MASQUERADE':/lib/iptables/libipt_MASQUERADE.so: cannot open shared
> object file: No such file or directory.
>
> All of my other iptables commands (non of which reference MASQUERADE),
> execute equally well from either the command prompt or the script.
>
> Any thoughts?
Yeah, is the ipchains emulation turned off and expunged from your system?
service ipchains stop
rpm -e ipchains
Ipchains interferes with iptables. It's just a thought....
{^_^}
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list