mercredi 25 mars 2015

Impossible to browse web after configuring iptables


I'm trying to configure iptables on my ubuntu computer. These are my rules:



Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:ftps-data
ACCEPT tcp -- anywhere anywhere tcp dpt:ftps

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:domain

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Unfortunately, when I try to use the web explorer, it can not connect. Just a blank page continuously trying to load. I tried sending a ping to www.google.com, but the connection can not be established. Maybe should I leave more ports open?


Thank you very much for you help!!!



Aucun commentaire:

Enregistrer un commentaire