Created
July 19, 2013 20:14
-
-
Save farcaller/6042025 to your computer and use it in GitHub Desktop.
Gentoo IPSec
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
path pre_shared_key "/etc/racoon/psk.txt"; | |
path certificate "/etc/racoon/certs"; | |
listen { | |
isakmp 198.51.100.1 [500]; | |
isakmp_natt 198.51.100.1 [4500]; | |
} | |
remote anonymous { | |
proposal_check obey; | |
passive on; | |
exchange_mode main,aggressive; | |
my_identifier fqdn "fqdn.example.net"; | |
mode_cfg on; | |
verify_cert off; | |
ike_frag on; | |
generate_policy on; | |
nat_traversal on; | |
dpd_delay 20; | |
proposal { | |
encryption_algorithm aes; | |
hash_algorithm sha1; | |
authentication_method xauth_psk_server; | |
dh_group 2; | |
} | |
} | |
mode_cfg { | |
conf_source local; | |
auth_source system; | |
save_passwd on; | |
dns4 8.8.8.8; | |
network4 10.0.0.1; | |
pool_size 255; | |
} | |
sainfo anonymous { | |
encryption_algorithm aes; | |
authentication_algorithm hmac_sha1; | |
compression_algorithm deflate; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment