10879 questions

12962 answers

20219 comments

26080 members

0 votes
204 views 0 comments
by
How do I create a server PPTP vpn connection using the uci sms commands?

1 Answer

0 votes
by

Hello

Thanks for contacting TELTONIKA | Crowd-support forum. 

Please find below the commands necessary for PPTP Server.

uci add pptpd service

uci add pptpd login

uci set pptpd.@service[0]=service

uci set pptpd.@service[0].type='server'

uci set pptpd.@service[0].limit='192.168.0.30'

uci set pptpd.@service[0].localip='192.168.0.1'

uci set pptpd.@service[0].start='192.168.0.20'

uci set pptpd.@service[0]._name='RUT1'

uci set pptpd.@service[0].enabled='1'

uci set pptpd.@login[0]=login

uci set pptpd.@login[0].username='user1'

uci set pptpd.@login[0].password='01234567'

uci commit pptpd

/etc/init.d/pptpd restart

These commands mentioned above are in accordance with PPTP configuration example exist in wiki page.

More information can be found here:

https://wiki.teltonika-networks.com/view/UCI_command_usage

https://wiki.teltonika-networks.com/view/SMS_Commands#UCI_API_rule

Should you need any additional information please let us know.

Best Regards