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