| | |
IPSec woes
Thread Solved |
•
•
Join Date: Oct 2007
Posts: 26
Reputation:
Solved Threads: 1
Hi all,
I'm in the process of attempting to set up an IPSec tunnel between two LAN's.
Here's an ASCII diagram (IP's changed):
(Lan1: 192.168.0.0/24)
|
[D-Link NetDefend
DFL-800 Firewall]
|
(Public IP1: 111.111.111.111)
|/|
|/|
|/| <-IPSec Tunnel
|/|
|/|
(Public IP2: 222.222.222.222)
|
[Fortinet Fortigate
Firewall]
(Lan2: 10.0.0.0/24)
I've configured both firewalls according to their respective manuals. This has been tricky because both vendors have varied terminology and default settings. There are also some minor variations in what extra options you have at each end.
I've added rules to both firewalls to allow traffic to pass both directions between the LAN and the IPSec interface and I've added routes to both firewalls to direct traffic intended for the remote LAN over the IPSec interface.
Here's a rough list of settings:
Authentication: Pre-shared key
IKE Encryption/Auth proposals: AES256/SHA1
IKE Life Time: 28800 sec
IKE Mode: Main, DH Group 2
IPSec Encryption/Auth proposals: AES256/SHA1
IPSec Life Time: 3600 sec/5120 KB
XAuth: Disabled
Perfect Forward Secrecy: Enabled, DH Group 5
Keep-alive: On (sends pings regularly to keep the tunnel up)
At the moment, I can see the 2 active IKE security authorities (SA's) coming up.
The IPSec tunnel however isn't coming up. The errors I'm getting from the D-Link box are:
Fortigate Errors attached (remove .txt extension).
So the errors look like something to do with IKE, "Quick Mode" failing, but I don't know much else. Any help or suggestions would be highly appreciated.
Cheers,
Chris
Perth, Australia
I'm in the process of attempting to set up an IPSec tunnel between two LAN's.
Here's an ASCII diagram (IP's changed):
(Lan1: 192.168.0.0/24)
|
[D-Link NetDefend
DFL-800 Firewall]
|
(Public IP1: 111.111.111.111)
|/|
|/|
|/| <-IPSec Tunnel
|/|
|/|
(Public IP2: 222.222.222.222)
|
[Fortinet Fortigate
Firewall]
(Lan2: 10.0.0.0/24)
I've configured both firewalls according to their respective manuals. This has been tricky because both vendors have varied terminology and default settings. There are also some minor variations in what extra options you have at each end.
I've added rules to both firewalls to allow traffic to pass both directions between the LAN and the IPSec interface and I've added routes to both firewalls to direct traffic intended for the remote LAN over the IPSec interface.
Here's a rough list of settings:
Authentication: Pre-shared key
IKE Encryption/Auth proposals: AES256/SHA1
IKE Life Time: 28800 sec
IKE Mode: Main, DH Group 2
IPSec Encryption/Auth proposals: AES256/SHA1
IPSec Life Time: 3600 sec/5120 KB
XAuth: Disabled
Perfect Forward Secrecy: Enabled, DH Group 5
Keep-alive: On (sends pings regularly to keep the tunnel up)
At the moment, I can see the 2 active IKE security authorities (SA's) coming up.
The IPSec tunnel however isn't coming up. The errors I'm getting from the D-Link box are:
2009-07-31 14:42:49 Warning IPSEC 1803020 ipsec_sa_failed no_ipsec_sa statusmsg="Timeout" 2009-07-31 14:42:49 Warning IPSEC 1800109 ike_quickmode_failed local_ip=111.111.111.111 remote_ip=222.222.222.222 cookies=<HEX String Edited Out> reason="Timeout"
Fortigate Errors attached (remove .txt extension).
So the errors look like something to do with IKE, "Quick Mode" failing, but I don't know much else. Any help or suggestions would be highly appreciated.
Cheers,
Chris
Perth, Australia
Last edited by cfry; Jul 31st, 2009 at 4:18 am.
•
•
Join Date: Oct 2007
Posts: 26
Reputation:
Solved Threads: 1
For anyone interested or who runs into the same issue;
It was indeed a "Quick Mode" problem - the Fortigate firewall (LAN2 firewall) required Quick Mode selectors.
The Fortigate settings required based on the example are (0 indicates any/default):
I also read some people have had problems with Dead Peer Detection. For the record, it is enabled in my case and not causing any issues.
The tunnel's up, firewall hardened and everything working now, so I'm happy.
Hope this relieves someone of the headache I had.
It was indeed a "Quick Mode" problem - the Fortigate firewall (LAN2 firewall) required Quick Mode selectors.
The Fortigate settings required based on the example are (0 indicates any/default):
Source Address: 10.0.0.0/24 Source port: 0 Destination address: 192.168.0.0/24 Destination port: 0 Protocol: 0
I also read some people have had problems with Dead Peer Detection. For the record, it is enabled in my case and not causing any issues.
The tunnel's up, firewall hardened and everything working now, so I'm happy.
Hope this relieves someone of the headache I had.
![]() |
Similar Threads
- How to disable IPSec in Windows 2003 Server? (Windows NT / 2000 / XP)
- IPsec (Network Security)
- ADSL Modem/Router IPSec Passthrough (Windows NT / 2000 / XP)
- PPPd and IPsec on Linux VPN - how to? (*nix Software)
- IPSec Pass-thru (Networking Hardware Configuration)
Other Threads in the Networking Hardware Configuration Forum
- Previous Thread: network drop
- Next Thread: Connection method
| Thread Tools | Search this Thread |
802.11 802.11n bluetooth british broadband browserproblems bt connectionproblem connectivity cpu data desktop dual gigabyte hardware infrastructure internet memory network networking news program rdimm reliability riched20.dll routers server storage survey technology telecoms troubleshoot uk upgrade videoconferencing view virgin wireless wirelessnetworking





