RE: [LARTC] How to

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux