[Openswan Users] L2TP on WindowsXP as client and Mandrake10 as server

Marius Sbera marius.sbera at gmail.com
Wed Jan 12 10:29:25 CET 2005


Hi,

has anyone configured Openswan-2.2.0 with L2TP to work on Mandrake 10
with Shorewall firewall? I can access my server over simple IPsec but
not when using L2TP. Do I need to configure something else?

The error from auth.log is:
"roadwarrior-l2tp"[2] SERVER_REAL_IP #1: cannot respond to IPsec SA
request because no connection is known for ...

but in messages log file I have:
kernel: udp_encap_rcv(): Unhandled UDP encap type: 1


Here is my ipsec.conf:

config setup
    interfaces=%defaultroute
    nat_traversal=yes
    virtual_private=%v4:192.168.100.0/24
    klipsdebug=all
    plutodebug=all

conn %default
    keyingtries=1
    authby=rsasig
    compress=yes
    disablearrivalcheck=no
    leftrsasigkey=%cert
    rightrsasigkey=%cert
    
conn roadwarrior
    left=SERVER_REAL_IP
    leftsubnet=192.168.100.0/24
    pfs=no
    auto=add
    leftcert=mycert.pem
    right=%any
    rightsubnet=vhost:%no,%priv
    
conn roadwarrior-l2tp
    leftprotoport=17/0
    rightprotoport=17/1701
    left=SERVER_REAL_IP
    leftsubnet=192.168.100.0/24
    pfs=no
    auto=add
    leftcert=mycert.pem
    right=%any
    rightsubnet=vhost:%no,%priv


conn block
    auto=ignore

conn clear
    auto=ignore

conn private
    auto=ignore

conn private-or-clear
    auto=ignore

conn clear-or-private
    auto=ignore

conn packetdefault
    auto=ignore


More information about the Users mailing list