小编Mak*_*asu的帖子

如何在 ChromeOS 中修复 iptables?

在 ChromeOS 的 chrosh 中使用 shell 我遵循了一些(显然很糟糕)的建议来刷新我的 IP 表。使用命令

sudo iptables -F
Run Code Online (Sandbox Code Playgroud)

我现在根本无法连接到互联网。所有网页都返回“此网页不可用”屏幕。

我真的很想不必擦除我的安装,但这是我知道如何修复它的唯一方法。我花了一些时间使用 crouton 设置 Ubuntu,并且不希望我的工作被撤消,所以如果有人有任何想法如何解决这个问题,我们将不胜感激。

[编辑]1:https : //code.google.com/p/chromium/issues/detail?id=181743第 2 步允许我连接到互联网。这够彻底吗?

[编辑]2:根据要求,使用

sudo iptables -L
Run Code Online (Sandbox Code Playgroud)

这是这个输出:

Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh 

Chain FORWARD (policy DROP)
target     prot opt source               destination         

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere …
Run Code Online (Sandbox Code Playgroud)

networking iptables chrome-os

4
推荐指数
1
解决办法
5466
查看次数

标签 统计

chrome-os ×1

iptables ×1

networking ×1