Hi,
i try to setup an freeswan tunnel. Everything works fine, both freeswan
server are connected
via pppoe and i can successfully establish the tunnel. I configured freeswan
with uniqueids=yes,
so i thought, if i reboot one machine, it must be automatic reconnect
(uniqueids) but it doesn't.
One side is connected via static ip and one via dynamic ip. I Also have an
entry in
/etc/ppp/ip-up.d/ipsec to start and in /etc/ppp/ip-down.d/ipsec to stop
ipsec.

What made i wrong?

Thanks in advance.

Here are my config files:
ipsec.conf

Side A:                                         Side B:
config setup                                    config setup
        interfaces=%defaultroute                                
interfaces=%defaultroute
        klipsdebug=none                                 klipsdebug=none
        plutodebug=none                                 plutodebug=none
        plutoload=%search                                       plutoload=%search
        plutostart=%search                              plutostart=%search
        uniqueids=yes                                   uniqueids=yes

conn %default                                   conn %default
        keyingtries=0                                   keyingtries=0
        type=tunnel                                     type=tunnel
        auth=esp                                                auth=esp
        esp=3des-sha1-69                                        esp=3des-sha1-69
        authby=secret                                   authby=secret
        ikelifetime=1h                                  ikelifetime=1h
        keylife=1h                                              keylife=1h
        keyexchange=ike                                 keyexchange=ike
        pfs=no                                          pfs=no
        left=%defaultroute                                      left=%defaultroute
        leftsubnet=192.168.82.0/24                              
leftsubnet=192.168.81.0/24
        [EMAIL PROTECTED]                               [EMAIL PROTECTED]

conn home2work
        right=xx.dyndns.org                             right=yy.yy.yy.yy
        rightsubnet=192.168.81.0/24                     rightsubnet=192.168.82.0/24
        [EMAIL PROTECTED]                               [EMAIL PROTECTED]
        auto=start                                              auto=start

ipsec.secrets Side A:
@intern.home.de @intern.work.de : PSK "secretkey"

ipsec.secrets Side B:
@intern.work.de @intern.home.de : PSK "secretkey"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to