News for hackers. Stuff that matters.
Re:Show HN: vpnns – Per-app VPN using Linux namespaces by captainmuon on Tuesday November 01, 2016 @06:14PM (#12850576)
This is something which I can't belive wasn't already supported. It seems so obvious. Most of the time, when I use a VPN, I only want certain applications to use it, and others not.

Or, the same for Tor. I ended up using Transparent Proxy and creating a separate linux user for Tor browsing, mostly because iptables stopped being able to filter by PID. Also, it provides a bit more encapsulation. (Note, in my use case I was not too much concerned about being RE-identifyable, rather that my "ISP" and anyone nefarious on my WiFi should not see my traffic, and that I appear anonymous to websites. Most users should use something like TorBrowser to minimize their uniqueness!)

Long disgression, but I really wish you could right click on the title bar of any app, and say "route this through VPN / TOR / over cable". I never got around to implement a prototype unfortunately.

Re:Show HN: vpnns – Per-app VPN using Linux namespaces by drdaeman on Tuesday November 01, 2016 @10:27PM (#12851845)
Yes, but the implementations I saw either used LD_PRELOAD of iptables -m owner. Using cgroups looks like a much nicer way.
Re:Show HN: vpnns – Per-app VPN using Linux namespaces by gravypod on Tuesday November 01, 2016 @06:27PM (#12850665)
Seems obvious after you see it, mark of a truly genius idea. Great work. I cant wait until this is mainlined into Ubuntu or something.
Re:Show HN: vpnns – Per-app VPN using Linux namespaces by kpc on Wednesday November 02, 2016 @11:43AM (#12855962)
Once I push a new ocproxy release, vpnns will percolate into the Debian package: https://packages.debian.org/sid/ocproxy
Re:Show HN: vpnns – Per-app VPN using Linux namespaces by spangry on Tuesday November 01, 2016 @10:12PM (#12851776)
This is great, I'm really looking forward to playing along with this when time permits. I've been using Alpine docker containers + openvpn + squid, but it's not the most stable solution. Plus openvpn is a complex PITA to use (at least for me).