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
587 views 2 comments
by
I would need to change some parameters in the router from python. Is it possible to change OpenVPN enabled/disabled with an AT command?

2 Answers

0 votes
by
Anybody knows if it is possible?
0 votes
by anonymous

No direct  AT command available for changing OpenVPN status,
But by sending SMS to the device you can control Open VPN status.

Turn OpenVPN instance ON or OFF using SMS utility is possible visit below link for more details.
https://wiki.teltonika-networks.com/view/RUT955_SMS_Utilities#Manage_OpenVPN

Hope this will solve the purpose.

by anonymous

Since it is OpenWRT can i start and stop service like this in ssh?

/etc/init.d/openvpn start
/etc/init.d/openvpn stop

Is there any other way to manipulate services? Maybe with Uci?

Maybe something like:

# uci set openvpn.client_MyClient.enable=1/0
by anonymous
Hello,

Yes as RUT OS is based on OpenWRT  it should work.

For enabling open VPN client with name as MyClient  UCI command # uci set openvpn.client_MyClient.enable=1 will work and to disable # uci set openvpn.client_MyClient.enable=0

Please visit: https://wiki.teltonika-networks.com/view/UCI_command_usage#Extensive_example