On Mon, 8 Nov 2021 22:35:39 +0000 Chris Green cl@isbd.net allegedly wrote:
I've been trying to use sshuttle but I simply can't get anywhere.
I have it installed and can run it but it just outputs loads of waffle and leaves me with no command prompt so I can't see how I can possibly do anything.
I'm probably doing something stupid or not doing something vital but I can't find any tutorials that actually say 'type this' and then you will have a working sshuttle VPN.
So, does anyone here use it, or has anyone here played with it?
I have just installed it and run it with no problem whatsoever.
In one terminal I ran :
mick@shed ~ $ sshuttle -r sink 0.0.0.0/0 -v Starting sshuttle proxy. [local sudo] Password: firewall manager: Starting firewall with Python version 3.8.10 firewall manager: ready method name nat. IPv6 enabled: False UDP enabled: False DNS enabled: False User enabled: False TCP redirector listening on ('127.0.0.1', 12300). Starting client with Python version 3.8.10 c : connecting to server... Starting server with Python version 3.5.3 s: latency control setting = True s: auto-nets:False c : Connected. firewall manager: setting up.
iptables -t nat -N sshuttle-12300 iptables -t nat -F sshuttle-12300 iptables -t nat -I OUTPUT 1 -j sshuttle-12300 iptables -t nat -I PREROUTING 1 -j sshuttle-12300 iptables -t nat -A sshuttle-12300 -j RETURN --dest 127.0.0.1/32 -p tcp iptables -t nat -A sshuttle-12300 -j REDIRECT --dest 0.0.0.0/0 -p tcp --to-ports 12300 -m ttl ! --ttl 42
(where "sink" is one of my remote VPS machines)
And in another I then ran:
curl https://ipinfo.io/ip
and received back the IP address of sink - so it is working fine
--------------------------------------------------------------------- Mick Morgan gpg fingerprint: FC23 3338 F664 5E66 876B 72C0 0A1F E60B 5BAD D312 https://baldric.net/about-trivia ---------------------------------------------------------------------