OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: reddington on September 13, 2023, 10:01:24 PM

Title: Behind the FRITZ!box Settings
Post by: reddington on September 13, 2023, 10:01:24 PM
Have a nice day dear community :)

I'm facing a problem that I can't seem to solve.

Here are my settings

Fritzbox: 192.168.178.1
OPNSense WAN: 192.168.178.3
OPNSense LAN: 192.168.178.4
WAN Gateway OPNSense: 192.168.178.1
LAN Gateway OPNSense: 192.168.178.3
DNS server OPNSense: 192.168.178.1

Cable goes from the OPNSense WAN port into VLAN2 where the cable from the Fritzbox also hangs inside (Mngt Switch)
Cable from the OPNSense LAN goes into VLAN1 where the rest of the network is located.

IPv4 routes are created on the Fritzbox at 192.168.178.3

I can successfully ping 1.1.1.1 and 8.8.8.8 via OPNSense.

With my PC 192.168.178.XX in VLAN 1 I can also ping my other devices, but I have no access to the Fritzbox or the Internet.

I hope you can help me
Title: Re: Behind the FRITZ!box Settings
Post by: 9axqe on September 14, 2023, 09:30:14 AM
I don't know what type of internet access the fritz!box has, but can't you configure it to act as a pure modem or in bridge mode? That would greatly simplify your setup, then the opnsense is the one receiving the public IP from the ISP and you don't have double NAT and all the problems this will be causing you down the road...

Example of bridge mode config for Fritz!Box (http://"https://www.edpnet.be/en/support/installation-and-usage/internet/manage-fritz!box/how-do-i-configure-my-fritzbox-in-bridge-mode.html#:~:text=Enabling%20bridge%20mode%20on%20a%20device%20will%20force%20it%20to%20only%20act%20as%20a%20modem,%20letting%20you%20configure%20PPP%20connection%20on%20your%20own%20device%20(router%20or%20firewall)%20connected%20behind.")
Title: Re: Behind the FRITZ!box Settings
Post by: seed on September 14, 2023, 10:04:39 AM
Quote from: reddington on September 13, 2023, 10:01:24 PM

Fritzbox: 192.168.178.1
OPNSense WAN: 192.168.178.3
OPNSense LAN: 192.168.178.4


Looks like you have the same subnet on the lan and wan side. This can cause a lot of trouble if not coinfigured correctly.

Please set the lan side to  192.168.179.1/24 for example.
Title: Re: Behind the FRITZ!box Settings
Post by: weeßicknich on September 14, 2023, 04:55:07 PM
We do not know the subnet sizes, do we? ;D
Title: Re: Behind the FRITZ!box Settings
Post by: seed on September 14, 2023, 04:57:07 PM
Quote from: weeßicknich on September 14, 2023, 04:55:07 PM
We do not know the subnet sizes, do we? ;D

we dont. But the default fritzbox subnet is: 192.168.178.1/24
Title: Re: Behind the FRITZ!box Settings
Post by: weeßicknich on September 14, 2023, 05:05:37 PM
Whatever the mask it is, you are right.
I oughtta get my eyes checked since I totally read those third octets as being different. They are indeed the same. Ouch.  ::)
Title: Re: Behind the FRITZ!box Settings
Post by: reddington on September 15, 2023, 03:16:29 AM
I works, I have changed the Lan IP


Gesendet von iPhone mit Tapatalk
Title: Re: Behind the FRITZ!box Settings
Post by: uli on September 15, 2023, 10:30:23 AM
Quote from: seed on September 14, 2023, 10:04:39 AM

Please set the lan side to  192.168.179.1/24 for example.


I would avoid using this address.
The Fritzbox uses 192.168.179.1/24 for the guest-network.

The default address 192.168.178.1/24 for the Fritzbox is changeable if you don't like it. But the address for the guest-network is not changeable.