OPNsense Forum

English Forums => General Discussion => Topic started by: ioxie on March 28, 2018, 09:56:30 pm

Title: No internet PPPoE setup
Post by: ioxie on March 28, 2018, 09:56:30 pm
Hello,

As you can see, I'm new around here. I don't have too much experience and knowledge, and not so much time researching everything. But I'll start this discussion, maybe some else finds it useful (as elektroinside said).

I'm tying to setup OPNsense on a box with GA Z370N-WIFI / i3-8100.
Setup needed:
- WAN - PPPoE
- LAN (to switch)
- 4G LTE modem (for failover)
- IPsec IKEv2 (CA cert auth)
- DHCP, DNS ...

Later on: IDS/IPS and other security improvements, WiFi Guest network(if it works)

The issue:
I've installed OPNsense (OPNsense-18.1-OpenSSL-vga-amd64). Changed the LAN IP with 10.0.0.1/23 and set the PPPoE credentials. Left other things as is.
The internet is not working from LAN, not even resolving the DNS, but I'm able to ping outside from the OPNsense box.
See ipv4 routes in the attached image.

Might it be something related to this(https://github.com/opnsense/core/issues/2186) issue? If yes, what can I do about it? :D
Title: Re: No internet PPPoE setup
Post by: ioxie on March 28, 2018, 10:48:30 pm
Well, solved the problem. Of course I can't set the LAN to 10.0.0.1/23 since 10.0.0.1 is the PPPoE Gateway IP.
Title: Re: No internet PPPoE setup
Post by: elektroinside on March 28, 2018, 11:08:47 pm
Heh, glad you worked it out.
We actually have a very similar setup, almost the same hardware, same ISP (except maybe that i'll be using a second Mikrotik for the failover multiwan setup with a Huawei 3G modem in it, the first one i use for the guest wifi network, which works, btw, very well, you just have to isolate it as per the manual or similar to it). Note that you cannot have the same gateway for both WANs, it will not work, so check the modem just to be sure, if you got it from RDS.

Welcome to OPNsense!
Title: Re: No internet PPPoE setup
Post by: elektroinside on March 28, 2018, 11:14:54 pm
Oh, one more thing, you might want to take a look at this:

https://forum.opnsense.org/index.php?topic=7690.0
Title: Re: No internet PPPoE setup
Post by: elektroinside on March 29, 2018, 07:45:40 am
Question: did you managed to install 18.1 directly without getting a segmentation fault error? Or you worked around the issue by installing 17.5 first, then upgrade to 18.1.5?
Title: Re: No internet PPPoE setup
Post by: ioxie on March 29, 2018, 10:19:48 am
I istalled it directly. It was pretty straight forward, no issue with the installation.
Downloaded the image, uncompressed it and used https://etcher.io/ to write it to USB flash drive.
Then, on the box, booted from the USB, ran the installer and that's it.
Title: Re: No internet PPPoE setup
Post by: elektroinside on March 29, 2018, 01:35:41 pm
Thank you for your feedback :)