tincapp icon indicating copy to clipboard operation
tincapp copied to clipboard

Add support for Socks5 proxy

Open LivInTheLookingGlass opened this issue 6 years ago • 2 comments

It would be nice if we could also use this as a socks5 proxy. That way we could get the DNS and app filtering rules from NetGuard and still access our personal VPNs.

Essentially my ask is to have a pipeline like: app -VPN-> NetGuard -Socks5-> Tinc -> internet

Is this a feasible ask?

LivInTheLookingGlass avatar Apr 10 '19 01:04 LivInTheLookingGlass

Hello,

It would be quite hard to implement a SOCKS server in Tinc App directly as control over the VPN interface is delegated directly to the tinc daemon. The application's context directly accesses the internet to avoid looping VPN packets into the VPN itself. It is therefore not a good place to put a SOCKS server.

It might be preferable to start a SOCKS proxy server in another application and allow it to use the VPN using the AllowApplication directive in network.conf.

pacien avatar Apr 10 '19 11:04 pacien

Unfortunately NetGuard and co dont really have a mechanism for that. DNS66 has been looking at implementing a local DNS server for a year or so and never done it.

LivInTheLookingGlass avatar Apr 10 '19 14:04 LivInTheLookingGlass