LWN.net Logo

LCE: Challenges for Linux networking

LCE: Challenges for Linux networking

Posted Nov 8, 2012 9:47 UTC (Thu) by smurf (subscriber, #17840)
In reply to: LCE: Challenges for Linux networking by dlang
Parent article: LCE: Challenges for Linux networking

It's even easier than that.

You simply create real-input-company and real-input-internetcafe and ... rules, then redirect everything from INPUT to real-input-whatever.

Switching between rulesets is an atomic "delete old redirect, insert new"; do this for all built-in rules, commit". Not exactly rocket science.

The interesting bit is, of course, per-application routing ("no, online games may not use the company WLAN") or even per-connection routing (i.e. "keep the existing connections on the old default route, but run everything else on the new route"). We can't do that. Yet. (Owner rules might work on Android, but not on a desktop where everything runs as the same user.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds