-
我用的是 win 版的 Docker ,在 wsl2 中运行指令: docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -p 127.0.0.1:8888:8888 -e EC_VER=7.6.7 -e CLI_OPTS="-d vpnaddress -u username -p password" hagb/docker-easyconnect:cli 出现下面的信息: iptables v1.8.2 (nf_tables): Chain 'MASQUERADE' does not exist
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.2 (nf_tables): RULE_INSERT failed (No such file or directory): rule in chain INPUT
iptables v1.8.2 (nf_tables): RULE_INSERT failed (No such file or directory): rule in chain INPUT
iptables v1.8.2 (nf_tables): RULE_INSERT failed (No such file or directory): rule in chain INPUT
iptables v1.8.2 (nf_tables): Couldn't load match `state':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
auto login is disabled
auth failed, please check if the vpn address is valid and reachable!
login failed!
svpn stop!
auto login is disabled
user "*****" login successfully! 然后在主机浏览器上设置 socks5 代理,按照步骤设置使用 127.0.0.1:1080,但是还是失败。 我尝试了切换 iptables 的版本,但是还是有上面的报错信息。 |
Beta Was this translation helpful? Give feedback.
Answered by
Hagb
Aug 19, 2021
Replies: 3 comments 7 replies
-
切换了是指加了 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
String10
-
能问下最后的命令是什么吗,同样的问题,日志一直在输出以下内容
|
Beta Was this translation helpful? Give feedback.
3 replies
-
7.6.8 cli, windows 10 21H2, wsl2 docker. 命令中加入-e IPTABLES_LEGACY=1后容器正常连接至vpn。用clash能成功转发流量至socks5 127.0.0.1 port 1080。唯一不足就是延迟稍高。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
切换了是指加了
-e IPTABLES_LEGACY=1
吗?能否把运行的命令行和输出也发上来?