Here's a script to simplify alternate "default" network routing

Yes, this is pretty techie stuff, but it's so handy that I wanted to
mention it here. Sometimes you need to route the network traffic of
*specific programs* differently than the default route of the system on
which they run. This isn't a real problem if that program is only
communicating with a fixed ip address or limited set of known network ip
addresses. But what if the program really needs its own "default" route
that is different than the system default route? There are various ways
to attack this problem, using various tools, but it can get quite
complicated. I recently found this script that simplifies the entire
process -- it's good work, and it functions as advertised. I thought it
might be useful to some of you someday. It depends on relatively recent
Linux tools to function, and performs like a champ under Ubuntu 16.04.

Run a command inside a customized networking environment (using cgroups):

https://gist.github.com/level323/54a921216f0baaa163127d960bfebbf0

--Lauren--
Lauren Weinstein ([email protected]): https://www.vortex.com/lauren 
Lauren's Blog: https://lauren.vortex.com
Google Issues Mailing List: https://vortex.com/google-issues
Founder: Network Neutrality Squad: https://www.nnsquad.org 
         PRIVACY Forum: https://www.vortex.com/privacy-info
Co-Founder: People For Internet Responsibility: https://www.pfir.org/pfir-info
Member: ACM Committee on Computers and Public Policy
Google+: https://google.com/+LaurenWeinstein
Twitter: https://twitter.com/laurenweinstein
Tel: +1 (818) 225-2800
--- Impeach Trump ---
_______________________________________________
nnsquad mailing list
https://lists.nnsquad.org/mailman/listinfo/nnsquad

Reply via email to