| IKE encryption | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Method: |
DES | BLOWFISH | 3DES | CAST | AES | SERPENT | TWOFISH | SSH_PRIVATE | |
| Check Point Firewall-1 NG FP-2 |
|
no |
|
yes (128) |
(256) |
no | no |
| |
| Linux FreeS/WAN 1.96 |
|
no |
|
no |
|
no | no |
| |
| Result (AND'ed) | no | no | yes | no | no | no | no | no | |
| Linux FreeS/WAN 1.98b | no | yes, with patch | yes | yes1 | yes1 (128,256) |
yes1 | yes1 | yes1 | |
| Result (AND'ed) |
|
|
|
working2 (128) |
working2 (256) |
|
|
| |
| IKE integrity | IKE authentication | ||||||
|---|---|---|---|---|---|---|---|
|
Method: |
MD5 | SHA1 | SHA2 | Pre-Shared Secret | Public Key Signatures | ||
| Check Point Firewall-1 NG FP-2 | yes |
|
|
yes | yes | ||
| Linux FreeS/WAN 1.96 | yes |
|
|
yes | yes3 | ||
| Result (AND'ed) | yes | incompatible | no | working | working | ||
| Linux FreeS/WAN 1.98b | yes | yes |
(256,512) |
yes | yes3 | ||
| Result (AND'ed) |
|
|
no | working | working | ||
| Diffie-Hellman Groups | Perfect Forward Secrecy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 768 | 1024 | 1536 | 2048 | 3072 | 4096 | ||||
| Check Point Firewall-1 NG FP-2 | yes |
|
|
no | no | no | yes | ||
| Linux FreeS/WAN 1.96 | yes |
|
|
no | no | no | yes | ||
| Result (AND'ed) | no | working | working | no | no | no | incompatible | ||
| Linux FreeS/WAN 1.98b | yes | yes |
|
yes1 | yes1 | yes1 | yes | ||
| Result (AND'ed) |
|
|
working | no | no | no | working | ||
| Payload encryption | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Method: |
DES | BLOWFISH | 3DES | CAST | AES | SERPENT | TWOFISH | SSH_PRIVATE | |
| Check Point Firewall-1 NG FP-2 |
(40,56) |
no |
|
yes (40,128) |
(128,256) |
no | no |
| |
| Linux FreeS/WAN 1.96 |
|
no |
|
no |
|
no | no |
| |
| Result (AND'ed) | no | no | yes | no | no | no | no | no | |
| Linux FreeS/WAN 1.98b | no | yes1 | yes | yes1 | yes1 (128,256) |
yes1 | yes1 | yes1 | |
| Result (AND'ed) |
|
|
|
working (40,128) |
working (128,256) |
|
|
| |
| IKE integrity | Compression | |||||
|---|---|---|---|---|---|---|
|
Method: |
MD5 | SHA1 | SHA2 | DEFLATE | ||
| Check Point Firewall-1 NG FP-2 | yes |
|
|
yes | ||
| Linux FreeS/WAN 1.96 | yes |
|
|
yes | ||
| Result (AND'ed) | yes | incompatible | no | working | ||
| Linux FreeS/WAN 1.98b | yes | yes |
(256,512) |
yes | ||
| Result (AND'ed) |
|
|
no | working | ||
That's easy, no screenshots should be required
Check whether VPN-1 Pro is enabled
Of course VPN-1 module must be licensed ;-)
Define topology and VPN domain
Define IKE properties
Public Key Signatures:
Linux gateway has to be created as "Interoperable Device"
Define topology and VPN domain
Import external OPSEC CA certificate (only needed for Public Key Signatures)
Import a CA certificate as type OPSEC from external, is needed for validating the certificate of a remote FreeS/WAN gatewayDefine IKE properties
Public Key Signatures:
Switch to traditional mode
And create a new policy afterwards
Gateway-to-gateway rulesets
![]()
Network-to-network rulesets
![]()
Properties of encryption
That's easy, no screenshots should be required - good luck!
Log viewer should display following, after on Linux FreeS/WAN IPSec was restarted (use "fw log -tfln" to get log output on console):14:30:18 accept >eth0 product VPN-1 & FireWall-1 src 1.2.3.5 s_port IKE dst 1.2.3.4 service IKE proto udp rule 014:30:18 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 peer gateway 1.2.3.5 scheme: IKE IKE: Main Mode completion. CookieI cd4facedc444d81c CookieR 399e1a8b6543e4c2 methods: 3DES + MD5, Pre shared secrets14:30:18 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 srckeyid 0xdb3ca7ba dstkeyid 0xd0932dbe peer gateway 1.2.3.5 scheme: IKE IKE: Quick Mode Sent Notification: Responder Lifetime CookieI cd4facedc444d81c CookieR 399e1a8b6543e4c2 msgid 39d92aae14:30:18 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 srckeyid 0xdb3ca7ba dstkeyid 0xd0932dbe peer gateway 1.2.3.5 scheme: IKE IKE: Quick Mode completion CookieI cd4facedc444d81c CookieR 399e1a8b6543e4c2 msgid 39d92aae methods: ESP: 3DES + MD5 IKE IDs: subnet: 172.16.1.0 (mask= 255.255.255.0) and subnet: 172.16.2.0 (mask= 255.255.255.0)14:30:18 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 srckeyid 0xdb3ca7bb dstkeyid 0xd0932dbf peer gateway 1.2.3.5 scheme: IKE IKE: Quick Mode Sent Notification: Responder Lifetime CookieI cd4facedc444d81c CookieR 399e1a8b6543e4c2 msgid 881b521b14:30:18 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 srckeyid 0xdb3ca7bb dstkeyid 0xd0932dbf peer gateway 1.2.3.5 scheme: IKE IKE: Quick Mode completion CookieI cd4facedc444d81c CookieR 399e1a8b6543e4c2 msgid 881b521b methods: ESP: 3DES + MD5 IKE IDs: host: 1.2.3.4 and host: 1.2.3.5
16Apr2002 16:43:56 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 peer gateway 1.2.3.5 scheme: IKE IKE: Main Mode completion. CookieI d06d13f95066ba08 CookieR fce7a3180b16f5bd methods: 3DES + MD5, RSA signatures16Apr2002 16:43:56 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 srckeyid 0x6c916c22 dstkeyid 0x2764eed3 peer gateway 1.2.3.5 scheme: IKE IKE: Quick Mode Sent Notification: Responder Lifetime CookieI d06d13f95066ba08 CookieR fce7a3180b16f5bd msgid 3fe711b616Apr2002 16:43:56 keyinst >daemon src 1.2.3.5 dst 1.2.3.4 srckeyid 0x6c916c22 dstkeyid 0x2764eed3 peer gateway 1.2.3.5 scheme: IKE IKE: Quick Mode completion CookieI d06d13f95066ba08 CookieR fce7a3180b16f5bd msgid 3fe711b6 methods: ESP: 3DES + MD5 IKE IDs: host: 1.2.3.4 and host: 1.2.3.5
Edit /etc/ipsec.conf
## Gateway-to-gateway: Check Point <-> FreeS/WAN conn checkpoint-freeswan type=tunnel # Left side is Check Point left=1.2.3.4 # leftnexthop= # Right side is FreeS/WAN right=1.2.3.5 # rightnexthop= keyexchange=ike auth=esp pfs=no auto=start authby=secretconn net-checkpoint-net-freeswan type=tunnel left=1.2.3.4 # leftnexthop= leftsubnet=172.16.1.0/24 right=1.2.3.5 # rightnexthop= rightsubnet=172.16.2.0/24 keyexchange=ike auth=esp pfs=no auto=start authby=secret
Edit /etc/ipsec.secrets
1.2.3.4 1.2.3.5: "verysecret"
Good luck!# service ipsec restart
Mar 25 15:44:58 ipsec__plutorun: Starting Pluto subsystem... Mar 25 15:44:58 Pluto[3160]: Starting Pluto (FreeS/WAN Version 1.96) Mar 25 15:44:59 Pluto[3160]: added connection description "net-checkpoint-net-freeswan" Mar 25 15:44:59 Pluto[3160]: added connection description "checkpoint-freeswan" Mar 25 15:44:59 Pluto[3160]: listening for IKE messages Mar 25 15:44:59 Pluto[3160]: adding interface ipsec0/eth0 1.2.3.5 Mar 25 15:44:59 Pluto[3160]: loading secrets from "/etc/ipsec.secrets" Mar 25 15:44:59 Pluto[3160]: "net-checkpoint-net-freeswan" #1: initiating Main Mode Mar 25 15:44:59 Pluto[3160]: "net-checkpoint-net-freeswan" #1: ISAKMP SA established Mar 25 15:44:59 Pluto[3160]: "net-checkpoint-net-freeswan" #2: initiating Quick Mode PSK+ENCRYPT+TUNNEL+DISABLEARRIVALCHECK Mar 25 15:44:59 Pluto[3160]: "net-checkpoint-net-freeswan" #2: ignoring informational payload, type IPSEC_RESPONDER_LIFETIME Mar 25 15:44:59 Pluto[3160]: "net-checkpoint-net-freeswan" #2: sent QI2, IPsec SA established Mar 25 15:44:59 Pluto[3160]: "checkpoint-freeswan" #3: initiating Quick Mode PSK+ENCRYPT+TUNNEL+DISABLEARRIVALCHECK Mar 25 15:44:59 Pluto[3160]: "checkpoint-freeswan" #3: ignoring informational payload, type IPSEC_RESPONDER_LIFETIME Mar 25 15:44:59 Pluto[3160]: "checkpoint-freeswan" #3: sent QI2, IPsec SA established
Edit /etc/ipsec.conf
## Gateway-to-gateway: Check Point <-> FreeS/WAN X.509 conn freeswan-checkpoint-x509 type=tunnel # Left side is Check Point left=1.2.3.4 leftrsasigkey=0x0103...... # leftid= # !do not use for Check Point! # Right side is FreeS/WAN right=1.2.3.5 rightid="/C=DE/ST=Bavaria/L=Hohenbrunn/O=AERAsec/OU=Lab/CN=Linux/Email=*******" rightrsasigkey=%cert # rightnexthop= keyexchange=ike auth=esp pfs=no auto=start authby=rsa
Edit /etc/ipsec.secrets
# Define RSA key : RSA /etc/ipsec.d/private/freeswan-key.pem "optional key passphrase here"
Good luck!# service ipsec restart
Apr 16 17:15:47 t1mobil Pluto[4269]: Starting Pluto (FreeS/WAN Version 1.96) Apr 16 17:15:47 t1mobil Pluto[4269]: including X.509 patch (Version 0.9.9) Apr 16 17:15:47 t1mobil Pluto[4269]: Changing to directory '/etc/ipsec.d/cacerts' Apr 16 17:15:47 t1mobil Pluto[4269]: loaded cacert file 'checkpoint-internal-ca.pem' (730 bytes) Apr 16 17:15:47 t1mobil Pluto[4269]: loaded cacert file 'ca-cert.pem' (1968 bytes) Apr 16 17:15:47 t1mobil Pluto[4269]: Changing to directory '/etc/ipsec.d/crls' Apr 16 17:15:47 t1mobil Pluto[4269]: loaded crl file 'checkpoint.crl' (556 bytes) Apr 16 17:15:47 t1mobil Pluto[4269]: loaded crl file 'ca-crl.pem' (772 bytes) Apr 16 17:15:47 t1mobil Pluto[4269]: loaded my X.509 cert file '/etc/x509cert.der' (1428 bytes) Apr 16 17:15:47 t1mobil Pluto[4269]: added connection description "freeswan-checkpoint-x509" Apr 16 17:15:47 t1mobil Pluto[4269]: listening for IKE messages Apr 16 17:15:47 t1mobil Pluto[4269]: adding interface ipsec0/eth0 1.2.3.5 Apr 16 17:15:47 t1mobil Pluto[4269]: loading secrets from "/etc/ipsec.secrets" Apr 16 17:15:47 t1mobil Pluto[4269]: loaded private key file '/etc/ipsec.d/private/freeswan-key.pem' (1803 bytes) Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #1: initiating Main Mode Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #1: Peer ID is ID_IPV4_ADDR: '1.2.3.4' Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #1: CRL signature is invalid Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #1: CRL signature is invalid Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #1: ISAKMP SA established Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #2: ignoring informational payload, type IPSEC_RESPONDER_LIFETIME Apr 16 17:15:48 t1mobil Pluto[4269]: "freeswan-checkpoint-x509" #2: sent QI2, IPsec SA established
No warranty at all, your Feedback is
welcome!
© 2002 AERAsec Network
Services and Security GmbH, last change 2002-07-22
back to http://www.vpn-1.de/aerasec/