IP-Masquerading Problems with Slackware 4.0

IP-Masquerading Problems with Slackware 4.0

Post by Brian Lavend » Sun, 18 Apr 1999 04:00:00



Has anyone gotten IP-Masquerading working by editing the
/etc/rc.d/rc.modules
file to enable support for masquerading?

I uncommented the lines for IP masquerading in my gateway machine, but
I have not had any luck. I have a private IP network which uses the
192.168.1.0 class C network. My gateway machine has an IP of
192.168.1.100. I also have a routable static IP on my gateway machine
207.212.133.10. I have two nic cards. I tested by pinging the the nic
cards and it appears they have been properly assigned. Here are the
lines in the file:

   ipfwadm -F -p deny
   ipfwadm -F -a m -b -S 192.168.1.0/24 -D 0.0.0.0/0

Slackware 4.0 has a wrapper so ipfwadm works, but I have had no luck.
If you know what the ipchain command is, I would be interested in that
too.

brian
--------------------
Brian Lavender
Sacramento, CA
http://www.brie.com/brian/

"If a train station is where the train stops,
what is a workstation?" -- Phil Adamson

 
 
 

IP-Masquerading Problems with Slackware 4.0

Post by Timothy J F Gildersleev » Sun, 18 Apr 1999 04:00:00


Hi Brian

Im not sure what kernel the v4 of slackware is using but the newer kernels
2.2.x among them and some 2.1.x no longer support the use of ipfwadm to
configure firewall and masq etc.  The new tool that is needed is the
ipchains that you have mentioned.

I had this same problem.  I have been using ipmasq for around 18months and
have found it great.  When I upgraded from 2.0.36 to 2.2.0 a while ago I
suddenly found that IPmasq was not working.  After some time, I eventually
read the kernel help for the option and it said that ipchains was now
needed.

I looked for the latest ipmasq mini howto and this explained exactly what
you need to do forthe newer kernels and it has worked fine since.  There are
many places to find the minihowtos but one place to start is www.ssc.com,
they will be able to point you in the right direction.

The only one thing I have found is that the IPMASQ modules for FTP etc dont
load.  I have tried recompiling the kernel and modules several times but I
always get unresolved symbols.  This has happened from 2.2.0 until 2.2.5
that I am now using.

I can get things from ftp using my browser, but can do not more.  If anyone
has any clue on this one I would be grateful if you could email me as well
as posting to the group

Cheers

Tim Gildersleeve

Oak Tree Computer Services
http://otcs.hypermart.net


>Has anyone gotten IP-Masquerading working by editing the
>/etc/rc.d/rc.modules
>file to enable support for masquerading?

>I uncommented the lines for IP masquerading in my gateway machine, but
>I have not had any luck. I have a private IP network which uses the
>192.168.1.0 class C network. My gateway machine has an IP of
>192.168.1.100. I also have a routable static IP on my gateway machine
>207.212.133.10. I have two nic cards. I tested by pinging the the nic
>cards and it appears they have been properly assigned. Here are the
>lines in the file:

>   ipfwadm -F -p deny
>   ipfwadm -F -a m -b -S 192.168.1.0/24 -D 0.0.0.0/0

>Slackware 4.0 has a wrapper so ipfwadm works, but I have had no luck.
>If you know what the ipchain command is, I would be interested in that
>too.

>brian
>--------------------
>Brian Lavender
>Sacramento, CA
>http://www.brie.com/brian/

>"If a train station is where the train stops,
>what is a workstation?" -- Phil Adamson


 
 
 

1. WinNT 4.0 and NAT/IP-Masquerading

Hi all,
is there a way to do IP-Masquerading/NAT on an WinNT 4.0 Server like on
Linux with ipchains? The Problem is that we have at school one NT 4.0 Server
with a dual ISDN line that should act as router to the www. But there is an
Linuxserver with sendmail behind it that has to connect the www too, to get
and send mails.
I have found several progs like avirt gateway, jana... but they only act as
proxy and not as NAT-Server.

thanks in advance for your help
jenny

2. How to tell which linux I'm in

3. IP for masqueraded net other than masquerading host IP

4. M$ goes UNIX...

5. Two questions: One regarding kernel messages with IP Masquerade and one on Redhat 4.0 startup

6. Adding SCSI driver module

7. Networking Windows NT Workstation 4.0 SP4 with Solaris 7 (x86) box - IP Masquerading?

8. Help! kde dumps core after hardware upgrade

9. ftp through IP Masquerading with a winnt 4.0 as client

10. Redhat 4.0 net config with IP firewall, masquerading

11. ip-masquerading problem

12. Windows Problem connecting via IP-Masquerading

13. problems with ip-masquerading