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
442 views 0 comments
by anonymous
How do I create a server PPTP vpn connection using the uci sms commands?

1 Answer

0 votes
by anonymous

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