OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: Vlad on February 18, 2025, 03:12:18 PM

Title: does not work with two ip addresses of the same network
Post by: Vlad on February 18, 2025, 03:12:18 PM
Hello. I set up the network in this way: Internet, router, opnsense firewall. There was a problem with the IP, I set LAN 192.168.50.4 and WAN 192.168.50.92 and nothing works. I can't log in to the web interface. Please tell me how to solve the problem, it is very necessary.

Title: Re: does not work with two ip addresses of the same network
Post by: meyergru on February 18, 2025, 03:13:51 PM
See this, point #1 (https://forum.opnsense.org/index.php?topic=42985.0).
Title: Re: does not work with two ip addresses of the same network
Post by: Vilhonator on February 26, 2025, 02:50:57 AM
Quote from: Vlad on February 18, 2025, 03:12:18 PMHello. I set up the network in this way: Internet, router, opnsense firewall. There was a problem with the IP, I set LAN 192.168.50.4 and WAN 192.168.50.92 and nothing works. I can't log in to the web interface. Please tell me how to solve the problem, it is very necessary.



I am assuming you are trying to setup opnsense for home use, from your post, it doesn't seem you are trying to do anything else.

Simply remove router from your setup. You won't be able to place opnsense behind a router with static private IP address assigned to WAN (basic network 101: Each interface of each router must belong to disjoint subnet to be able to control traffic) and without setting up transparent filtering, opnsense is just plain router with firewall, IDS/IPS and plugin functions.

So your setup should be either any of the following listed from easiest and least amount of configuration requiring way to setup to hardest and most configuration requiring way to setup:
 

WAN IP should be a public IP address, asigned by your ISP using DHCP. and you don't access to opnsense using WAN address, LAN is for that.