FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14177 questions

16834 answers

27698 comments

54200 members

0 votes
326 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 [email protected][0]=service

uci set [email protected][0].type='server'

uci set [email protected][0].limit='192.168.0.30'

uci set [email protected][0].localip='192.168.0.1'

uci set [email protected][0].start='192.168.0.20'

uci set [email protected][0]._name='RUT1'

uci set [email protected][0].enabled='1'

uci set [email protected][0]=login

uci set [email protected][0].username='user1'

uci set [email protected][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