Hi Peter!

The high-level problem was to install Nginx on an Asuswrt-Merlin router to
reverse proxy certain websites through an established OpenVPN Split-Tunnel.

To do that, I had to ensure the Nginx Workers were using a specified Source
IP and/or Ephemeral Port which could be MARKed by iptables for routing
through the established OpenVPN Split-Tunnel.

I was able to get it working, but ended up modifying the iptables OUTPUT
rule to match only on the Source IP as Nginx was choking with a single
Ephemeral Port defined.

Now, all I have to do is update my dnsmasq rule; when, I want to add a new
site to reverse proxy through the OpenVPN Spli-Tunnel.

It's BOMB!


Gary

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,289823,289857#msg-289857

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to