LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Routing.

[ILUG] Routing.

Mark Kilmartin mrk at renre-europe.com
Wed Jan 16 15:45:42 GMT 2002


Packets which are not replies to an already existing incoming connection
would be treated by a default NAT rule to look like they came from the
IP address of the firewall and would be routed over the default route.

MArk 

On Wed, 2002-01-16 at 15:37, Nick Murtagh wrote:
> On Wednesday 16 January 2002 15:28, Mark Kilmartin wrote:
> > I believe what is needed is something like below.
> >
> > NOTE this is totally untested.
> >
> > On the firewall issue something like the following.
> >
> > echo 200 Xinterface >> /etc/iproute2/rt_tables
> > ip rule add from 'X' table Xinterface
> >
> > ip route add default via <The next router on interface X> dev <the
> > physical interface> table Xinterface
> >
> > ip route flush cache
> 
> Are you referring to packets going out to the internet? In that case,
> how would a packet going out from your LAN have a source address (`from'
> address) of X?
> 
> -- 
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell