TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: vpnns – Per-app VPN using Linux namespaces

40 pointsby kpcover 8 years ago

3 comments

captainmuonover 8 years ago
This is something which I can&#x27;t belive wasn&#x27;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.<p>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 &quot;ISP&quot; 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!)<p>Long disgression, but I really wish you could right click on the title bar of any app, and say &quot;route this through VPN &#x2F; TOR &#x2F; over cable&quot;. I never got around to implement a prototype unfortunately.
评论 #12851845 未加载
gravypodover 8 years ago
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.
评论 #12855962 未加载
spangryover 8 years ago
This is great, I&#x27;m really looking forward to playing along with this when time permits. I&#x27;ve been using Alpine docker containers + openvpn + squid, but it&#x27;s not the most stable solution. Plus openvpn is a complex PITA to use (at least for me).