after last OS upgrade can't connect to server by sshuttle. it work normally for year but after upgrade get this error :
sshuttle --dns -r root@server 0.0.0.0/0 -vv
packet_write_wait: Connection to server port 22: Broken pipe
c : Waiting: 3 r=[5, 7, 9] w=[] x=[] (fullness=14/0)
c : Ready: 3 r=[9] w=[] x=[]
firewall manager: undoing IPv4 changes.
>> iptables -t nat -D OUTPUT -j sshuttle-12300
>> iptables -t nat -D PREROUTING -j sshuttle-12300
>> iptables -t nat -F sshuttle-12300
>> iptables -t nat -X sshuttle-12300
firewall manager: undoing /etc/hosts changes.
c : fatal: server died with error code 255
I had already search on google but most of it is about ClientAliveInterval
, ClientAliveCountMax
, ServerAliveInterval
.reinstall sshuttle and reset config not help. work on ubuntu 17.10 by same config.
A solution was posted on https://github.com/sshuttle/sshuttle/issues/150
Apparently one now needs to add -x <host>
to the command (where <host>
is server
in your case). Worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With