Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nano racoon.conf
- ####################
- #VPN New 28.11.2012# Life new VPN connections
- ####################
- remote 212.58.160.130[17000]
- {
- my_identifier address 79.170.224.73;
- peers_identifier address 212.58.160.130;
- exchange_mode main;
- doi ipsec_doi;
- situation identity_only;
- nonce_size 16;
- lifetime time 8 hour;
- initial_contact on;
- proposal_check obey;
- proposal {
- encryption_algorithm 3des;
- hash_algorithm sha1;
- authentication_method pre_shared_key ;
- dh_group 2;
- }
- }
- ###################################################
- ##sainfo for 28.11.2012# Life new VPN connections##
- ###################################################
- sainfo address 192.168.20.100/32 any address 172.16.197.18/32 any
- {
- # #pfs_group 2;
- lifetime time 28800 sec;
- encryption_algorithm 3des;
- authentication_algorithm hmac_sha1;
- compression_algorithm deflate;
- }
- nano setkey.conf
- spdadd 172.16.197.18/32 192.168.20.100/32 any -P out ipsec esp/tunnel/79.170.224.73-212.58.160.130/require;
- spdadd 192.168.20.100/32 172.16.197.18/32 any -P out ipsec esp/tunnel/212.58.160.130-79.170.224.73/require;
- nano /etc/ipsec-tools.conf
- spdadd 172.16.197.18/32 192.168.20.100/32 any -P out ipsec esp/tunnel/79.170.224.73-212.58.160.130/unique:31;
- spdadd 192.168.20.100/32 172.16.197.18/32 any -P out ipsec esp/tunnel/212.58.160.130-79.170.224.73/unique:32;
- nano psk.txt
- 212.58.160.130 arvTstseSSmmow3vV
- route -n
- 172.16.197.16 0.0.0.0 255.255.255.248 U 0 0 0 eth0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement