IPsec Separate Pools: Difference between revisions
(Created page with "<indicator name="Tunnels">link=:Category:FireBrick IPsec|30px|Back up to the FireBrick IPsec Tunnels Category Page</indicator> With RoadWarriors you...") |
mNo edit summary |
||
Line 12: | Line 12: | ||
# set acme-hostname to include the two hostnames, and certificates will be created automagically |
# set acme-hostname to include the two hostnames, and certificates will be created automagically |
||
# Create two roaming pools |
# Create two roaming pools |
||
# Create two IKE connections, one for one of the hostnames, and be sure to set local-ip, local-ID (FQDN:vpn1.example.com), auth-method= |
# Create two IKE connections, one for one of the hostnames, and be sure to set local-ip, local-ID (FQDN:vpn1.example.com), auth-method=Certificate, peer-auth-method=EAP, and roaming-pool to the pool you want. |
||
# create firewall rules as required |
# create firewall rules as required |
||
Latest revision as of 14:35, 18 July 2023
With RoadWarriors you may want to allocate people from different roaming pool - that way you can firewall the roaming pools in different ways.
Due to differences in IKE clients - mainly Windows as you can't set the 'Remote ID' like you can on OSX, the set up is a little involved.
The summary of the config is as follows:
- The FireBrick needs two separate IP addresses
- Create two separate hostnames for the FireBrick, eg vpn1.example.com, vpn2.example.com each pointing to one of the IP addresses
- set acme-hostname to include the two hostnames, and certificates will be created automagically
- Create two roaming pools
- Create two IKE connections, one for one of the hostnames, and be sure to set local-ip, local-ID (FQDN:vpn1.example.com), auth-method=Certificate, peer-auth-method=EAP, and roaming-pool to the pool you want.
- create firewall rules as required
Example IKE config snippet:
...
<connection name="RoadWarriors-1" local-ip="x.x.x.1" graph="IPSEC:RoadWarroirs-1" local-ID="FQDN:vpn1.example.com" roaming-pool="roam-pool-1" auth-method="Certificate" peer-auth-method="EAP" dead-peer-detect="0"/>
<connection name="RoadWarriors-2" local-ip="x.x.x.2" graph="IPSEC:RoadWarroirs-2" local-ID="FQDN:vpn1.example.com" roaming-pool="roam-pool-2" auth-method="Certificate" peer-auth-method="EAP" dead-peer-detect="0"/>
...
<roaming name="roam-pool-1" ip="10.0.10.1-10" DNS="217.169.20.20 217.169.20.21"/>
<roaming name="roam-pool-2" ip="10.0.10.11-20" DNS="217.169.20.20 217.169.20.21"/>
...