Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Administration accessible with single URL
« previous
next »
Print
Pages: [
1
]
Author
Topic: Administration accessible with single URL (Read 1542 times)
czmirek
Newbie
Posts: 2
Karma: 0
Administration accessible with single URL
«
on:
January 11, 2024, 07:37:20 pm »
I have a home opnsense router with 4 interfaces:
interface0 = WAN, not important
interface1 = 192.168.100.0/24
interface2 = 192.168.101.0/24
interface3 = 192.168.102.0/24
The opnsense web administration gui is available on all interfaces with these addresses:
interface1 = 192.168.100.1
interface2 = 192.168.101.1
interface3 = 192.168.102.1
But I would like to access the opnsense web gui using only a single IP address or URL that works on all of these interfaces. So when I put "
http://opnsense.local
" in browser I'll get opnsense administration web, regardless on interface to which I'm connected now.
Or perhaps some static IP like "
http://192.168.111.111
" --- I don't mind as far as it is a single thing that works for all interfaces.
I don't know how to achieve the solution for this problem.
- I can't make a DNS record because a DNS override in UnboundDNS cannot be attached to a specific interface only.
- So I thought some kind of Virtual IP / IP Alias would work...but I couldn't make it work as well.
- No luck with trying to configure 1:1 NAT either.
I would greatly appreciate any advice. Thank you!
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1601
Karma: 176
Re: Administration accessible with single URL
«
Reply #1 on:
January 11, 2024, 08:27:19 pm »
You can access the OPNsense GUI from any attached interface from any IP address.
Since the OPNsense is your default gateway, all requests from any IP address will be sent to the OPNsense.
You only have to adjust the firewall on that interface to allow any source to destination "This Firewall".
Logged
Hardware:
DEC740
czmirek
Newbie
Posts: 2
Karma: 0
Re: Administration accessible with single URL
«
Reply #2 on:
January 11, 2024, 08:37:06 pm »
Yes, I can access OPNSense from all interfaces as I said. The firewall is configured to allow all communication.
I don't have a problem that OPNSense is not accessible. It can be accessed from all interfaces. That is working.
I want to OPNSense to be available on all interfaces using a SINGLE URL --- which can be a single IP address.
So for example, if I do "
http://192.168.111.111
" I'll get OPNSense in all interfaces. Then I'd be able to make a DNS override so the address "
http://opnsense.local
" would be also available on all interfaces.
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1601
Karma: 176
Re: Administration accessible with single URL
«
Reply #3 on:
January 11, 2024, 11:04:42 pm »
But I already said you can use any IP address because the OPNsense is your default gateway.
If you are attached to interface 1 you can reach the IP address of interface 3 too.
Logged
Hardware:
DEC740
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Administration accessible with single URL