View previous topic :: View next topic |
Author |
Message |
craigandrews n00b
Joined: 08 Dec 2003 Posts: 6 Location: Sheffield, UK
|
Posted: Tue Jan 13, 2004 10:28 am Post subject: Masquerading problem |
|
|
Hi,
I'm trying to set up a simple masquerade for my iPaq on ppp0, but my iptables appears to be broken.
Even the most simple, single line masquerading gateway failes:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
results in:
iptables: Invalid argument
I've checked that iptable_nat, ipt_MASQUERADE and so on are loaded with lsmod, and all the other iptables stuff works. It's just this.
Any ideas?
Thanks, _________________ Craig Andrews <craig@simplyspiffing.com>
This .sig intentionally left blank |
|
Back to top |
|
|
Janne Pikkarainen Veteran
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Tue Jan 13, 2004 10:43 am Post subject: |
|
|
Re-emerge/update your iptables with emerge iptables. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Mon Feb 09, 2004 5:41 pm Post subject: |
|
|
Moving from Networking and Security.
Please follow up to iptables invalid argument..
There are a great number of threads that are essentially dupes of this topic, so if you feel that something in this thread should go in the sticky thread, please re-post it there or provide a link back here. As always, please PM a moderator if you feel this thread is significantly different than any other thread and was inadvertently locked.
Thanks to nephros for pointing out the dupes.
_________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|