Hello all,

  im a newbie using masqueradin so plz dont angry with me...
  this is my situation:


  195.103.71.226/255.255.255.224     195.103.71.225/225.255.255.224
  [my provder linux]ppp0 -------------[my gateway]ppp0

  my gateway has an eth0 too with this ip address: 192.168.1.0/255
  that connect my lan to internet...

  i made this to establish the connection my modem:
  on the provider server:
  pppd /dev/ttyS5 57600 195.103.71.226:195.103.71.225 -detach connect '
    chat "" "ATA" "CONNECT"'

  and on my gateway:
  pppd /dev/ttyS2 57600 passive 195.103.71.225:195.103.71.226 defaultroute
    -detach connect 'chat "" "ATD" "CONNECT"'

  my kernel version on gateway is: 2.0.32

  after did this i typed:
  ipfwadm -F -f
  ipfwadm -F -p deny
  ipfwam -F -a masquerade -S 192.168.1.0/24 -D 0.0.0.0/0 -W eth0
  ipfwadm -a deny -S 0.0.0.0/0 -D 0.0.0.0/0 -o

  then i tried to list the masquerading rules typing this:
  ipfwadm -M -l

  but nothing appeared :((

  and from my pc on the lan i cant reach  the privder :((

  aaahhh i forgot, this is my routing table on the gateway:
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:11340 errors:0 dropped:0 overruns:0
          TX packets:11340 errors:0 dropped:0 overruns:0

eth0      Link encap:Ethernet  HWaddr 00:C0:F0:0A:72:FD
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:87030 errors:0 dropped:0 overruns:0
          TX packets:84824 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x280

ppp0      Link encap:Point-to-Point Protocol
          inet addr:195.103.71.225  P-t-P:195.103.71.226
Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0
          TX packets:19 errors:0 dropped:0 overruns:0


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
195.103.71.226  *               255.255.255.255 UH    0      0        0
ppp0
192.168.1.0     *               255.255.255.0   U     0      0      102
eth0
127.0.0.0       *               255.0.0.0       U     0      0       71 lo
default         195.103.71.226  0.0.0.0         UG    0      0        7
ppp0


  i hope this help us helping me :)

  TIA,

*---------------------------------------------------------*--------*
| Luca Domenella                 Email: [EMAIL PROTECTED] | even   |
| Network Manager               Office: +39 735 782021    | little |
| Satori Network Solutions snc     Fax: +39 735 787042    | get    |
| http://www.satorins.com       Mobile: +39 347 3220989   | Mads   |
*---------------------------------------------------------*--------*

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to