What's new

Multiple subnets with NGINX

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

bengalih

Senior Member
I've got NGINX running on my router with address of 10.0.0.1 and all computers on the 10.0.0.0/24 subnet. There is also a 172 subnet configured for Guest Wifi.

I've got the issue where all traffic coming in over NGINX appears as local traffic as it comes out the 10.0.0.1 interface and hits my local services over this lan.

I would like to maybe add an additional subnet, like 192.168.x.x that my router can use to bind NGINX on and then it would have to route over to 10.x.x.x. This way I could open authentication on the local 10.x.x.x subnet but requests from WAN over NGINX wouldn't be exempt from auth.

Will this work and if so, where/how do I go about setting this configuration up?
 

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