All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Greg Scott" <GregScott@InfraSupportEtc.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] How to
Date: Sat, 01 Jun 2002 17:37:14 +0000	[thread overview]
Message-ID: <marc-lartc-102295193011996@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102290865422954@msgid-missing>

Take a look here:

http://netfilter.samba.org/documentation/

for pointers to lots and lots of detailed explanations.  The
answers you want are in there - but you'll need to do some studying.

> I don't see any FORWARD rule here. You know, like between the
> interfaces. And what's '-t mangle' got to do with anything?

That's right.  You don't need any for your application.  Remember 
that netfilter rules are generally for **filtering** packets, not 
for forwarding packets.

Take a look at the line towards the bottom of the script I sent 
that turns on IP forwarding.  That line turns your Linux system 
into a router.  It tells the kernel to forward packets from one 
ethernet interface to the other and out to the network on the other 
end.

The -t mangle stuff is just being thorough.  Netfilter has several
tables and the mangle table is one of them.  It's good practice to 
flush and zero all tables when you set these scripts up.  Take it 
out if you want.

- Greg




-----Original Message-----
From: Tony Earnshaw [mailto:tonni@billy.demon.nl]
Sent: Saturday, June 01, 2002 10:05 AM
To: Greg Scott
Cc: Stef Coene; Neil Aggarwal; Linux Advanced Routing & Traffic Control
List
Subject: RE: [LARTC] How to


lør, 2002-06-01 kl. 16:55 skrev Greg Scott:

> I know the other list is for netfilter stuff but heck, if I can help
> I'll give it a try...

Sigh.

I don't see any FORWARD rule here. You know, like between the
interfaces. And what's '-t mangle' got to do with anything?

*Let the fellow go to a list that will look after him properly*

Best,

Tony

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-06-01 17:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01  5:17 [LARTC] How to Neil Aggarwal
2002-06-01  6:51 ` Tony Earnshaw
2002-06-01  7:37 ` Stef Coene
2002-06-01 10:47 ` Tony Earnshaw
2002-06-01 14:55 ` Greg Scott
2002-06-01 15:04 ` Tony Earnshaw
2002-06-01 17:37 ` Greg Scott [this message]

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=marc-lartc-102295193011996@msgid-missing \
    --to=gregscott@infrasupportetc.com \
    --cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.