FireBrick to Openswan Strongswan IPsec (Howto): Difference between revisions
Appearance
Content deleted Content added
m AA-Andrew moved page FireBrick to Openswan IPsec (Howto) to FireBrick to Openswan Strongswan IPsec (Howto) |
mNo edit summary |
||
| Line 24: | Line 24: | ||
in: myFireBrick.secrets: |
in: myFireBrick.secrets: |
||
CentOS.IP.Address FireBrick.IP.Address : PSK " |
CentOS.IP.Address FireBrick.IP.Address : PSK "YourSecretHere" |
||
chkconfig ipsec on |
chkconfig ipsec on |
||
| Line 30: | Line 30: | ||
Put the following in the FB at the other end: |
Put the following in the FB at the other end: |
||
<connection name="IPSec" peer-ips=CentOS.IP.Address" auth-method="Secret" secret=" |
<connection name="IPSec" peer-ips=CentOS.IP.Address" auth-method="Secret" secret="YourSecretHere" internal-ipv4="FireBrick.LAN.IP.Address" routes="CentOS.IP.Address" log="default"/> |
||
=strongSwan= |
|||
file: /etc/ipsec.conf |
|||
conn myFireBrick |
|||
authby=secret |
|||
auto=start |
|||
left=strongSwan.IP |
|||
leftid=strongSwan.IP |
|||
leftsubnet=strongSwan.IP |
|||
right=FireBrick.IP |
|||
rightid=FireBrick.IP |
|||
rightsubnet=SUBNET.ON.FireBrick.LAN |
|||
lifetime=2m |
|||
file: /etc/ipsec.secrets |
|||
strongSwan.IP FireBrick.IP : PSK "YourSecretHere" |
|||