OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Trying to access modem GUI through WAN port
« previous next »
  • Print
Pages: [1]

Author Topic: Trying to access modem GUI through WAN port  (Read 3061 times)

hushcoden

  • Sr. Member
  • ****
  • Posts: 445
  • Karma: 18
    • View Profile
Trying to access modem GUI through WAN port
« on: October 20, 2020, 02:35:08 pm »
As per subject, I'd like to be able to log in to modem GUI via WAN port, but (and sorry if it's a dumb question) I don't understand how to configure OPNsense.

First thing, I don't have a 'local' address for my WAN port (I've attached screenshots of the configuration) and I was thinking that if I was able to assign the WAN port an IP in the same subnet as LAN, I should be able to do so: my OPNsense IP address is 192.168.0.1 and my LAN addresses range through DHCPv4 is 192.168.0.2 - 192.168.0.50

Appreciated some help.

Tia.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2195
  • Karma: 98
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #1 on: October 20, 2020, 03:08:40 pm »
Done that in the past:

https://forum.opnsense.org/index.php?topic=12094.msg55412#msg55412
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

hushcoden

  • Sr. Member
  • ****
  • Posts: 445
  • Karma: 18
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #2 on: October 20, 2020, 03:57:31 pm »
Thanks, still not working - I'm not networking savvy :-)

What I did:

1) Interfaces --> WAN --> unchecked "Block private networks"

2) Firewall --> NAT --> Outbound --> see attachment  -- 192.168.2.1 is the modem IP address

What else I'm missing?
Logged

hushcoden

  • Sr. Member
  • ****
  • Posts: 445
  • Karma: 18
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #3 on: October 20, 2020, 07:00:02 pm »
Solved following this https://docs.netgate.com/pfsense/en/latest/recipes/modem-access.html
Logged

hushcoden

  • Sr. Member
  • ****
  • Posts: 445
  • Karma: 18
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #4 on: July 31, 2021, 06:51:37 pm »
Sorry to resurrect an old thread, but I have a fresh install - 21.7 - and nothing seems to work: hardware is still the same but I can't access the modem GUI, any suggestions?

Tia.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2195
  • Karma: 98
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #5 on: July 31, 2021, 08:56:12 pm »
As always: What EXACTLY have you configured how (screenshots) and what are the error messages you get when you do what?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

hushcoden

  • Sr. Member
  • ****
  • Posts: 445
  • Karma: 18
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #6 on: August 01, 2021, 12:07:32 am »
Quote from: chemlud on July 31, 2021, 08:56:12 pm
As always: What EXACTLY have you configured how (screenshots)
I followed the same article I posted above which worked when I was using the 21.1 - see attachments

Modem IP address = 192.168.2.1

OPT2 = 192.168.2.10/32

Quote
and what are the error messages you get when you do what?
Simply the connection times out and no modem GUI
« Last Edit: August 01, 2021, 10:17:09 am by hushcoden »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2195
  • Karma: 98
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #7 on: August 08, 2021, 02:46:25 pm »
I just tried it on 21.7.1:

Add for WAN a manual outbound NAT rule for the network your modem uses, press Apply, enter IP of modem in same browser: Reach GUI of modem. No problem here...

I guess your modem doesn't use a /32, more likely a /24 (192.168.2.0 /24). Check manual/settings of modem :-)
« Last Edit: August 08, 2021, 02:49:54 pm by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

hushcoden

  • Sr. Member
  • ****
  • Posts: 445
  • Karma: 18
    • View Profile
Re: Trying to access modem GUI through WAN port
« Reply #8 on: August 08, 2021, 04:41:32 pm »
I've found the culprit  8)  I've changed the IP address of the OPT2 (WAN) interface from 192.168.2.10/32 to 192.168.2.10/24 and now it works !
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Trying to access modem GUI through WAN port
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2