How to access Hitron CODA56 modem admin page

Started by simdim, December 20, 2023, 06:38:12 PM

Previous topic - Next topic
Finaly got Hitron CODA56  admin/stats page working from behind Opensense.

Modem only responds to https://192.168.100.1/home/html from the same network.

Solution:
Create virtual IP on the interface facing the modem.
Create Outgoing NAT to the Modem
Create LAN allow rule - it is critical not to specify gateway in the rule




An even easier way to do this:

System -> Routes: Add a new static route (the + button) with the following settings

Network Address: 192.168.100.1/32
Gateway: WAN

Hit save and the apply the change.

Quote from: bvierra on January 10, 2024, 08:37:35 PM
System -> Routes: Add a new static route (the + button) with the following settings
[...]
Gateway: WAN

I'm trying to do exactly this. However, the "Gateway" dropdown only has my ipv4 and ipv6 loopback addresses, and my public ipv4 and ipv6 addresses. Is this right?

Note: it doesn't work, so I wonder if I'm missing something else? My FW is deny all by default, so would I need additional rules?

So here's how to do this, and yes, it does work 100% as of 2024-09-20.  For this, I'm using OPNsense 24.1.10_3

First, create a Virtual IP on your WAN Interface

1. Interfaces -> Virtual IPs -> Settings
2. Click the {+} button
3. Enter the following...
... Mode: IP Alias
... Interface: WAN
... Network / Address: 192.168.100.2/30
... Description: Hitron CODA56 [Xfinity, Cable Modem]
4. Click the [Save] button.
5. Click the [Apply] button.

Next, create a Hybrid NAT Outbound rule.  This will need to be the first rule applied, before all others.

1. Firewall -> NAT -> Outbound
2. By default, 'Mode' will be set to "Automatic outbound NAT rule generation".  Change it to "Hybrid outbound NAT rule generation"
3. Click the [Save] button.
4. Click the {+} button under 'Manual rules'
5. Enter the following...
... Interface: WAN
... TCP/IP Version: IPv4
... Source port: any
... Destination address: [Single host or network], [192.168.100.1], [32]
... Destination port: any
... Translation / target: [192.168.100.2 (Hitron CODA56 [Xfinity, Cable Modem])
... Description: Hitron CODA56 Admin Page
6. Click the [Save] button.
7. Click the [Apply] button.

Now, navigate to https://192.168.100.1/ in your web browser.

There's no log in, as this is all handled by Comcast.  You'll have the 'System Information', 'DOCSIS WAN' and 'LAN Port Status' tabs.