Hi I was wondering if the was a method of choosing a default route based on the local user id or process name? Thanks Stephen
You are in luck. You can use iptables to mark pachets belonging to a user and then use iproute2 to route them accordingly. On Sat, 15 Dec 2001, Stephen wrote:> Hi > I was wondering if the was a method of choosing a default route based on > the local user id or process name? > > Thanks > Stephen > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/ >
On Sat, Dec 15, 2001 at 12:49:39PM +0200, s I n wrote:> > You are in luck. You can use iptables to mark pachets belonging to a user > and then use iproute2 to route them accordingly.do so by using policy routes (rules), and select the rule based on the fwmark. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet
however im using 2.2.x so I guess Im not in luck then? On Sat, 15 Dec 2001, s I n wrote:> Date: Sat, 15 Dec 2001 12:49:39 +0200 (EET) > From: s I n <sin@Aniela.EU.ORG> > To: Stephen <meridian@tha.net> > Cc: lartc@mailman.ds9a.nl > Subject: Re: [LARTC] Routing based on user id or process name > > > You are in luck. You can use iptables to mark pachets belonging to a user > and then use iproute2 to route them accordingly. > > > On Sat, 15 Dec 2001, Stephen wrote: > > > Hi > > I was wondering if the was a method of choosing a default route based on > > the local user id or process name? > > > > Thanks > > Stephen > > > > > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
On Sun, Dec 16, 2001 at 10:45:21PM +1100, Stephen wrote:> however im using 2.2.x so I guess Im not in luck then?You now have a prime opportunity to upgrade! Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet