Created
August 3, 2017 15:42
-
-
Save jianingy/bc29642b2075fc904ceae0b8bb442c55 to your computer and use it in GitHub Desktop.
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
# client | |
conn %default | |
keyexchange=ikev2 | |
authby=secret | |
conn roadwarrior | |
type=tunnel | |
left=192.168.224.186 | |
leftsubnet=192.168.224.186/32[icmp],192.168.224.186/32[gre] | |
right=192.168.76.9 | |
rightsubnet=192.168.76.9/32[icmp],192.168.76.9/32[gre] | |
auto=start | |
# server | |
conn %default | |
keyexchange=ikev2 | |
authby=secret | |
conn server | |
type=tunnel | |
left=192.168.76.9 | |
leftsubnet=192.168.76.9/32[icmp],192.168.76.9[gre] | |
right=%any | |
rightsubnet=192.168.224.186/32[icmp],192.168.224.186/32[gre] | |
auto=add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
conn %default
keyexchange=ikev2
authby=secret
conn server
type=tunnel
left=192.168.76.9
leftsubnet=192.168.76.9/32[icmp],192.168.76.9[gre]
right=%any
rightsubnet=192.168.224.186/32[icmp],0.0.0.0/0[gre]
auto=add