[strongSwan] Questions about virtual IP requested under IPv6 connection

Iris Su iris.rj.su at gmail.com
Tue Aug 9 09:02:36 CEST 2011


Hi,

I'm trying to setup IPv6 tunnel with virtual IP (IPv4) assigned by server.

However, I found the server will assigned virtual IP but with TS
unacceptable notify error.
The root cause is client will send out configuration request with IPv6
address type.
Is there anyway we can indicate configuration request as IPv4 or IPv6
address type?

The cnfig file on client side is

conn psk-client
        left=fec0::1
        leftsourceip=%config             <------ This setting cannot
seperate IPv4 or IPv6 requested
        keyexchange=ikev2
        authby=secret
        right=fec0::2

And the config on server side is

conn psk-server
        left=fec0::2
        keyexchange=ikev2
        authby=secret
        right=fec0::1
        rightsourceip=10.8.0.0/16
        auto=add
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20110809/39d01837/attachment.html>


More information about the Users mailing list