OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: wdm on April 11, 2021, 07:54:52 pm

Title: Ping to my ADSL modem fails
Post by: wdm on April 11, 2021, 07:54:52 pm
I am using OPNsense 21.1.3_3-amd64 installed on a PTROTECTLI appliance.  The WAN port is connected to my ADSL modem using ipv4 and DHCP.  All connections between the LAN and WAN are working well for internet access.  My only problem is accessing the ADSL modem.  Prior to using OPNsense I was able to point my browser to the modem and view status pages and settings.  I can not ping or use the web interface.

The LAN interface is igb1 configured static IPv4 as 192.168.200.10/16, WAN igb0 configured IPv4 DHCP which results in 192.168.254.64  with the ADSL as gateway at 192.168.254.254.  My laptop on the LAN is at 192.168.200.40 and I cannot ping 192.168.254.254.  Is this normal?  How can I get access to the modem?

Title: Re: Ping to my ADSL modem fails
Post by: bartjsmit on April 12, 2021, 07:52:36 am
Configure the modem in bridge mode and set up PPPoE on the firewall.

Set up an interface in OPNsense that uses the physical NIC that your modem is connected to and give it the same subnet that your modem defaults to (i.e. 192.168.254.0/24). Give the firewall interface a static IP address that is different from your modem (e.g. 192.168.254.1). Interfaces, Assignments, +

Configure an outbound NAT from your LAN to the modem subnet. Firewall, NAT, Outbound, Add. Open the modem web page on its default IP; something like http://192.168.254.254/

Bart...
Title: Re: Ping to my ADSL modem fails
Post by: lfirewall1243 on April 12, 2021, 10:05:25 am
I think your Modem has no route defined to your LAN Subnet.

You could add a Route or use Outbound NAT if not already enabled