Ubuntu 14.04获得ping:sendmsg:不允许操作

前端之家收集整理的这篇文章主要介绍了Ubuntu 14.04获得ping:sendmsg:不允许操作前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
显然,问题出在我的联盟之外,Ubuntu无法访问任何网络,但不知何故,我使用虚拟机的虚拟机都可以访问互联网.我试图进行以下更改,但您可以这样做不成功.我很困惑我的盒子上有什么问题.任何帮助赞赏.
carl@carl-Latitude-E6410:~$sudo ip6tables -P INPUT ACCEPT
carl@carl-Latitude-E6410:~$sudo ip6tables -P OUTPUT ACCEPT
carl@carl-Latitude-E6410:~$sudo ip6tables -P FORWARD ACCEPT
carl@carl-Latitude-E6410:~$ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted,0 received,100% packet loss,time 1008ms
carl@carl-Latitude-E6410:~$sudo iptables -P INPUT ACCEPT
carl@carl-Latitude-E6410:~$sudo iptables -P OUTPUT ACCEPT
carl@carl-Latitude-E6410:~$sudo iptables -P FORWARD ACCEPT
carl@carl-Latitude-E6410:~$sudo service iptables restart
iptables: unrecognized service
carl@carl-Latitude-E6410:~$ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted,time 1008ms
IPtables有时会变得有点……不稳定,并且有许多规则不会被删除或被遗忘.

尝试iptables –flush删除所有的iptables规则.

原文链接:https://www.f2er.com/ubuntu/348920.html

猜你在找的Ubuntu相关文章