[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


I need a very specific type of networking program that would allow me to create dedicated tunnel connections for isolated programs running on a system.
So Program A's networking would be wrapped by a SOCKS tunnel A, Program B's networking would be wrapped by a SOCKS tunnel B and so on.
Is this even technically possible on Windows / Linux?
>>
>>1557059
On Linux you can definitely get this through network namespaces (man 8 ip-netns). For example, you'd create namespace A for program A, configure it so that it accesses the main network namespace via a tunnel, and then run program A inside of namespace A.
For Windows specifically, I dunno. You could probably do all this with Docker or another container solution too if you wanted.
>>
>>1557077
It is worth noting that there exists a driver for windows made specifically for intercepting and re-injecting network packets in the kernel.
https://github.com/basil00/WinDivert
Perhaps it's possible to levarage its functionality to somehow re-route all packets for a program, however whether or not you can successfully implement a process-based filter is something I can't tell.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.