Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ruben I Safir <ruben@mrbrklyn.com>
To: netfilter@lists.samba.org
Subject: Simple Packet Forwarding
Date: Tue, 25 Jun 2002 11:06:30 -0400	[thread overview]
Message-ID: <afa1ph$5hd$2@main.gmane.org> (raw)

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





             reply	other threads:[~2002-06-25 15:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-25 15:06 Ruben I Safir [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-25 15:06 Simple Packet Forwarding 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='afa1ph$5hd$2@main.gmane.org' \
    --to=ruben@mrbrklyn.com \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox