admin管理员组文章数量:1130349
1、检查路由表:正常
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.19.224.1 0.0.0.0 UG 0 0 0 eth0
3.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
10.254.253.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
66.1.77.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
172.19.224.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
2、检查防火墙
iptables --line-numbers -L
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 SANGFOR_VIRTUAL all -- anywhere anywhere
Chain SANGFOR_VIRTUAL (1 references)
num target prot opt source destination
======== 敏感信息=============
103 DROP all -- anywhere anywhere
从结果中可发现SANGFOR_VIRTUAL 自定义链中只放行了指定网络权限,删除最后一条规则或清空 SANGFOR_VIRTUAL规则即可访问外网。
#清空 SANGFOR_VIRTUAL
iptables -F SANGFOR_VIRTUAL
1、检查路由表:正常
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.19.224.1 0.0.0.0 UG 0 0 0 eth0
3.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
10.254.253.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
66.1.77.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
172.19.224.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
2、检查防火墙
iptables --line-numbers -L
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 SANGFOR_VIRTUAL all -- anywhere anywhere
Chain SANGFOR_VIRTUAL (1 references)
num target prot opt source destination
======== 敏感信息=============
103 DROP all -- anywhere anywhere
从结果中可发现SANGFOR_VIRTUAL 自定义链中只放行了指定网络权限,删除最后一条规则或清空 SANGFOR_VIRTUAL规则即可访问外网。
#清空 SANGFOR_VIRTUAL
iptables -F SANGFOR_VIRTUAL
本文标签: 无法访问系统Linuxeasyconnect
版权声明:本文标题:解决Linux系统开启EasyConnect后无法访问外网的问题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1754879266a2738388.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论