Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5944

How to Route All System Network Traffic Through SSH Tunnel on Ubuntu [closed]

$
0
0

I have set up an Ubuntu VPS and connect to it via SSH. I'm currently forwarding a specific port (13511) from the VPS to my local Ubuntu laptop, mapping it to 127.0.0.1:3000. By doing this, accessing 127.0.0.1:3000 on my laptop uses the IP address of the VPS.

I configured Chrome to use 127.0.0.1:3000 as a proxy, and it works as expected. However, applications like Slack do not use the system proxy settings, which is why I'd like to extend this setup to tunnel all system traffic through 127.0.0.1:3000, effectively using it as a VPN.

I know this can be done on Windows using SSTap, but I'm unsure how to achieve this on Ubuntu. Does anyone have suggestions on how to tunnel all system network traffic through an SSH port forwarding setup on Ubuntu?

Only way i can access to vps in ssh , please do not suggest to implement openvpn on it

i,d tried sshuttle and not worked for memaybe my command was wrong


Viewing all articles
Browse latest Browse all 5944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>