Welcome! Log In Create A New Profile

Advanced

Using Public IP for NGINX server

Jeffrey Gilgenbach
January 31, 2019 07:02PM
I am currently evaluating migrating my current BIGIP configuration to NGINX.. I'm completely aware that not all configuration will translate 1:1, however I am looking to see if anyone has suggestions where I am stuck and if it's possible to do.

I currently have a routable network setup between my edge router and my NGINX server, we'll say it's 192.168.1.0/24. My edge router has a static route for one of my public IP's to my NGINX server IP 192.168.1.239. On my NGINX server, I want to assign this public IP to a listen directive under a server context for load balancing a few web servers upstream. On F5, I could SNAT this IP using the routing network I created between my edge router and the F5. I'm not sure if using iptables is necessary or if I need to add the public IP as a virtual interface on the routing network? Just a bit lost and could use some direction if anyone has any suggestions.

Thanks!

Jeffrey
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using Public IP for NGINX server

Jeffrey Gilgenbach January 31, 2019 07:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready