> Marko Bauhardt <marko.bauhardt@mailbox.org> hat am 31.12.2020 00:05 geschrieben:
>
>
> Hi,
> I have a dell xps laptop with OpenBsd 6.8 running. I want to connect to an IKEv1 L2TP VPN Server.
>
> I followed the steps on https://www.openbsd.org/faq/faq17.html#clientikev1
> and /usr/local/share/doc/pkg-readmes/xl2tpd
>
> I created the following config files....
I'm now able to connect. I believe I did some misconfiguration.
Just for closing this thread, here are the configs
/etc/ipsec.conf
ike dynamic esp transport proto udp from egress to vpn_server port l2tp \
main auth "hmac-sha1" enc "aes-128" group modp2048 \
quick auth "hmac-sha1" enc "aes-128" \
psk pre-shared-secret
/etc/xl2tpd/xl2tpd.conf
[global]
debug avp = yes
debug network = yes
debug state = yes
debug tunnel = yes
port = 1701
[lac office]
lns = vpn_server
ppp debug = yes
pppoptfile = /etc/ppp/options.office
/etc/ppp/options.office
ipcp-accept-local
ipcp-accept-remote
noccp
noauth
mtu 1400
mru 1400
debug
lock
user my_username
netmask 255.255.255.255
/etc/ppp/pap-secrets
my_username * my_pwd
Marko
No comments:
Post a Comment