ClearFoundation Tracker - ClearCenter
View Issue Details
0009951ClearCenterapp-static-vpn-basic - Static VPN for Homepublic2016-08-10 07:492017-05-03 14:16
bchambers 
timb80 
normalmajorhave not tried
closedfixed 
 
7.3.0 Updates7.2.0 Updates 
0009951: Uncaught exception if ipsec not running
It's impossible to manage the static IPsec app if ipsec is not running...get an uncaught exception (see screenshot).

In this case, it was apparently due to an invalid configuration file that had to be deleted from the command line:

Contents of unmanged.conf file:

conn xxxx
 type=tunnel
 authby=secret
 pfs=yes
 auto=start
 left=x.x.x.x
 leftsourceip=192.168.1.1
 leftsubnet=192.168.1.0/24
 right=x.x.x.x
 rightsourceip=192.168.15.1
 rightsubnet=192.168.15.0/24

Log file error was:

Aug 10 16:42:04 xxxx addconn: ERROR: /etc/ipsec.d/ipsec.unmanaged.xxxx.conf: 2: keyword type, invalid value: tun

Not sure about that log message, as I don't see any 'tun' entry...tunnel???

Out of my pay-grade.
No tags attached.
png ipsec_debug.png (51,509) 2016-08-10 07:49
https://tracker.clearos.com/file_download.php?file_id=291&type=bug
png
Issue History
2016-08-10 07:49bchambersNew Issue
2016-08-10 07:49bchambersStatusnew => assigned
2016-08-10 07:49bchambersAssigned To => timb80
2016-08-10 07:49bchambersFile Added: ipsec_debug.png
2016-11-08 09:07user2Target Version7.2.0 Updates => 7.3.0 Updates
2016-12-21 06:58dcclaytonNote Added: 0004421
2017-01-16 13:16user2ProjectClearOS => ClearCenter
2017-01-22 16:21timb80Note Added: 0004601
2017-05-03 14:16user2Statusassigned => resolved
2017-05-03 14:16user2Fixed in Version => 7.2.0 Updates
2017-05-03 14:16user2Resolutionopen => fixed
2017-05-03 14:16user2Statusresolved => closed

Notes
(0004421)
dcclayton   
2016-12-21 06:58   
This issue also applies to the business edition.
(0004601)
timb80   
2017-01-22 16:21   
Fixed in 2.0.16 - thanks for the feedback