Ipsec xl2tpd verbindung nicht möglich
Hi,
Nachdem ich mein serverseitiges problem gelöst habe, scheint es als ob meine confi nicht stimmt...
xl2tpd.conf :
l2tp-secret :
pppopt.xl2tpd :
ipsec.conf :
<ipsec verify ergibt :
Kann mir da jemand weiter helfen?
Lg Richard
Nachdem ich mein serverseitiges problem gelöst habe, scheint es als ob meine confi nicht stimmt...
xl2tpd.conf :
# /etc/xl2tpd/xl2tpd.conf
[global]
listen-addr = 134.0.25.###
auth file = /etc/vp/l2tp-secret
[lns]
ip range = 10.0.0.2 - 10.0.0.12
length bit = yes
local ip = 10.0.0.1
refuse chap = yes
refuse pap = yes
require authentication = yes
unix authentication = yes
pppoptfile = /etc/vpn/pppopt.xl2tpd
challenge = yes
l2tp-secret :
# Secrets for authenticating l2tp tunnels
# us them secret
# * marko blah2
# zeus marko blah
# * * interop
* * l2tppasswd
ipcp-accept-localipcp-accept-remote
ms-dns 8.8.8.8
noccp
noauth
crtscts
idle 1800
mtu 1200
mru 1200
nodefaultroute
debug
lock
proxyarp
connect-delay 5000
ipsec.conf :
# /etc/ipsec.conf
version 2.0 # conforms to second version of ipsec.conf specification
config setup
nat_traversal=yes
virtual_private=%v4:10.0.0.0/8
protostack=netkey #protostack=mast # used for SAref + MAST only
interfaces="%defaultroute"
oe=off
conn l2tp-psk
authby=secret
pfs=no
auto=add
rekey=no
# overlapip=yes # for SAref + MAST
# sareftrack=yes # for SAref + MAST
type=transport
left=134.0.25.###
leftprotoport=17/1701
#
# The remote user.
#
right=%any
rightprotoport=17/%any
rightsubnet=vhost:%priv,%no
Checking your system to see if IPsec got installed and started correctly:Version check and ipsec on-path [OK]
Linux Openswan U2.6.28/K3.0.0-12-server (netkey)
Checking for IPsec support in kernel [OK]
NETKEY detected, testing for disabled ICMP send_redirects [OK]
NETKEY detected, testing for disabled ICMP accept_redirects [FAILED]
Please disable /proc/sys/net/ipv4/conf/*/accept_redirects
or NETKEY will accept bogus ICMP redirects!
Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [OK]
Pluto listening for NAT-T on udp 4500 [OK]
Two or more interfaces found, checking IP forwarding [OK]
Checking NAT and MASQUERADEing
Checking for 'ip' command [OK]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]
Kann mir da jemand weiter helfen?
Lg Richard
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 184059
Url: https://administrator.de/forum/ipsec-xl2tpd-verbindung-nicht-moeglich-184059.html
Ausgedruckt am: 21.04.2025 um 19:04 Uhr
3 Kommentare
Neuester Kommentar