Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------ipsec.conf----------------------------
- config setup
- cachecrls=no
- strictcrlpolicy=no
- uniqueids=yes
- conn cisco_accounts
- aggressive = yes
- auto = add
- esp = aes128-sha1
- ike = aes128-sha1-modp1024
- keyexchange = ikev1
- left = 10.1.1.30
- leftauth = psk
- leftsubnet = 0.0.0.0/0
- right = %any
- rightauth = psk
- rightauth2 = xauth
- rightsourceip = 172.16.1.0/24
- rightsubnet = 172.16.1.0/24
- xauth_identity = accounts
- conn cisco_staff
- aggressive = yes
- auto = add
- esp = aes128-sha1
- ike = aes128-sha1-modp1024
- keyexchange = ikev1
- left = 10.1.1.30
- leftauth = psk
- leftsubnet = 172.16.1.0/24
- right = %any
- rightauth = psk
- rightauth2 = xauth
- rightsourceip = 172.16.1.0/24
- rightsubnet = 172.16.1.0/24
- xauth_identity = staff
- ----------------------------------ipsec.secrets-----------------------------------
- %any : PSK "secret"
- accounts : XAUTH "accountspwd"
- staff : XAUTH "cisco2pwd"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement