setkey.sh

来自「This a good VPN source」· Shell 代码 · 共 19 行

SH
19
字号
#!/bin/shauthkey=0x87658765876587658765876587658765key=0x4142434445464649494a4a4c4c4f4f515152525454575758 # is a key with bad parity in the first subkey.ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto esp --src 192.1.2.23 --esp 3des-md5-96 --enckey $key --authkey $authkeykey=0x4043434545464649494a4b4c4c4f4f515152525454575758# is a key with bad parity in the second subkey.ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto esp --src 192.1.2.23 --esp 3des-md5-96 --enckey $key --authkey $authkeykey=0x4043434545464649494a4a4c4c4f4f515152525454565758 # is a key with bad parity in the third subkey.ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto esp --src 192.1.2.23 --esp 3des-md5-96 --enckey $key --authkey $authkey

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?