OPNsense Forum

English Forums => 23.7 Legacy Series => Topic started by: layereight on November 09, 2023, 03:39:45 pm

Title: Virtual IP on WAN (PPPoE)
Post by: layereight on November 09, 2023, 03:39:45 pm
Hi all,
I have my internet connection on a WAN interface with PPPoE configuration. My modem is a FritzBox in Modem only mode, connected via Ethernet. Everything works fine but I would like to be able to connect to the mamangement GUI of my FritzBox router. This means I need an IP address in the router's management LAN on my WAN interface. Can I simply add a virtual IP on the WAN interface to achieve this or would this interrupt/break my PPPoE internet connection?
I assume no, because currently my WAN interface only talks PPPoE and with adding a virtual IP address I just all IP to that interface, right? I just must not break the default GW of my OPNsense.
(Sitting remote, hence I could not fix it if I break it...)
Thank you for any thoughts!
Title: Re: Virtual IP on WAN (PPPoE)
Post by: franco on November 09, 2023, 03:40:55 pm
It should work fine. There is a little concern about IPv6 VIPs but I don't think that's what you want.


Cheers,
Franco
Title: Re: Virtual IP on WAN (PPPoE)
Post by: layereight on November 09, 2023, 03:44:33 pm
Wow! thank you for the instant reply!
Is there any way to have OPNsense revert to the config before the change if not approved in a period of time?
(Just looking for a self repair...)
Title: Re: Virtual IP on WAN (PPPoE)
Post by: franco on November 09, 2023, 03:46:04 pm
No, but you can revert to the older configuration from System: Configuration: History GUI page. Adding a VIP on your WAN will not break your LAN connectivity.


Cheers,
Franco
Title: Re: Virtual IP on WAN (PPPoE)
Post by: layereight on November 09, 2023, 03:47:53 pm
Yeah, I am just connected via OpenVPN - thats why I am concerned to break the interenet connection. No way back if so :-)
Title: Re: Virtual IP on WAN (PPPoE)
Post by: franco on November 09, 2023, 03:50:22 pm
As much as I want I cannot recommend :)


Cheers,
Franco
Title: Re: Virtual IP on WAN (PPPoE)
Post by: layereight on November 09, 2023, 03:51:53 pm
Yeah, feeling the same way...
Thank you anyway!!
Title: Re: Virtual IP on WAN (PPPoE)
Post by: layereight on November 09, 2023, 05:26:40 pm
Found this: https://github.com/opnsense/plugins/pull/3321
But it does not appear in the addons list (community)
This would be a perfect solution for my use case
Title: Re: Virtual IP on WAN (PPPoE)
Post by: franco on November 09, 2023, 07:00:30 pm
The risk is of lockout is lower than a recovery gone wrong with a community plugin. Our support tier policy doesn't fit well with community work for high risk core areas (requires tier 1 but only has tier 3).


Cheers,
Franco