Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
OPNWAF - How can I configure a virtual server to listen on a specific IP?
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNWAF - How can I configure a virtual server to listen on a specific IP? (Read 1004 times)
bimbar
Sr. Member
Posts: 436
Karma: 25
OPNWAF - How can I configure a virtual server to listen on a specific IP?
«
on:
June 11, 2024, 06:09:57 pm »
Quite some time ago, the nginx plugin had the same problem of only being able to bind to a specific port on all interfaces, the same seems to be true for OPNWAF.
Is that the case or am I just unable to find the option, and if true, is it possible to expand this option from "port" to something like "ip:port"?
Logged
bimbar
Sr. Member
Posts: 436
Karma: 25
Re: OPNWAF - How can I configure a virtual server to listen on a specific IP?
«
Reply #1 on:
June 11, 2024, 06:16:25 pm »
I just checked and the same is true for caddy - I find it quite strange that nobody seems to use multiple public IPs perhaps with a variety of services listening on 443 on different IPs.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: OPNWAF - How can I configure a virtual server to listen on a specific IP?
«
Reply #2 on:
June 11, 2024, 06:48:39 pm »
There service bind has been known to be problematic when referring to single IPs.. they cannot be validated and they either exist elsewhere and the service works (unless they disappear and the service breaks) or one has to start linking the virtual IPs to the services for integrity checking, but that won't work for primary interface static addresses at the moment or dynamically assigned ones at all.
Cheers,
Franco
Logged
bimbar
Sr. Member
Posts: 436
Karma: 25
Re: OPNWAF - How can I configure a virtual server to listen on a specific IP?
«
Reply #3 on:
June 11, 2024, 06:59:57 pm »
We had this discussion over nginx, which seems to have worked out just fine, if you remember.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: OPNWAF - How can I configure a virtual server to listen on a specific IP?
«
Reply #4 on:
June 11, 2024, 07:27:53 pm »
I wouldn't call the NGINX plugin a hallmark of maintainability.
I know that people sometimes run into the problem that HAProxy doesn't start on boot because the IP they use is not there yet.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
OPNWAF - How can I configure a virtual server to listen on a specific IP?