-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e02236a
commit 45f2e79
Showing
5 changed files
with
153 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ipsec.conf - strongSwan IPsec configuration file | ||
# basic configuration | ||
|
||
config setup | ||
# strictcrlpolicy=yes | ||
# uniqueids = no | ||
charondebug="ike 2, knl 1, cfg 2" | ||
|
||
# Add connections here for each TEIP1...4 - conf pushed by dedicated startup_srv1...4.sh script | ||
|
||
|
||
conn %default | ||
type=tunnel | ||
leftikeport=500 | ||
rightikeport=500 | ||
mobike = no | ||
keyexchange=ikev2 | ||
keyingtries=2 | ||
esp=aes128-sha1-modp1024 | ||
ike=aes128-sha1-modp1024 | ||
ikelifetime=8h | ||
auto=add | ||
authby=secret | ||
dpdaction=restart | ||
closeaction=restart | ||
dpddelay=10s | ||
dpdtimeout=30s | ||
leftsubnet=0.0.0.0/0 | ||
#leftupdown=/sbin/ipsec.sh | ||
installpolicy=yes | ||
|
||
|
||
conn vpn-concentrator | ||
leftid=192.0.0.2 | ||
left=192.0.0.0/24 | ||
leftsubnet=10.2.2.0/24 | ||
right=192.0.0.0/16 | ||
rightsubnet=10.1.0.0/24 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# ipsec.conf - strongSwan IPsec configuration file | ||
|
||
# basic configuration | ||
|
||
config setup | ||
# strictcrlpolicy=yes | ||
# uniqueids = no | ||
charondebug="ike 2, knl 1, cfg 2" | ||
|
||
# Add connections here. | ||
|
||
|
||
conn %default | ||
type=tunnel | ||
leftikeport=500 | ||
rightikeport=500 | ||
mobike = no | ||
keyexchange=ikev2 | ||
keyingtries=2 | ||
esp=aes128-sha1-modp1024 | ||
ike=aes128-sha1-modp1024 | ||
ikelifetime=8h | ||
auto=add | ||
authby=secret | ||
dpdaction=restart | ||
closeaction=restart | ||
dpddelay=10s | ||
dpdtimeout=30s | ||
leftsubnet=0.0.0.0/0 | ||
#leftupdown=/sbin/ipsec.sh | ||
installpolicy=yes | ||
|
||
|
||
conn tun01 | ||
leftid=192.0.1.1 | ||
left=192.0.1.1 | ||
leftsubnet=10.1.0.1/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun02 | ||
leftid=192.0.2.1 | ||
left=192.0.2.1 | ||
leftsubnet=10.1.0.2/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun03 | ||
leftid=192.0.3.1 | ||
left=192.0.3.1 | ||
leftsubnet=10.1.0.3/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun04 | ||
leftid=192.0.4.1 | ||
left=192.0.4.1 | ||
leftsubnet=10.1.0.4/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun05 | ||
leftid=192.0.5.1 | ||
left=192.0.5.1 | ||
leftsubnet=10.1.0.5/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun06 | ||
leftid=192.0.6.1 | ||
left=192.0.6.1 | ||
leftsubnet=10.1.0.6/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun07 | ||
leftid=192.0.7.1 | ||
left=192.0.7.1 | ||
leftsubnet=10.1.0.7/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun08 | ||
leftid=192.0.8.1 | ||
left=192.0.8.1 | ||
leftsubnet=10.1.0.8/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun09 | ||
leftid=192.0.9.1 | ||
left=192.0.9.1 | ||
leftsubnet=10.1.0.9/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
conn tun10 | ||
leftid=192.0.10.1 | ||
left=192.0.10.1 | ||
leftsubnet=10.1.0.10/32 | ||
right=192.0.0.2 | ||
rightsubnet=10.2.2.2/32 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters