[Openswan Users] connection from specific IP range
Gilbert Robert
robert at prolibre.com
Thu Feb 19 15:33:15 EST 2015
Hi
I would like to have a standard connection from roadwarrior2 and a specific connection
from roadwarrior1. The difference is the right range of IP. Roadwarrior1 have their IP in range 128.18/16.
conn rw1
type=transport
left=XXXXXX
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
rightsubnet=128.18.0.0/16
forceencaps=yes
conn rw2
type=transport
left=XXXXXX
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
The difference is the forceencaps and the IP address (in certain right subnet) with which roadwarrior1 connects.
But it doesn't work! How to specify that the roadwarrior with IP address in range 128.18/16
has to use conn rw1 and other roadwarriors have to use conn rw2?
Currently,in right or left section, only IPv4 and IPv6 IP addresses are supported.
Thanks for your help!
Gilbert
More information about the Users
mailing list