dam*_*ndi 6 linux ssh archlinux
上次操作系统升级后,无法通过sshuttle连接到服务器。它正常工作一年,但升级后出现此错误:
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
Run Code Online (Sandbox Code Playgroud)
我已经在谷歌搜索,但大部分是关于ClientAliveInterval,ClientAliveCountMax,ServerAliveInterval.reinstall sshuttle和复位配置不帮助。通过相同的配置在ubuntu 17.10上工作。
小智 10
解决方案已发布在https://github.com/sshuttle/sshuttle/issues/150
显然,一个现在需要添加-x <host>的命令(其中<host>是server你的情况)。为我工作。
我也遇到了类似的问题,尽管我没有遇到致命错误。Sshuttle 连接后立即冻结,客户端或服务器上没有任何错误消息。原来我手机的热点 VPN 设置阻止了 sshuttle。不是实际的 VPN,而是“killswitch”设置。
我以前从未遇到过问题,但我的 VPN 应用程序始终在更新并添加新功能。
关闭“自动终止开关”(又名“阻止没有 VPN 的连接”)解决了这个问题。现在我的所有其他软件都运行得更好了。
希望对某人有帮助。
(要么 sshuttle 解决了我的其他问题,要么 Killswitch 也影响了其他软件功能,也许后者是更可能的解释。很高兴我首先尝试修复 sshuttle。)
| 归档时间: |
|
| 查看次数: |
2082 次 |
| 最近记录: |