ubuntu 18 iptables not working

Asked by Prelsav on 2018-03-12

Hi people after install ubuntu 18 and configure "iptables" I no have Internet . My "iptables" config is :
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -p TCP --dport 80 -j ACCEPT
iptables -A OUTPUT -p TCP --dport 443 -j ACCEPT
iptables -A OUTPUT -p UDP --dport 53 -j ACCEPT

iptables-persistent > /etc/iptables/rules.v4

Why don't I have an Internet ?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-12
Last reply:
2018-03-28
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.