Answer the question
In order to leave comments, you need to log in
iptables for teapot: open outgoing port 80
I, the matter is that while it is weak in the iptables setup. Before that, the caliper helped all the time. Now everything is in my inexperienced hands...
VPS stubbornly refuses to connect to remote hosts on port 80. Although the policies in iptables seem to be ACCEPT everything:
Accordingly, wget cannot reach the files either.
I tried to add a couple of rules for 80 ports - it still does not connect.
iptables -A INPUT -p tcp -m tcp --sport 80 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
When iptables is temporarily disabled, everything is fine.
At the same time, the ping on ya.ru passes. And what is this NFQUEUE. I can't google anything -(
Answer the question
In order to leave comments, you need to log in
Delete the rule in the INPUT chain with the target NFQUEUE
iptables -D INPUT 1
to begin with, add the passage of packets to already initiated connections.
here is one good manual outdated in places, but the ideas do not change www.opennet.ru/docs/RUS/iptables/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question