Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hashy0917/3e1af76ef8510d093a528fd1a6a5429e to your computer and use it in GitHub Desktop.
Save hashy0917/3e1af76ef8510d093a528fd1a6a5429e to your computer and use it in GitHub Desktop.
vpn {
ipsec {
esp-group ESP-RTX-1 {
compression disable
lifetime 3600
mode tunnel
pfs enable
proposal 1 {
encryption aes128
hash sha1
}
}
ike-group IKE-RTX-1 {
ikev2-reauth yes
key-exchange ikev2
lifetime 28800
proposal 1 {
dh-group 2
encryption 3des
hash sha1
}
}
ipsec-interfaces {
interface eth0
}
nat-traversal enable
site-to-site {
peer :: {
authentication {
id kotoha
mode pre-shared-secret
pre-shared-secret ****************
remote-id mogami
}
connection-type respond
ike-group IKE-RTX-1
ikev2-reauth inherit
local-address ::
tunnel 1 {
allow-nat-networks disable
allow-public-networks disable
esp-group ESP-RTX-1
local {
prefix fd63:7c0f:7fcc:0417::/64
}
remote {
prefix fd63:7c0f:7fcc:0765::/64
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment