I've successfully used masquerading on a Linux machine at a previous job,
but I'm having a devil of a time getting it to work on my home network.
I've got a DEC UDB running RedHat 5.1 for Alpha. PPP is running just fine
on it, and it correctly can connect both to the outside world and to my
Windoze 98 box. However, I can't seem to get masquerading (or any
forwarding, for that matter) to work.
When I try
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
I get "ipfwadm: setsockopt failed: Invalid argument". Even with a simple
ipfwadm -F -a accept -S 192.168.1.0/24 -D 0.0.0.0/0
(which I know won't help, as 192.168.1 isn't a routed address, but it
seemed a good test to see if masquerading was the problem) gets the same
error.
I've checked that forwarding is allowed in the kernel, by
cat /proc/sys/net/ipv4/ip_forward
which returns 1.
I've built the kernel with firewalling, forwarding and masquerading turned
on. I'm sure the new kernel is the one being used, as uname -a gives:
Linux alpha.tofuhut.com 2.0.35 #7 Sat Oct 24 19:37:40 PDT 1998 alpha unknown
I'm sure I'm missing something dumb, and a second set of eyes will show
it. Any help is greatly appreciated. Even a success report on a
Multia/UDB would help.
TTFN
--
Mark Rafn [EMAIL PROTECTED] <http://www.halcyon.com/dagon/> !G
My parents went to a planet where they have no bilateral symmetry, and
all I got was this lousy F-shirt.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]