如何在iptables中取消阻止传出的HTTP和HTTPSstream量?

有了以下iptable规则,我无法进行apt更新并ping一个网站。 规则有什么问题? 如何解决它? 什么是解决它的确切规则?

Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:325 DROP all -- anywhere anywhere Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination 

摆脱INPUT链中的DROP规则。 它几乎可以减less进入机器的所有stream量,包括对发送的任何stream量的响应。