Routing based on user id or process name
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
You are in luck. You can use iptables to mark pachets belonging to a user and then use iproute2 to route them accordingly.
Quoted 4 lines · Stephen
Hi
I was wondering if the was a method of choosing a default route based on the local user id or process name?
Quoted 8 lines
Thanks
Stephen_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 3 lines · s I n
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
Signature · 8 lines
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 _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
however im using 2.2.x so I guess Im not in luck then?
Quoted 7 lines · s I n
Date: Sat, 15 Dec 2001 12:49:39 +0200 (EET)
From: s I n <[email protected]>
To: Stephen <[email protected]>
Cc: [email protected]
Subject: Re: [LARTC] Routing based on user id or process name
Quoted 17 lines
You are in luck. You can use iptables to mark pachets belonging to a user and then use iproute2 to route them accordingly.
Quoted 11 lines · Stephen
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 1 line · Stephen
however im using 2.2.x so I guess Im not in luck then?
You now have a prime opportunity to upgrade!
Regards,
bert
Signature · 8 lines
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 _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/