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 2 comments
by anonymous
Hi everyone,

I am using RUT240 with firmware version RUT2_R_00.07.02.06. How can i disable and enable Ipsec via cli.

Thanks .

1 Answer

0 votes
by anonymous
Hello,

Use /etc/init.d/ipsec start and /etc/init.d/ipsec stop for that.

Regards,
Best answer
by anonymous
thanks your answer but this command stop and start ipsec service.  

I want to do disable/enable or on/off like webgui under the ipsec section.

It is as do ipsec is turned on or off from the web interface.
by anonymous
Then use /etc/init.d/ipsec enable and /etc/init.d/ipsec disable.