Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Masquerading problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
craigandrews
n00b
n00b


Joined: 08 Dec 2003
Posts: 6
Location: Sheffield, UK

PostPosted: Tue Jan 13, 2004 10:28 am    Post subject: Masquerading problem Reply with quote

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
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Tue Jan 13, 2004 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Mon Feb 09, 2004 5:41 pm    Post subject: Reply with quote

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.

nephros wrote:
These are a couple of dupes regarding the recent (and past) breakage of iptables with newer gentoo-sources (fix is to recompile iptables with correct "linux" symlink):

https://forums.gentoo.org/viewtopic.php?t=128430&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=123929&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=123385&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=121406&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=113410&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=101524&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=117746&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=110470&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=88111&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=79633&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=77221&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=74567&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=70546&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=52931&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=52020&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=47553&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=41032&highlight=iptables+invalid+argument
https://forums.gentoo.org/viewtopic.php?t=107331&highlight=iptables+invalid+argument

I am pretty sure there are even more. Oh when will they ever search... :roll:

_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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