找回密码
 注册
查看: 7|回复: 0

ping: sendmsg: Operation not permitted

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2024-2-17 21:05:44 | 显示全部楼层 |阅读模式
ping: sendmsg: Operation not permitted: ?! p. L. B4 h7 d# r
# ~' j) Q+ j* y% y
解决办法:
; g8 \& g, [0 y' a6 g8 g检查防火墙规则:
4 X# w+ K+ I* D4 C4 k; z
1 c8 S1 v: {! w4 s$ V  H放通ping 出7 S: L3 J1 |, k8 n
iptables -A OUTPUT -p icmp --icmp-type 8 -j ACCEPT- g9 o0 a. A$ [
或者配置:
6 z7 U' \: f& f, i: K8 b) O3 \& X6 o9 @9 h( G9 r' `. |
Set OUTPUT chain policy to ACCEPT to allow all outgoing traffic from your box:
$ n5 K+ S( O9 n" ?  j% E( J7 M  A& U. a
sudo iptables -P OUTPUT ACCEPT. W1 N# d3 i% `& b
9 A7 w% j" }( y8 s3 {1 w0 d2 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:47 , Processed in 0.014357 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表