Score:0

UPDATES not working on LINUX Maschine after changing iptables

xk flag

I am currently programming a web server. I have an FTP and an HTTP server running on that. Of course I am configuring iptables to optimize the Maschine, currently, I have the following rules.

iptables -P INPUT DROP
iptables -P FORWARD DROP
sudo iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -p tcp –dport 22 -j ACCEPT 
sudo iptables -A INPUT -p tcp –dport 80 -j ACCEPT
sudo iptables -A INPUT -p tcp –dport 21 -j ACCEPT

I have added the rules

-A OUTPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT
                         53
              udp        53

After doing this I can not do any more updates do I just get this message. Posting a screenshot of the error. Can anyone tell me what I should do to still do the updates?

enter image description here

Nikita Kipriyanov avatar
za flag
Instead of showing individual rules, please, show the output of `iptables-save`.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.