iptables strangeness

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

 



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?

-- Chuck



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux