pahaz / sshtunnel

SSH tunnels to remote server.
MIT License
1.23k stars 184 forks source link

how to tunnel all my network traffic to vpn server #253

Open ErezAmosi opened 2 years ago

ErezAmosi commented 2 years ago

Hi, I'm trying to write a VPN model with client and server and I came across the problem of tunneling all the packets which are meant to go to the internet to my server. In the beginning, I tried to use TUN/TAP device but I didn't succeed to configure my routing table properly, so now I'm trying to use SSH tunneling. I would very much appreciate any help on how to do this with sshtunnel library if it's impossible at all. I know my English is not very good but I hope you understood my intention. Thank you in advance

P.S - My operating system is Windows 10