My requirement is ... Route "all" the traffic from locally connected machine A to pass through machine B, as if the traffic originally got generated from machine B.
Machine B has access to some remote resources via a private VPN connection e.g. database servers, hosted repositories etc.
Only one person can use the remote resources at a time makes it frustrating if 2 or 3 guys need to access the remote resources.
Bottom line... i need a way so all my users could somehow route their network traffic through that machine B, so all can work at the same time with the remote resources that are only available when the private VPN is connected on machine B.
I have tried ssh tunneling with no significant results as every application needs to be configured to use socks to route the traffic from that application to the proxy server. i need something global!
I have managed to make it work by 1- creating a sshd server on machine B and did ssh from machine A in to B. 2- set the socks5 proxy on machine A.
but machine A is only routing successfully if machine A is on ubuntu, whereas when using machine A with windows 10, doesn't route the traffic to the machine B.
Even on ubuntu it seems that only traffic for port 80 is being forwarded... Nothing else is working..