[Openswan Users] interface ipsec0 missing

Osvaldo Alvarez Pozo nebano at gmail.com
Thu Jul 26 18:26:30 EDT 2007


Hi I have debian etch 2.6.18-4-686 #1 SMP selon uname -a
i did apt-get install openswan then I configured ipsec.conf like this:

# /etc/ipsec.conf - Openswan IPsec configuration file
# RCSID $Id: ipsec.conf.in,v 1.15.2.4 2006/07/11 16:17:53 paul Exp $

# This file:  /usr/share/doc/openswan/ipsec.conf-sample
#
# Manual:     ipsec.conf.5


version 2.0     # conforms to second version of ipsec.conf specification

# basic configuration
config setup
        # plutodebug / klipsdebug = "all", "none" or a combation from below:
        # "raw crypt parsing emitting control klips pfkey natt x509 private"
        # eg:
        # plutodebug="control parsing"
        #
        interfaces="ipsec0=eth1"
        plutodebug=all
        # Only enable klipsdebug=all if you are a developer
        #
        # NAT-TRAVERSAL support, see README.NAT-Traversal
        nat_traversal=no
        # virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
        #
        # enable this if you see "failed to find any available worker"
        nhelpers=0

# Add connections here

# sample VPN connections, see /etc/ipsec.d/examples/
include /etc/ipsec.d/tunel.conf
#Disable Opportunistic Encryption
include /etc/ipsec.d/examples/no_oe.conf

the file # /etc/ipsec.d/tunel.conf

conn tpublic
        type=tunnel
        keyexchange=ike
        ike=3des-md5-modp1024
        ikelifetime=3600
        keylife=3600
        pfsgroup=modp1024
        left=210.23.34.2
        leftsubnet=192.168.4.240/29
        right=33.206.20.16
        authby=secret
        pfs=no
        rightsubnet=192.168.8.240/29
        rightid=10.67.34.13
        auto=add
        auth=esp
        esp=3des-md5
        compress=no

Selon /etc/init.d/ipsec status
IPsec running  - pluto pid: 3029
pluto pid 3029
1 tunnels up
but when i do ifconfig i do not see ipsec0

Where is my problem, is there a step i did not do?

Thanks  in advance.


More information about the Users mailing list