Re: [gentoo-user] Where to put policy routing

2007-01-22 Thread Konstantinos Agouros
In [EMAIL PROTECTED] [EMAIL PROTECTED] (Graham Murray) writes:

Konstantinos Agouros elwood@agouros.de writes:

 I have a firewall setup where I do need policy routing since I have two
 default routers (one for mail and one for websurfing). I could put the ip 
 rules commands in local.start but I guess the right place would be 
 conf.d/net. So what's the 'official' way of doing this?

Look at the example postup() function in /etc/conf.d/net.example.
Thanks! This was what I was looking for!

Regards,

Konstantin
-- 
gentoo-user@gentoo.org mailing list

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Where to put policy routing

2007-01-21 Thread Konstantinos Agouros
Hello,

I have a firewall setup where I do need policy routing since I have two
default routers (one for mail and one for websurfing). I could put the ip 
rules commands in local.start but I guess the right place would be 
conf.d/net. So what's the 'official' way of doing this?

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where to put policy routing

2007-01-21 Thread Boyd Stephen Smith Jr.
On Sunday 21 January 2007 07:52, Konstantinos Agouros elwood@agouros.de 
wrote about '[gentoo-user]  Where to put policy routing':
 I have a firewall setup where I do need policy routing since I have two
 default routers (one for mail and one for websurfing). I could put the
 ip rules commands in local.start but I guess the right place would be
 conf.d/net. So what's the 'official' way of doing this?

I hope someone will correct me, but from what I could tell by reading 
the /etc/init.d/net.lo (and referenced files) there's no support for 
multiple routing tables in there.

So, I do my source-based routing in local.start, and you'll probably have 
to keep doing your policy routing there as well.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpbogxKlS5ju.pgp
Description: PGP signature


Re: [gentoo-user] Where to put policy routing

2007-01-21 Thread Graham Murray
Konstantinos Agouros elwood@agouros.de writes:

 I have a firewall setup where I do need policy routing since I have two
 default routers (one for mail and one for websurfing). I could put the ip 
 rules commands in local.start but I guess the right place would be 
 conf.d/net. So what's the 'official' way of doing this?

Look at the example postup() function in /etc/conf.d/net.example.
-- 
gentoo-user@gentoo.org mailing list