public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Wolfgang Apolinarski <wolfgang@apolinarski.de>
To: development@lists.ipfire.org
Subject: IPsec default to rekey=no - tests
Date: Fri, 05 Jun 2015 15:55:34 +0200	[thread overview]
Message-ID: <000c01d09f97$4b484550$e1d8cff0$@apolinarski.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]

Hi!

I performed some tests with ipfire and the Windows VPN client (for the
rekey=no issue). I usually use short-time VPN connections (<3 hours), so I
did not  recognize any problems.

During the tests, I did not find any configuration that allowed me a stable
VPN connection, all connections drop after 3-4 hours (IKE re-negotiation,
CHILD_SA re-negotiation works fine). The problem could also be located in
one of the used routers... If you have any suggestion on what configuration
I should test as well, please let me know.

My default configuration (1st try):
conn WinAndroidVPN
    left=%defaultroute
    leftsubnet=0.0.0.0/0
    leftfirewall=yes
    lefthostaccess=yes
    leftallowany=yes
    leftcert=/var/ipfire/certs/hostcert.pem
    ike=aes256-sha1-modp1024!
    esp=aes256-sha1!
    right=%any
    keyexchange=ikev2
    compress=yes
    dpdaction=clear
    dpddelay=30s
    auto=add
    rightsourceip=%dhcp
    ikelifetime=4h
    lifetime=2h
    keylife=8h
    rightcert=/var/ipfire/certs/WinAndroidVPNcert.pem

The protocol for this config is located here: http://pastebin.com/iXjjp71R

2nd try changes:
ikelifetime=4h
lifetime=90m
The protocol for the 2nd config is located here:
http://pastebin.com/xyarBvub

3rd try changes:
rekey=no
ikelifetime=4h
lifetime=2h
The protocol for the 3rd config is located here:
http://pastebin.com/jmPNzxUX

So, sorry, I was not able to find a stable connection and have no suggestion
on how to change the default config such that a stable connection with
Windows 7/8.1 is possible.

Best regards,
Wolfgang




             reply	other threads:[~2015-06-05 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05 13:55 Wolfgang Apolinarski [this message]
2015-06-05 14:30 ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01d09f97$4b484550$e1d8cff0$@apolinarski.de' \
    --to=wolfgang@apolinarski.de \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox