10513 questions

12524 answers

19450 comments

22057 members

0 votes
146 views 0 comments
by
I use stunnel for converting an http stream in an https -> this works pretty fine!

But after an powerloss i have to delete the installed certificate files (cert and key -> both of them at the same time) and then to install them again -> only after that procedure the stream will work again.

(Maybe this helps: if I restore an config after an power loss I still have the same problem that I have install both files)

The behavior is absolutely reproduceable and I have the newest firmware version RUT2XX_R_00.01.12.3.

Does anyone have an Idea how to manage this ?

1 Answer

+1 vote
by

Hello.

Go to the tab System->User Scripts and add these lines:

/etc/init.d/stunnel restart    

/etc/init.d/openvpn restart

Now, after disconnecting, the tunnel should automatically rise. I checked this and it works.

Regards.