Linux Netfilter discussions
 help / color / mirror / Atom feed
* Simple Packet Forwarding
@ 2002-06-25 15:06 Ruben I Safir
  0 siblings, 0 replies; 6+ messages in thread
From: Ruben I Safir @ 2002-06-25 15:06 UTC (permalink / raw)
  To: netfilter

Hello

I've been banging my head on documentation trying to get simple packet forwarding to function.

I could use some help.

I have a simple network with a gateway to DSL running on the ipaddess

Internet <-->216.254.112.136(eth1 gatway machine eth0)<-->216.254.112.135 <-->INTERNAL NETWORK

The Internal Netowrk has 216.254.112.137 and 216.254.112.138 plus the a 10.0.0.0 subnet

The routing looks like this

216.254.112.1   0.0.0.0         255.255.255.255 UH    0      0        0 eth1
216.254.112.135 0.0.0.0         255.255.255.255 UH    0      0        0 eth0
216.254.112.136 0.0.0.0         255.255.255.255 UH    0      0        0 eth1
216.254.112.137 0.0.0.0         255.255.255.255 UH    0      0        0 eth0
216.254.112.138 0.0.0.0         255.255.255.255 UH    0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0


I need to do simple packet forwarding without a Masquarade to test VPN on a lap top


I can't seem to get it to work without MASQUARADE.

My list looks like this

Chain INPUT (policy ACCEPT 1689 packets, 796K bytes)
 pkts bytes target     prot opt in     out     source               destination         
   81  9031 ACCEPT     all  --  eth0   any     anywhere             anywhere           
 2085  350K ACCEPT     all  --  eth1   any     anywhere             anywhere           

Chain FORWARD (policy ACCEPT 151 packets, 12660 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 1307  110K ACCEPT     all  --  any    any     anywhere             anywhere           
    0     0 ACCEPT     all  --  any    any     anywhere             anywhere           

Chain OUTPUT (policy ACCEPT 1687 packets, 792K bytes)
 pkts bytes target     prot opt in     out     source               destination         
  132 11168 ACCEPT     all  --  any    eth0    anywhere             anywhere           
 2617 1574K ACCEPT     all  --  any    eth1    anywhere             anywhere           







__________________________

Brooklyn Linux Solutions
__________________________
http://www.mrbrklyn.com - Consulting
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my surprise when I saw you...
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....

1-718-382-5752





^ permalink raw reply	[flat|nested] 6+ messages in thread
* Simple Packet Forwarding
@ 2002-06-25 15:06 Ruben I Safir
  2002-06-25 15:14 ` Antony Stone
  0 siblings, 1 reply; 6+ messages in thread
From: Ruben I Safir @ 2002-06-25 15:06 UTC (permalink / raw)
  To: netfilter

Hello

I've been banging my head on documentation trying to get simple packet forwarding to function.

I could use some help.

I have a simple network with a gateway to DSL running on the ipaddess

Internet <-->216.254.112.136(eth1 gatway machine eth0)<-->216.254.112.135 <-->INTERNAL NETWORK

The Internal Netowrk has 216.254.112.137 and 216.254.112.138 plus the a 10.0.0.0 subnet

The routing looks like this

216.254.112.1   0.0.0.0         255.255.255.255 UH    0      0        0 eth1
216.254.112.135 0.0.0.0         255.255.255.255 UH    0      0        0 eth0
216.254.112.136 0.0.0.0         255.255.255.255 UH    0      0        0 eth1
216.254.112.137 0.0.0.0         255.255.255.255 UH    0      0        0 eth0
216.254.112.138 0.0.0.0         255.255.255.255 UH    0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0


I need to do simple packet forwarding without a Masquarade to test VPN on a lap top


I can't seem to get it to work without MASQUARADE.

My list looks like this

Chain INPUT (policy ACCEPT 1689 packets, 796K bytes)
 pkts bytes target     prot opt in     out     source               destination         
   81  9031 ACCEPT     all  --  eth0   any     anywhere             anywhere           
 2085  350K ACCEPT     all  --  eth1   any     anywhere             anywhere           

Chain FORWARD (policy ACCEPT 151 packets, 12660 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 1307  110K ACCEPT     all  --  any    any     anywhere             anywhere           
    0     0 ACCEPT     all  --  any    any     anywhere             anywhere           

Chain OUTPUT (policy ACCEPT 1687 packets, 792K bytes)
 pkts bytes target     prot opt in     out     source               destination         
  132 11168 ACCEPT     all  --  any    eth0    anywhere             anywhere           
 2617 1574K ACCEPT     all  --  any    eth1    anywhere             anywhere           







__________________________

Brooklyn Linux Solutions
__________________________
http://www.mrbrklyn.com - Consulting
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my surprise when I saw you...
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....

1-718-382-5752





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-25 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-25 15:06 Simple Packet Forwarding Ruben I Safir
  -- strict thread matches above, loose matches on Subject: below --
2002-06-25 15:06 Ruben I Safir
2002-06-25 15:14 ` Antony Stone
2002-06-25 15:19   ` Ruben I Safir
2002-06-25 15:26     ` Antony Stone
2002-06-25 15:47       ` Ruben I Safir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox