setting up opnsense for the first time

Started by xoulsinz, July 28, 2022, 07:49:24 AM

Previous topic - Next topic
Hi all,

I am brand new when it comes to opnsense and I'm trying to use it as a firewall in front of my Ubiquiti ER12.

I have two ports setup on a Geek+ G34 Mini PC J3455

One port is setup to be the WAN connecting to the cable modem, this is setup as DHCP.

The 2nd port is setup as LAN with a static IP assigned 192.168.1.2/24 because my Ubiquiti ER12 is already taking 192.168.1.1.

The port on Ubiquiti ER12 connecting to the LAN has DHCP setup and this configuration simply won't work at all as I can never get 192.168.1.2 to respond when connected this way.

However if I move the LAN connection and connect it directly to ER12 then 192.168.1.2 would come up and I can login to the interface.

Can anyone offer some guidance on what I'm doing wrong? Thanks in advance!

Eric

HI

Is the first modem in bridge mode?
When you get a private ip maybe on your wan interface you have to uncheck -> Block private networks (only when you get a private ip dont uncheck when you get a public ip on the wan interface.

Have you made under Service DHCP -> Interface (LAN) -> Enable DHCP with the Range you want?

Thanks for the reply!

- The modem is not in bridge mode.
- I will try this!
- No I did not set LAN to DHCP, I had set it to static IP (192.168.1.2) thinking my Ubiquiti ER12 (192.168.1.1) will assign the IP's because all of the devices are plugged into the ER12.

Should I be disabling the DHCP on ER12 and use DHCP on OPNsense instead?

I like when the dhcp is on opnsense.
But try with your setup. Make a tracert from your clients and then you see where you get ;)


Just out of curiosity, why the dual router setup?  Connecting multiple buildings or physical sites?
OPNsense 25.1.9 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD