Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Control » Control box -winroute.cfg edit (IPsec)
  •  
lkacian

Messages: 65

Karma: 2
Send a private message to this user
Hallo all,
when I edit Ike variable in winroute.cfg (<variable name="Ike">aes256-sha1-modp1024</variable>) after 2-3 minutes this variable is default (<variable name="Ike"></variable>).
1. I stop the IPsec tunnel
2. edit the winroute.cfg
3. enable the tunnel
and there is Ike default again.
How can I change this in Kerio Box ??

Lubor Kacian
FONET Slovakia
  •  
Petr Dobry (Kerio)

Messages: 776
Karma: 61
Send a private message to this user
The correct process is :

1. stop Kerio Control
2. edit the winroute.cfg
3. start Kerio Control

Petr Dobry
Product Development Manager | Kerio

Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
Looking for help ? - http://kb.kerio.com
  •  
lkacian

Messages: 65

Karma: 2
Send a private message to this user
How can I "stop" Kerio Control, if this is Box ?

Lubor Kacian
FONET Slovakia
  •  
Petr Dobry (Kerio)

Messages: 776
Karma: 61
Send a private message to this user
/etc/boxinit.d/60winroute stop
/etc/boxinit.d/60winroute start

Petr Dobry
Product Development Manager | Kerio

Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
Looking for help ? - http://kb.kerio.com
  •  
lkacian

Messages: 65

Karma: 2
Send a private message to this user
and now is remote Box unreachable after "/etc/boxinit.d/60winroute stop" via ssh.
Sad

I have tried backup config, unzip on linux, edit winroute.cfg, create tar.gz.
But unsuccessfuly.

Lubor Kacian
FONET Slovakia
  •  
Petr Dobry (Kerio)

Messages: 776
Karma: 61
Send a private message to this user
When you stop Kerio Control, all network connections are dropped.

If you have HW box you can use local serial console or you have to create a bash script which will stop Control, edit winroute.cfg (ie. via sed) and then start Control again.

Ie.
1. create new file /tmp/change.sh
#!/bin/bash

/etc/boxinit.d/60winroute stop

sed -i "s#<variable name=\"Ike\">.*#<variable name=\"Ike\">aes256-sha1-modp1024</variable>#" /var/winroute/winroute.cfg 

/etc/boxinit.d/60winroute start

2. chmod 0755 /tmp/change.sh
3. nohup /tmp/change.sh

it will drop SSH connection, but it will do what you want and restart Control.

Petr Dobry
Product Development Manager | Kerio

Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
Looking for help ? - http://kb.kerio.com
  •  
Brian Carmichael (Kerio)

Messages: 624
Karma: 63
Send a private message to this user

Brian Carmichael
Senior Technical Marketing Engineer | Kerio
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
lkacian

Messages: 65

Karma: 2
Send a private message to this user
Thank you Peter and Brian, it is so simple.
I was blind.

Lubor Kacian
FONET Slovakia
Previous Topic: System requirements For concurrent users in Kerio Control
Next Topic: Servers not accessible after hardware switch and software update
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Wed Mar 29 09:17:15 CEST 2017

Total time taken to generate the page: 0.00507 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.