HELP for Masquerade

HELP for Masquerade

Post by Wai Lap, L » Fri, 08 Aug 1997 04:00:00



Hi I have a two computer network with 2 ne2000 card that share a modem
with Masquerade. After I reinstalled the linux for the computer that
with the modem. The other one that without the modem just cannot receive
data anymore. However it can only telnet to the outside the world or
transfer data between each other but once I use the ftp or the netscape
to receive data it just stop there. Have anyone have any idea what is
going on??? Both computer using redhat 4.2. THanks a lot.

 
 
 

HELP for Masquerade

Post by Core » Fri, 08 Aug 1997 04:00:00



> Hi I have a two computer network with 2 ne2000 card that share a modem
> with Masquerade. After I reinstalled the linux for the computer that
> with the modem. The other one that without the modem just cannot receive
> data anymore. However it can only telnet to the outside the world or
> transfer data between each other but once I use the ftp or the netscape
> to receive data it just stop there. Have anyone have any idea what is
> going on??? Both computer using redhat 4.2. THanks a lot.

  Well, you havent given much info to work with , but Im guessing you dont
have IP masquerading and/or routing set up properly. Check out
http://www/wwonlline.com/~achau/ipmasq   , its a good place.

Good luck,

Corey


 
 
 

HELP for Masquerade

Post by Peter Wrig » Sat, 09 Aug 1997 04:00:00




>> Hi I have a two computer network with 2 ne2000 card that share a modem
>> with Masquerade. After I reinstalled the linux for the computer that
>> with the modem. The other one that without the modem just cannot receive
>> data anymore. However it can only telnet to the outside the world or
>> transfer data between each other but once I use the ftp or the netscape
>> to receive data it just stop there. Have anyone have any idea what is
>> going on??? Both computer using redhat 4.2. THanks a lot.

What you have to is load the ip_masq_ftp.o module.  Read
/usr/src/linux/Documentation/networking/masquerading.  I think that's the
correct one.  But to load the module:

insmod /lib/modules/2.0.30/misc/ip_masq_ftp.o

Quote:

>  Well, you havent given much info to work with , but Im guessing you dont
>have IP masquerading and/or routing set up properly. Check out
>http://www/wwonlline.com/~achau/ipmasq   , its a good place.

I couldn't access that web site.  Tried www.wwonlline.com, and
www.online.com, and www.onlline.com  none of them had the page.

Anyways I'm having a few other problems right now.  I want to set up a
server behind my masquerading firewall.  And I thought that transparent
proxy support was the way to go.  Unfortuantely I can get it work.  How
would I set up something that would forward port 9002 through the
firewall?  I've tried all the below after flushing the table to make sure
none of them were screwed up.

ipfwadm -I -a accept -P tcp -r 9002 -D 192.168.1.2 9002
ipfwadm -I -a accept -P tcp -r 9002 -D 192.168.1.2
ipfwadm -I -a accept -P tcp -r -D 192.168.1.2
ipfwadm -I -a accept -P tcp -r -D 192.168.1.2 9002
ipfwadm -I -a accept -P tcp -r 9002 -S 0.0.0.0 9002 -D 192.168.1.2 9002
ipfwadm -I -a accept -P tcp -r 9002 -S 0.0.0.0 -D 192.168.1.2 9002
ipfwadm -I -a accept -P tcp -r -S 0.0.0.0 9002 -D 192.168.1.2 9002
ipfwadm -I -a accept -P tcp -r -S 0.0.0.0 -D 192.168.1.2 9002

I've been looking for the documentation on it, and can't find anything.
Any idea on how to get this working.