Redirecting All tcp port 80,443 traffic to webserver #3629
Unanswered
ray-faizan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to achieve captive portal authentication for LAN clients. for that Want I want to do is traffic any traffic generated from LAN subnet to destination port 80 and 443 should be redirected to captive portal page.
So Captive portal page is running Nginx on VCL session layer. So I will be accessible using gateway IP address.
It Is similar to something that we are doing with iptables .
-A ChainX -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
-A ChainX -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8443
Can someone help me to do that
Beta Was this translation helpful? Give feedback.
All reactions