TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

40 点作者 kpc超过 8 年前

3 条评论

captainmuon超过 8 年前
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 未加载
gravypod超过 8 年前
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 未加载
spangry超过 8 年前
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).