OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: mimino on January 02, 2019, 04:21:16 pm

Title: Cannot create PPTP interface
Post by: mimino on January 02, 2019, 04:21:16 pm
I'm trying to set up a PPTP tunnel and ran into the issue that is very similar to this: https://github.com/opnsense/core/issues/678 (https://github.com/opnsense/core/issues/678)

Interface 'pptp0' is never created. Can someone confirm/deny if this functionality is indeed broken?
I'm running the latest:

OPNsense 18.7.9-amd64
FreeBSD 11.1-RELEASE-p17
OpenSSL 1.0.2q 20 Nov 2018

Thanks.
Title: Re: Cannot create PPTP interface
Post by: mimino on January 02, 2019, 09:38:53 pm
Seems like there's a bug filed already about inability to create l2tp interfaces: https://github.com/opnsense/core/issues/2707 (https://github.com/opnsense/core/issues/2707)

In the mean time I tried to create a tunnel manually. I created a mpd5 config file and was able to bring the tunnel up. The 'ng0' interface is being created but cannot be used in the web gui. It is also not listed as valid interface from the command prompt when I tried to do option 1) Assign interfaces via SSH. Does anyone know why?
Title: Re: Cannot create PPTP interface
Post by: mimino on January 05, 2019, 02:18:34 pm
Shameless bump, but can anyone please help create a pptp interface without GUI?
Title: Re: Cannot create PPTP interface
Post by: guest19757 on January 11, 2019, 06:40:42 am
Hello there,

I suspect, there's a disconnect between what Freebsb sees and what is stored in config.xml. Perhaps a crude experiment would to try:

Quote
If you try to add a l2tp device via Interfaces -> Point to Point -> Devices -> Add, you can insert all the details needed and save it, the web ui shows a interface l2tp0 which should be correct.

Then switch back to the console and manually add the missing interface?

Speaking for myself here, unless I tried this myself, I wouldn't have any proper advice on a workaround or help contribute to discovering the root cause.
Regards,
H