Perfect thanks Tobias I will try and upgrade my current version to the latest one....
Regards, Adrian Milanoski Lab Administrator BBOS WiFI VPN. Security Testing – R&D Tel.(289) 261-5801 | Cel: (647) 289-261-5801 Email [email protected] -----Original Message----- From: Tobias Brunner [mailto:[email protected]] Sent: Tuesday, November 05, 2013 12:45 PM To: Adrian Milanoski; [email protected] Subject: Re: [strongSwan] Allowing Certain Ranges to use certain PSK in ipsec.secerts Hi Adrian, > Is it possible to setup ipsec.secrets to allow only certain subnets to > use certain PSKs > > 24.177.*.* : PSK “tempskforme” > > Is this at all possible? How can I control which subnets are allowed > to access my GW? With the just released strongSwan 5.1.1 this should be possible. This release allows you to configure right=<subnet>,<or range>,<or single ips>,<or mixed> instead of right=%any. Then instead of configuring an IP address in ipsec.secrets you'd configure a specific leftid for each of your connections (of course, your clients have to accept/use that ID as rightid), and then use that ID in ipsec.secrets to select the secret. Regards, Tobias --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. _______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
