What's new

YazFi Allowing Guest clients access to NGINX reverse Proxy on router

  • 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!

sarmenator

Occasional Visitor
I have NGINX running as a reverse proxy on the router, passing http (on both 80 and 443) to my Plex and Home Assistant servers. As of right now my guest wifi clients are unable to access these servers with their WAN URL ha.example.com and plex.example.com
Both CNAMES for example.com pointing to routers WAN IP.
I'd like to allow clients to talk to the router on 80 and 443. Below Rule seems to do it. I am wondering if this is too broad and if I can narrow it down more

iptables -I YazFiINPUT -i wl0.2 -p tcp -m multiport --dports 80,443 -j ACCEPT

if I add eth0 as output interface, it does not seem to work as intended.
Is Input chain the correct place for this or does something have to go in forward chain?
 

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