cancel
Showing results for 
Search instead for 
Did you mean: 

HG612 & OPNSense Firewall

dustymiller259
Dabbler
Posts: 10
Registered: ‎21-11-2019

HG612 & OPNSense Firewall

I've just got hold of aHG612 as I want to connect using OPNSense software firewall that is in my VMWare cluster., however when i put the PPPOE settings into OPNSense it does not connect out to Plusnet and acquire my static IP address. The DSL light on the modem goes solid green, and it is configured in bridge mode so should work, yet for some reason it doesn't. 

Does anyone have any pearls of wisdom on what I've missed, or tried this before ? 

Cheers in advance for any assistance.

 

Dusty.

51 REPLIES 51
RealAleMadrid
Aspiring Hero
Posts: 2,868
Thanks: 1,513
Fixes: 61
Registered: ‎07-07-2009

Re: HG612 & OPNSense Firewall

@dustymiller259  Just a possible reason, have you configured a Vlan ID on OPNsense?  FTTC connections use Vlan 101 but if you are using a separate Openreach modem this is done in the modem so you only need a plain PPPoE connection with Username (username@plusdsl.net) and your member centre password. Is the modem unlocked so you can look at the stats? You could also try a factory reset of the modem just to make sure it is in default bridge mode. I believe a long press on the reset button will do it.

dustymiller259
Dabbler
Posts: 10
Registered: ‎21-11-2019

Re: HG612 & OPNSense Firewall

No VLAN tagging in OPSense, 

The HG612 is configured thus:

hg612

RealAleMadrid
Aspiring Hero
Posts: 2,868
Thanks: 1,513
Fixes: 61
Registered: ‎07-07-2009

Re: HG612 & OPNSense Firewall

@dustymiller259  My bridge type was IP_Bridged but PPPoE_Bridged  also works for me so it's not that. Apart from that your WAN config is the same as mine.

I know very little about OPNsense, except that it has endless configuration options. Have you ever set up a working PPpoE connection before. I had a quick look in the OPNsense forum and saw a long thread about getting a PPPoE connection working. There were probably many others on the same subject! Do you not see any error messages from OPNsense when attempting to connect? I don't know what else to suggest.

I use a commercial router made by Lancom which is also very configurable and I had a problem when first connecting to PlusNet.  I had changed a setting in the CHAP authorisation protocol which made the authorisation fail. I can't recall the details now but by rolling back to a previous config I got it to work. Sorry but this is probably of no help to you at all.😐

 

 

 

 

dustymiller259
Dabbler
Posts: 10
Registered: ‎21-11-2019

Re: HG612 & OPNSense Firewall

Its all good, thanks for the assistance, I am kinda of the idea that its an OPNSense issue, so just need to work it out. ill get there eventually, and then share the love of the issue when I get it sorted.

jgriffith
Newbie
Posts: 4
Registered: ‎26-10-2020

Re: HG612 & OPNSense Firewall

Appreciate this is a 6 month old thread but wondered how you're getting on. I have been using opnsense with PPPoE modems (both ECI and Huawei) for years and am happy to share config/tips etc.

 

I have noticed that connecting to Plusnet in this method takes anywhere between 10 and 60 attempts before the connection is established, but after that is rock solid. Haven't quite got to the bottom of that one yet. I suspect it is the HG612 being rubbish.

Rockyuk
Dabbler
Posts: 14
Thanks: 2
Registered: ‎04-12-2018

Re: HG612 & OPNSense Firewall

I know this is an old thread, but i wanted to know if you managed to get this to work. I am having the same issue on my end?

Thanks

Rockyuk

dustymiller259
Dabbler
Posts: 10
Registered: ‎21-11-2019

Re: HG612 & OPNSense Firewall

Yes i got it working. I had to insert the PPPoE loigin details into the connection settings to allow PfSense to get the IP address from Plusnet / BT. Left Plusnet a while ago sorry, so dont have the setup anymore. 

OsoPolar
Grafter
Posts: 41
Thanks: 2
Registered: ‎17-01-2023

Re: HG612 & OPNSense Firewall

HI @Rockyuk  & @dustymiller259 

Did you guys get the BT Huawei Modem HG612 working with Opesense with the PPPoE login?
If so could you share how to do it and the settings you used.
I can connect and i see my static IP address but no connection to the internet

Rockyuk
Dabbler
Posts: 14
Thanks: 2
Registered: ‎04-12-2018

Re: HG612 & OPNSense Firewall

Hi,
Yes I did it took quite abit of work but I got there in the end. Firstly, I had to unlock BT Huawei Modem HG612 with custom firmware. Once I did that and added my ISP login details it connected straight away.

The hard part was configuring Pfsense to see the traffic. I installed a cheap managed switch to setup VLAN's and separated the network. Then I focused on the configuration of Pfsense. I could not get OPNSense to work for some reason.
OsoPolar
Grafter
Posts: 41
Thanks: 2
Registered: ‎17-01-2023

Re: HG612 & OPNSense Firewall

HI

I bought my modem unlocked.

Can you add your Plusnet PPPoE login details inside the actual modem?

I have no VLANs to configure but i would like to use Opnsense.

I have a staic IP from Plusnet but i think you still have to use PPPoE login
Would you have a sceen shot from within your modem ?

 

Rockyuk
Dabbler
Posts: 14
Thanks: 2
Registered: ‎04-12-2018

Re: HG612 & OPNSense Firewall

I will need to login to the modem direct for you tomorrow. Hopefully I will remember and I will take a screenshot for you.
OsoPolar
Grafter
Posts: 41
Thanks: 2
Registered: ‎17-01-2023

Re: HG612 & OPNSense Firewall

That would be great just just to clarify so you add your Plusnet login details in here?

This acts like adding your PPPoE credentilas in a router which you no longer need to do now.

So in a router or OPNsense/pfsense you then pick DHCP!

 

Have i got it right?

 

 

 

 

 

 

MisterW
Superuser
Superuser
Posts: 16,342
Thanks: 6,277
Fixes: 449
Registered: ‎30-07-2007

Re: HG612 & OPNSense Firewall

Whilst that may work, your Opnsensecfirewall will not get your public static IP. The hg612 will get that and will allocate Opnsense a local private Ip. You will have an double nat situation whereby both the hg612 and opnsense are applying nat translation..You needbto ensure that the lan subnet onnthe opensense is different to that of the hg612.

You'd be better advised trying to determine (from any logs ) why opnsense is failing to connect via pppoe.

 

can connect and i see my static IP address but no connection to the internet

If that is the case then it suggests that opnsense is not setting the gateway address correctly
 

Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.

OsoPolar
Grafter
Posts: 41
Thanks: 2
Registered: ‎17-01-2023

Re: HG612 & OPNSense Firewall

HI 

Well when we entered our PPPoE into OPNsense initally i could see my PLusnet static IP in OPNsense.
But i had no internet connection so with some bad tinkering i lost connection all together.
But some people from OPNsense say PPPoE is flaky from PLusnet on OPNsense.

I was advised to get the modem to grab it and pass to OPNsense and set it to DHCP!
So i am a bit of a noob by IP range will be outside my modem and routers range.

I dodnt even know you could add it in this modem i was going to use the HUB 1 as i have 2 unused but i have read they cannot be made into bridge only mode!