Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Gateway to another network
« previous
next »
Print
Pages: [
1
]
Author
Topic: Gateway to another network (Read 884 times)
tdalej
Newbie
Posts: 46
Karma: 0
Gateway to another network
«
on:
January 18, 2024, 02:19:07 pm »
I had this set up and working with another firewall product, but can't seem to make it happen now.
A lot more things to twiddle in OPNSense I think.
I have OPNSense1 set up with WAN/LAN ans some optional interfaces.
One of the optional interfaces is a 10G link to another building with it's own firewall and internet connection.
(One internet connection is DSL the other is line-of-sight radio, and traffic needs are very different on both.)
Previously, I configured an interface on each firewall for the connection between buildings, added a gateway on each with the interface on the opposite firewall as the gateway IP address, and the LAN IP on the opposite firewall as the monitor IP.
That's not working in OPNSense for some reason.
And best of all, when I activate the route and gateway, my DMZ subnet loses WAN access :/
What portions of this configuration can I post here for suggestions on how to make this work?
Visual if that helps. Trying to get the gateway/route correct to connect the two sites.
One thing I do see in the static route configuration section is this statement:
"Do not enter static routes for networks assigned on any interface of this firewall. Static routes are only used for networks reachable via a different router, and not reachable via your default gateway. "
As soon as I enable this route:
Disabled Network Gateway Description Commands
192.168.20.0/24 OfficeLabGW - 192.168.30.2 Static route to site 2
And this gateway:
OfficeLabGW OfficeLab IPv4 255 192.168.30.2 192.168.20.1 ~ ~ ~ Pending OfficeLab Gateway
Most everything loses access to the internet.
This rather simple setup worked with the firewall I previously used, so I know it's possible.
I suspect I'm just missing something basic.
«
Last Edit: January 18, 2024, 04:56:47 pm by tdalej
»
Logged
tdalej
Newbie
Posts: 46
Karma: 0
Re: Gateway to another network
«
Reply #1 on:
January 18, 2024, 10:56:58 pm »
Anybody?
Telling me to RTFM would be great if you can tell me where...
Everything I can find seems to indicate this will work, but they are all light on details ...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Gateway to another network