English Forums > General Discussion

Nginx usage without GUI

<< < (2/2)

fabian:
local services do not involve routing on OPNsense since they are the source or the target. Or do you mean some NAT stuff?

michaelgo:
then i'm confused...
what is the traffic processing order when you use Nginx with opnsense?
for example:
nginx (as a reverse proxy) is listening on a specific port and forwards traffic to upstream servers
now, where's FW and system routing comes in?
routing = > FW => Nginx => routing => FW=> upstream server?

fabian:
AFAIK

(DNAT ->) filter in -> nginx -> SNAT / Filter out (don't know the order here).

There is no routing except maybe the NAT decision. The other thing that involves routing is that the kernel will choose the optimal outbound interface which is as close to the destination host as possible.

Navigation

[0] Message Index

[*] Previous page

Go to full version