Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Virtual IP and services binding to to it
« previous
next »
Print
Pages: [
1
]
Author
Topic: Virtual IP and services binding to to it (Read 2182 times)
opn_nwo
Jr. Member
Posts: 70
Karma: 0
Virtual IP and services binding to to it
«
on:
July 08, 2021, 03:32:14 pm »
I noticed that if I add a virtual IP (alias or CARP) to an interface, services like sshd, lighthttp, undound automatically get bound to the it. Is there a way to prevent that from happing?
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Virtual IP and services binding to to it
«
Reply #1 on:
July 08, 2021, 08:27:25 pm »
There is a PR for this
https://github.com/opnsense/core/pull/4554
but making each service aware of this is a maintenance nightmare waiting to happen.
If you raise a feature request on GitHub I know what to do as we spoke about the situation internally: instead of patching each service we would add a marker for each virtual IP entry to not be listed as a possible listening IP when the interface IP addresses are queried for such purposes.
https://github.com/opnsense/core/issues/new?assignees=&labels=&template=feature_request.md&title=
Cheers,
Franco
Logged
opn_nwo
Jr. Member
Posts: 70
Karma: 0
Re: Virtual IP and services binding to to it
«
Reply #2 on:
July 08, 2021, 10:33:53 pm »
Thank you Franco. I just submitted a feature request for it:
https://github.com/opnsense/core/issues/5086
Keeping my fingers crossed
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Virtual IP and services binding to to it
«
Reply #3 on:
July 09, 2021, 07:59:24 am »
Thanks, ticket assigned, but it will take a few weeks with 21.7 release process running in the background at the moment.
Cheers,
Franco
Logged
opn_nwo
Jr. Member
Posts: 70
Karma: 0
Re: Virtual IP and services binding to to it
«
Reply #4 on:
July 09, 2021, 02:42:16 pm »
Thank you, that's awesome! Much appreciated.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Virtual IP and services binding to to it