RTX1200側のコンフィグは以下です(Thanks @panakuma) https://gist.github.com/panakuma/c9db75458afd6356754917d25619a510
Forked from tumugin/VyOSとRTX1200でIPSec(Vyos側がレスポンダ).txt
Created
March 6, 2021 01:08
-
-
Save hashy0917/3e1af76ef8510d093a528fd1a6a5429e 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
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