问题描述
在AWS中两个EC2实例之间通过简单的SSH隧道设置袜子代理时,我看到卷曲问题。
box1 $ ssh -v -D 12345 ubuntu@box2 -N
[...]
现在,当我尝试卷曲袜子代理时,袜子代理似乎在端口12345上正常运行:
box1 $ curl -x socks5h://localhost:12345 www.google.com
curl: (7) Failed to receive SOCKS5 connect request ack.
返回ssh -D窗口,当我运行curl命令时出现此错误:
debug1: Connection to port 12345 forwarding to socks port 0 requested.
debug1: channel 1: new [dynamic-tcpip]
channel 1: open failed: administratively prohibited: open failed
debug1: channel 1: free: direct-tcpip: listening port 12345 for www.google.com port 80,connect from 127.0.0.1 port 36240 to 127.0.0.1 port 12345,nchannels 2
任何人都可以对这里发生的事情有所了解吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)