Last active
April 29, 2016 12:56
-
-
Save prysmakou/7c573a1f0126817ec7309135cf3dde7b to your computer and use it in GitHub Desktop.
ipsec tunnel example
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
# /etc/ipsec.conf - strongSwan IPsec configuration file | |
conn customer | |
# Key info | |
ikelifetime=480m | |
keylife=480m | |
rekeymargin=3m | |
keyingtries=1 | |
keyexchange=ike | |
authby=secret | |
ike=aes256-sha1-modp1024! | |
esp=aes256-sha1! | |
mobike=no | |
reauth=no | |
# Connection info | |
auto=start | |
type=tunnel | |
# Left side (us) | |
left=10.253.0.202 | |
leftid=192.168.0.1 | |
leftsubnet=10.253.0.0/24 | |
leftfirewall=yes | |
# Right side (them) | |
right=10.0.0.1 | |
rightid=10.0.0.1 | |
rightsubnet=10.238.0.0/16 |
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
10.253.0.202 10.0.0.1 : PSK [key goes here] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment