V
V
Valery Gaidar2015-04-02 13:54:54
iptables
Valery Gaidar, 2015-04-02 13:54:54

How to correctly add a rule for https requests in iptables?

Can the absence of a rule for https requests in iptables affect the processing of these requests?
If it does, how to add the rule correctly?

Now this is the situation, the server does not see https requests, at first it sinned on nginx, but with the help of netstat it determined that the nginx worker is listening on port 443 normally.

I checked the port with nmap from the outside:

Host is up (0.049s latency).
PORT STATE SERVICE
443/tcp filtered https

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-04-02
@boo_v2

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question