I'm using vpn but i want to have one user that could access network not through vpn but using my real ip address.
The problem is that all solutions i found by quick google'ing, for example this http://blog.sebastien.raveau.name/2009/04/per-process-routing.html require to have some manually configured route, mark traffic using iptables and then route it.
But how to make per process/user routing when i'm on wifi? I'cant have some preconfigured route because i may go somewhere and connect to another wifi network with different gateway. I really don't want to mess with terminal every time I connect to another network using gui. Writing a script that would parse route added by networkmanager and reconfigure routes also doesn't seems like right way to do it.
So what is the best way to have one user going trough specified interface (wlan0) independently of interface's route gateway settings, and all other users going to other interface( vpn's tun)?