FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
198 views 0 comments
by anonymous
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 anonymous

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.