What's new

Question regarding haproxy and iptables

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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