11341 questions

13515 answers

21177 comments

31674 members

0 votes
32 views 2 comments
by
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
Hello,

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

Regards,
Best answer
by
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
Then use /etc/init.d/ipsec enable and /etc/init.d/ipsec disable.