471
Troubleshooting
As an L2TP IPSec connection is established in two steps, problems could occur at
both stages: IPSec or L2TP. Please inspect the corresponding logfiles, as they might
contain error messages which help you to solve the problem.
When problems occur while establishing the IPSec tunnel, SX-GATE's log "IPSec" from
menu "Monitoring" -> Log files" might indicate the reason.
Since Windows Vista it became rather complicated to get a diagnostic log of the IPSec
connection. However getting an IPSec log in Windows XP is quite easy. It has to be
enabled in the registry first:
•
Select "Run" from the Windows Start-Menü
•
Open the program "regedit"
•
Select
folder
"\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\Services\PolicyAgent"
•
Create a new subfolder named "Oakley" by selecting the menu item "Edit >
New > Key"
•
Change into the "Oakley" folder you just created
•
Insert a new entry by clicking "Edit > New > DWORD Value" and name it
"EnableLogging"
•
Double-click this new entry and assign the value "1"
•
You can now close the regedit window
•
Now you have to restart the Windows IPSec service (using the command line:
"net stop policyagent" and "net start policyagent"; using the services view:
restart "IPSEC Services")