Question regarding haproxy and iptables

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

fusionstream

Occasional Visitor
I've installed haproxy via entware so that I can tunnel both openvpn (running on router) and a separate locally hosted https server through port 443 of my router. I need to tunnel openvpn over port 443 because some WiFis block access to non standard ports and I need https over 443 so that the website viewer doesn't have to finagle with non-standard port access.

I've manually added an iptables rule to open up port 443 on my router.

Why does this work:
Code:
iptables -I INPUT 2 -p tcp -m state --state NEW --dport 443 -j ACCEPT
while this doesn't:
Code:
iptables -I INPUT 2 -p tcp --dport 443 -j ACCEPT
Is it informative that I still can't get the remote users IP on my https server's access log?
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top