public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Where to put policy routing
@ 2007-01-21 13:52 Konstantinos Agouros
  2007-01-21 20:06 ` Boyd Stephen Smith Jr.
  2007-01-21 21:52 ` Graham Murray
  0 siblings, 2 replies; 4+ messages in thread
From: Konstantinos Agouros @ 2007-01-21 13:52 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user]  Where to put policy routing
  2007-01-21 13:52 [gentoo-user] Where to put policy routing Konstantinos Agouros
@ 2007-01-21 20:06 ` Boyd Stephen Smith Jr.
  2007-01-21 21:52 ` Graham Murray
  1 sibling, 0 replies; 4+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-01-21 20:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

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.             ,= ,-_-. =. 
bss03@volumehost.net              ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/              \_/     

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user]  Where to put policy routing
  2007-01-21 13:52 [gentoo-user] Where to put policy routing Konstantinos Agouros
  2007-01-21 20:06 ` Boyd Stephen Smith Jr.
@ 2007-01-21 21:52 ` Graham Murray
  2007-01-22 17:27   ` Konstantinos Agouros
  1 sibling, 1 reply; 4+ messages in thread
From: Graham Murray @ 2007-01-21 21:52 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Where to put policy routing
  2007-01-21 21:52 ` Graham Murray
@ 2007-01-22 17:27   ` Konstantinos Agouros
  0 siblings, 0 replies; 4+ messages in thread
From: Konstantinos Agouros @ 2007-01-22 17:27 UTC (permalink / raw
  To: gentoo-user

In <87tzykavyc.fsf@newton.gmurray.org.uk> graham@gmurray.org.uk (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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-22 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-21 13:52 [gentoo-user] Where to put policy routing Konstantinos Agouros
2007-01-21 20:06 ` Boyd Stephen Smith Jr.
2007-01-21 21:52 ` Graham Murray
2007-01-22 17:27   ` Konstantinos Agouros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox