From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5142d8611cac0181,start X-Google-Attributes: gid111c93,public From: Michel Adamus Subject: ip masquerading question Date: 1998/10/29 Message-ID: <3638CB9E.CE19A15C@connectalk.com>#1/1 X-Deja-AN: 406417801 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: PubNIX Montreal http://www.pubnix.net Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Hello, I have a little problem with my little Alpha (AXPpci33). I used to be able to do IP masquerading when I had my old 486 with linux on it with "ipfwadm" but since I installed everytiong on the Alpha, I can't make it work. Here are the facts: - kernel 2.0.34 is compiled with all the net and ip masquerading options. - ethernet device (192.168.1.0/24) to masquerade that subnet - I try to masquerade the subnet like this: ipfwadm -F -a accept -m -S 192.168.1.0/24 -D 0.0.0.0/0 Now, the interesting thing is that ipfwadm is not installed by default (so maybe I am not supposed to use that to masquerade?). Anyway, I got the sources and the patch, compiled it and installed it. It's the 2.3.0 version. Ok, ok, i'm getting to the point. If I try to run ipfwadm without any options, the applications gives me the usual "arguments required, bla bla bla", but when I try to enter anything... all I get is "setsockopt failed: invalid argument" .... and you must belive me that I compiled the kernel with all needed support more than once. Now, the question: how can I masquerade? Any suggestions... :) Michel Adamus