OPNsense Forum

English Forums => General Discussion => Topic started by: robertkwild on July 24, 2020, 12:13:08 AM

Title: configuring opnsense with l2tp/ipsec
Post by: robertkwild on July 24, 2020, 12:13:08 AM
hi all,

ive finally configured my opnsense f/w to do l2tp/ipsec, i include pics

first of i made aliases of ports and the networks for the l2tp/ipsec traffic, they are

l2tp net - 10.1.9.0/24

ipsec l2tp ports - 500,4500,1701

https://i.postimg.cc/g0VFw7x6/floating.png
https://i.postimg.cc/fLCGC0jz/ipsecl2tp.png
https://i.postimg.cc/brvKBN3Q/ipsec-mob.png
https://i.postimg.cc/vBGR5vn2/ipsec-psk.png
https://i.postimg.cc/qqZ9VV5W/ipsec-tun.png
https://i.postimg.cc/HkMFKN4P/l2tp-set.png
https://i.postimg.cc/28VsdyqY/l2tp-users.png
https://i.postimg.cc/7PsvT0ZX/out-nat.png
https://i.postimg.cc/kXzkTC8b/wan.png

on my windows client i connected it to my mobile hotspot over my mobile data and set up l2tp/ipsec vpn

the only thing i changed when configured was in the "properties" "security" and click only "CHAP"

and boom it connected straight away

the only thing is from my remote pc i cant connect or ping my other devices on my network, only my opnsense f/w, have you any idea why?

thanks,

rob
Title: Re: configuring opnsense with l2tp/ipsec
Post by: sweetfoxxy on February 27, 2021, 10:38:59 AM
Looks great!

What version of OPNsense do you use? As I know, OPNsense doesn't support L2TP since 20.7, does it?
Title: Re: configuring opnsense with l2tp/ipsec
Post by: mimugmail on February 27, 2021, 11:09:24 AM
Support was removed, yes, legacy technology