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!
(internal to local) |
|||
(3 intermediate revisions by the same user not shown) | |||
<indicator name="Tunnels">[[File:Menu-IPsec.svg|link=:Category:FireBrick IPsec|30px|Back up to the FireBrick IPsec Tunnels Category Page]]</indicator>
=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:
Put the following in the FB at the other end:
<syntaxhighlight lang="xml">
<connection name="IPSec" peer-ips="CentOS.IP.Address" auth-method="Secret" secret="YourSecretHere" local-ip="FireBrick.LAN.IP.Address
</syntaxhighlight>
file: /etc/ipsec.conf
<syntaxhighlight lang="bash">
authby=secret
auto=start
Put the following in the FB at the other end:
<syntaxhighlight lang="xml">
<connection name="IPSecTostrongSwan" peer-ips="strongSwan.IP" auth-method="Secret" secret="YourSecretHere" local-ip="FireBrick.LAN.IP.Address
</syntaxhighlight>
|