IP Masquerade doesn't work ! Need expert Help ?

IP Masquerade doesn't work ! Need expert Help ?

Post by Paul Mille » Sat, 01 Aug 1998 04:00:00




>  In Linux box I have not problem connect to ISP with using PPP.
>  the kernel options which request by IP Masq was selected as below :

>  {Prompt for development and/or incomplete code/drivers}
>  {Enable loadable module support}
>  {Networking support}
>  {Network firewalls}
>  {TCP/IP networking}
>  {IP: forwarding/gatewaying}
>  {IP: firewalling}
>  {IP: masquerading}
>  {IP: always defragment}
>  {Dummy net driver support}

Look good.

Quote:>  I was recompile the kernel by issue make dep;make clean and after that make
>  modules;make modules_install. I added the few lines at the end of rc.local
>  which show as below :

Did you compile the kernel, make install?

Quote:>  /sbin/ipfwadm -F -p deny
>  /sbin/ipfwadm -F -a m -S 192.100.100.0/24 -D 0.0.0.0/0

Looks good again.

Check that 'cat /proc/sys/net/ipv4/ip_forward' displays a 1. If it does
not
'echo 1 > /proc/sys/net/ipv4/ip_forward'.

Hope this helps
--
Paul Miller

 
 
 

IP Masquerade doesn't work ! Need expert Help ?

Post by Raul Barral Tamay » Sat, 01 Aug 1998 04:00:00


  I'm not pretty sure but ....


>  /sbin/ipfwadm -F -p deny
>  /sbin/ipfwadm -F -a m -S 192.100.100.0/24 -D 0.0.0.0/0

> *** Problem :

>  I cann't ping, browse ( Using Netscape ), ftp ...to internet even the
>  connection of Linux box already established  with ISP.

  I think your must add -W option, you are masqueradin but you dont say
 the path to route packages out.

  By the way, with some kernel . .. 2.0.29 i think and olders, ICMP
 traffic is not being masqueraded, although you can navegate and do
 normal stuff.

  I'm not expert yet :), i hope this doesnt disturb you ;)

 HTH,
 Ra ul.

 
 
 

IP Masquerade doesn't work ! Need expert Help ?

Post by Paul Mille » Sat, 01 Aug 1998 04:00:00



>   I'm not pretty sure but ....


> >  /sbin/ipfwadm -F -p deny
> >  /sbin/ipfwadm -F -a m -S 192.100.100.0/24 -D 0.0.0.0/0

> > *** Problem :

> >  I cann't ping, browse ( Using Netscape ), ftp ...to internet even the
> >  connection of Linux box already established  with ISP.

>   I think your must add -W option, you are masqueradin but you dont say
>  the path to route packages out.

I have my IP forwarding setup just as above, it works no prob.
Basically, IP forwarding uses the forwarding rules for packets going
both directions..in on one interfase, out the other and vice verse.

--
Paul Miller

 
 
 

IP Masquerade doesn't work ! Need expert Help ?

Post by rvdno.. » Tue, 04 Aug 1998 04:00:00





>>  I was setup a Linux box act as gateway which using IP Masq as show below

>>  Win95 Workstation    --->    Linux Box {IP Masq} -- [modem] ---->   Internet
>>  192.100.100.1 ~ 253          192.100.100.254       Dynamic IP

>>  I am using RedHat v5.0.
>>  I was using dialup to ISP to get the dynamic IP.

>>  In Win95 workstation station I was configure the proper IP, Subnet, gateway
>>  addr and DNS. I can connect to the Linux box with no problem.

>>  In Linux box I have not problem connect to ISP with using PPP.
>>  the kernel options which request by IP Masq was selected as below :

Did you enable IPV4-forwarding in /etc/sysconfig/network?

This was an error I made before it worked. It seems that for
forwarding rules are OK. Mail me if you have any troubles getting it
to work.

cya
Remco

 
 
 

1. ping -g 'gateway-IP' 'host-IP' DOESN'T work!

Hello guys,

I have a machine with two interfaces, each connected to
a gateway. This two gateways are then connected to a common
network and I want to ping another router in that network over
the two interfaces.

Looks like this:
                        Gateway 1
                           ----
               ------------|  |------------
              | Subnet A   ----            |
            ----
Machine    |  |                Subnet C   Router
            ----
              | Subnet B   ----            |
               ------------|  |------------
                           ----
                        Gateway 2

Now if I type following on my machine it doesn't work:

ping -g 'IP in Subnet A of Gateway 1' 'Router-IP-address'

But if I do a ping (Defaultgateway is 'IP in Subnet A of Gateway 1'
(without -g) it works fine:

ping 'Router-IP-address'

Can someone give me a hint? Thanks in advance!

Cheers, Walter

2. mrouted trouble (setsockopt MRT_ADD_MFC: Invalid argument)

3. IP Masquerading doesn't work!

4. Increase swap size

5. IP masquerade doesn't work

6. socket stops, bytes stuck in send-Q

7. Why Doesn't IP Masquerading work

8. RH5.2 and D-link

9. PPTP masquerading doesn't work, please help

10. Re. bffcreate -X doesn't work Re: bffcreate -X Doesn't Work

11. Help please, setting name for IP in hosts doesn't work

12. Please help...Why doesn't ip-up.local work ????