editor
706
edits
This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!
mNo edit summary |
|||
(12 intermediate revisions by 2 users not shown) | |||
<indicator name="Tunnels">[[File:Menu-IPsec.svg|link=:Category:
See also: [[FireBrick Road Warrior strongSwan]]
=Linux (CentOS Openswan) Example Using IKE2 and Preshared keys=
(strongswan is much nicer, but not in yum on centos5. On centos6, use strongswan)
In <tt>/etc/ipsec.conf</tt> uncomment
include /etc/ipsec.d/*.conf
Put following two files in <tt>/etc/ipsec.d/
file: myFireBrick.conf:
<syntaxhighlight lang="bash">
conn myFireBrick
authby=secret
Put the following in the FB at the other end:
<syntaxhighlight
<connection name="IPSec" peer-ips="CentOS.IP.Address" auth-method="Secret" secret="YourSecretHere"
</syntaxhighlight>
file: /etc/ipsec.conf
<syntaxhighlight
authby=secret
auto=start
file: /etc/ipsec.secrets
<syntaxhighlight
strongSwan.IP FireBrick.IP : PSK "YourSecretHere"
</syntaxhighlight>
Put the following in the FB at the other end:
<syntaxhighlight
<connection name="IPSecTostrongSwan" peer-ips="strongSwan.IP" auth-method="Secret" secret="YourSecretHere"
</syntaxhighlight>
[[Category:
|