Chciałem skonfigurować i zainstalować pakiet Openswan. Po zainstalowaniu pakietu OpenSwan oraz po skonfigurowaniu pliku ipsec.conf przy jego uruchomieniu poleceniem /etc/init.d/ipsec start otrzymuje komunikat "ipsec_setup: (/etc/ipsec.conf, line 35) parametr is not within a section -- 'start' aborted" Przeglądałem juz tez plik kilkadziesiąt razy ale nie widzę błędu w linii numer 35 (numer IP jest wpisany prawidłowo). Czy Ktoś może mi pomóc ?
Zawartosc pliku ipsec.conf
Kod: Zaznacz cały
# RCSID $Id: ipsec.conf.in,v 1.15.2.2 2005/11/14 20:10:27 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"
#
# Only enable klipsdebug=all if you are a developer
#
# NAT-TRAVERSAL support, see README.NAT-Traversal
# nat_traversal=yes
# virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%4:172.16.0.0/12
#interfaces="ipsec0=eth0"
# Add connections here
#conn %default
#auth=esp
#esp=aes-sha2_256-256
#ike=aes-sha1-modp8192
#keylife=2h
# sample VPN connection
#conn nowy1
# Left security gateway, subnet behind it, nexthop toward right.
# type= tunnel
# authby= secret
left = 192.168.10.10 [b]#pechowa linia numer 35[/b]
leftsubnet= 192.168.10.0/24
leftnexthop= %defaultroute
# Right security gateway, subnet behind it, nexthop toward left.
right=192.168.10.113
rightsubnet=192.168.10.0/24
rightnexthop=%defaultroute
# esp= 3des-md5
# keyexchange= ike
# pfs= no
# # To authorize this connection, but not actually start it,
# # at startup, uncomment this.
# auto=start
#Disable Opportunistic Encryption
#include /etc/ipsec.d/examples/no_oe.conf
Kaka'