[Openswan Users] Configuration question

Douglas Caro douglas.caro at lightcomm.com.br
Fri Aug 27 09:03:08 EDT 2010


Hi!

I'm trying to connect to a server with openswan, but I can not and the 
error messages are not clear to me.
I do not have access to the right side. It is a different company at 
Argentina and I'm at Brazil!

I'm in a Linux Debian Lenny virtual machine. Openswan 2.4.12+dfsg-1.3+lenny2

My networks works like that:

VM====Firewall-----Internet------OtherCompany

My Firewall does a NAT for the VM to have a Valid Ip on Internet.

ipsec.conf
================
config setup
        plutodebug="all"
        klipsdebug="all"
        interfaces="ipsec0=eth0"
        nat_traversal=yes

include /etc/ipsec.d/examples/no_oe.conf

conn CompanyName
        auto=start
        left=192.168.5.26
        leftid=ValidIP
        leftnexthop=192.168.5.1
        leftsubnet=192.168.5.0/24
        right=CompanyIP
        rightsubnet=10.0.0.0/8
        authby=secret
        pfs=yes
        type=tunnel

================

In the syslog, I have:

kernel: NET: Unregistered protocol family 15
ipsec_setup: ...Openswan IPsec stopped
ipsec_setup: Stopping Openswan IPsec...
kernel: NET: Registered protocol family 15
kernel: padlock: VIA PadLock not detected.
kernel: Initializing IPsec netlink socket
ipsec_setup: NETKEY on eth0 192.168.5.26/255.255.255.128 broadcast 
192.168.5.127
ipsec_setup: ...Openswan IPsec started
ipsec_setup: Starting Openswan IPsec 2.4.12...
ipsec__plutorun: 104 "CompanyName" #1: STATE_MAIN_I1: initiate
ipsec__plutorun: ...could not start conn "CompanyName"

Someone can help me, please?

Thanks
Douglas


More information about the Users mailing list