Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSense and PPPoE Router questions
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: OPNSense and PPPoE Router questions (Read 5768 times)
deanfourie
Newbie
Posts: 23
Karma: 0
OPNSense and PPPoE Router questions
«
on:
August 19, 2021, 01:20:55 pm »
Hi guys,
I have just installed OPNSense on a NUC, and am placing between my PPPoE router and my LAN switch. My question is around the setup of the PPPoE router.
This router has an active ADSL connection, and for this reason the router does not support PPPoE in bridged mode. So I have set it up as a upstream gateway.
Do I need to disable the firewall on the ADSL router? How can I ensure that the router is secure and all incoming traffic is forwarded (including IPSec) to OPNSense? Do I need to setup a DMZ?
My current setup
ADSL Router (172.16.1.1/30)
OPNSense WAN (172.16.1.2/30)
OPNSense LAN (192.168.1.0/24)
Right now I can reach the ADSL Router (172.16.1.1/30) from the LAN (192.168.1.0/24)
This doesnt seem right to me.
Any advice greatly appreciated.
Regards
Logged
utahbmxer
Newbie
Posts: 42
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #1 on:
August 19, 2021, 07:54:20 pm »
What modem model do you have?
OPNsense can do PPPoE (that's what I am using for my fiber). If you can set your modem to full bridge mode you should be able to setup the PPPoE connection in OPNsense. Without that, you're going to be doing double-NAT, which is exactly what you're describing being able to access the ADSL router from a machine behind OPNsense. OPNsense is NATing the PCs traffic to it's WAN address and sending it out to the modem. Double NAT is messy.
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #2 on:
August 20, 2021, 10:30:47 am »
Thanks for the reply. Im using a Spark SmartModem (not so smart IMO).
Its an Arcadyan VRV9517
I don't believe that bridged mode support ADSL.
Would be nice if I was wrong.
Thanks in advance.
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #3 on:
August 20, 2021, 10:36:13 am »
Having said that, I did just find this.
See attached.
Logged
chemlud
Hero Member
Posts: 2481
Karma: 112
Re: OPNSense and PPPoE Router questions
«
Reply #4 on:
August 20, 2021, 10:48:56 am »
Now it is in bridged mode and the sense can do your ADSL? Can you extract/do you know the credentials necessary?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #5 on:
August 20, 2021, 12:59:39 pm »
Seems to be a no go.
Have set it up in bridged mode. And plugged the OPNSense WAN port into the WAN or FIBRE port of the ADSL router.
Still doesnt seem to want to connect.
Here are my ISP details, most of which I would imagine are configured directly on the router except authentication.
https://www.spark.co.nz/help/internet/set-up/non-spark-modem/
Any ideas? Cheers
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #6 on:
August 20, 2021, 01:05:24 pm »
Ok things are looking better now. I ticked
This connection does not require an immediate gateway or something along those lines. I think it is connected now (screenshot attached).
However, I have no DNS and no route to host when pinging 8.8.8.8 (no DNS with google.com)
Cheers
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #7 on:
August 20, 2021, 01:08:00 pm »
I think I have NAT setup, the first box ticked out of the 4
Attached.
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #8 on:
August 20, 2021, 01:31:23 pm »
Ok i stuffed up and have screwed myself out of OPNSense.
I put a static route in
Gateway: 192.168.1.0/24
Destination: IPv4_WAN
now I cannot access OPNSense anymore.
Any ideas haha?
Logged
chemlud
Hero Member
Posts: 2481
Karma: 112
Re: OPNSense and PPPoE Router questions
«
Reply #9 on:
August 20, 2021, 02:12:56 pm »
connect via serial console and use the menu there.
Have you configured PPPoE in OPNsense? Or in the modem? When the modem is bridged, the credentials will be needed in OPNsense for PPPoE. Do you have the password for the connection? Or is it only available in the Spark?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #10 on:
August 21, 2021, 01:12:44 am »
Yes I have configured the WAN interface to use PPPoE and entered all details. It shows WANIPv4 as connected so I assume that it is connected fine.
However when trying to ping 8.8.8.8 I get no route to host, and dns failure when trying to ping google.com
See attached of my WAN status.
Thanks
«
Last Edit: August 21, 2021, 01:47:16 am by deanfourie
»
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #11 on:
August 21, 2021, 03:22:42 am »
Please anyone,
Im urgently awaiting a response to try get this working.
Regards
Logged
deanfourie
Newbie
Posts: 23
Karma: 0
Re: OPNSense and PPPoE Router questions
«
Reply #12 on:
August 21, 2021, 03:35:21 am »
From my log.
Date
Process
Line
2021-08-21T13:34:09 ppp[41221] [wan_link0] Link: reconnection attempt 28 in 1 seconds
2021-08-21T13:34:09 ppp[41221] [wan_link0] LCP: Down event
2021-08-21T13:34:09 ppp[41221] [wan_link0] Link: DOWN event
2021-08-21T13:34:09 ppp[41221] [wan_link0] PPPoE node for link is not initialized
2021-08-21T13:34:09 ppp[41221] [wan_link0] PPPoE: Error creating ng_pppoe node on pppoe0:
2021-08-21T13:34:09 ppp[41221] [pppoe0] Cannot send a netgraph message: pppoe0:: No such file or directory
2021-08-21T13:34:09 ppp[41221] [wan_link0] Link: reconnection attempt 27
2021-08-21T13:34:08 ppp[41221] [wan_link0] Link: reconnection attempt 27 in 1 seconds
2021-08-21T13:34:08 ppp[41221] [wan_link0] LCP: Down event
2021-08-21T13:34:08 ppp[41221] [wan_link0] Link: DOWN event
2021-08-21T13:34:08 ppp[41221] [wan_link0] PPPoE node for link is not initialized
2021-08-21T13:34:08 ppp[41221] [wan_link0] PPPoE: Error creating ng_pppoe node on pppoe0:
2021-08-21T13:34:08 ppp[41221] [pppoe0] Cannot send a netgraph message: pppoe0:: No such file or directory
2021-08-21T13:34:08 ppp[41221] [wan_link0] Link: reconnection attempt 26
2021-08-21T13:34:06 ppp[41221] [wan_link0] Link: reconnection attempt 26 in 2 seconds
2021-08-21T13:34:06 ppp[41221] [wan_link0] LCP: Down event
2021-08-21T13:34:06 ppp[41221] [wan_link0] Link: DOWN event
2021-08-21T13:34:06 ppp[41221] [wan_link0] PPPoE node for link is not initialized
2021-08-21T13:34:06 ppp[41221] [wan_link0] PPPoE: Error creating ng_pppoe node on pppoe0:
2021-08-21T13:34:06 ppp[41221] [pppoe0] Cannot send a netgraph message: pppoe0:: No such file or directory
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: OPNSense and PPPoE Router questions
«
Reply #13 on:
August 21, 2021, 03:44:50 am »
This any help?
https://www.geekzone.co.nz/forums.asp?forumid=39&topicid=257136&page_no=36#2489354
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: OPNSense and PPPoE Router questions
«
Reply #14 on:
August 21, 2021, 04:05:04 am »
I just wonder if you are using the right ports on the smart modem. Shouldn’t the WAN port go out of the wall, and the LAN port be connected to the WAN port of OPNsense?
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSense and PPPoE Router questions