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
272 views 2 comments
by anonymous

Hello. In order to send an SMS we can use this URL http://192.168.2.1/cgi-bin/sms_send?username=admin&password=DefPassword&number=0037000000000&text=testmessage

Is there a possibility to send an SMS from the Internet (from a remote website for example) as 192.168.2.1 is a local address? I have a Teltonika TRB140 device.

Please let me know what are the options. Thanks.

1 Answer

0 votes
by anonymous

Hello,

If your router has a public IP address and remote HTTP access enabled in System -> Administration -> Access control, you can replace the LAN IP with the router's mobile WAN IP to send SMS from the internet.

However, if you enable remote HTTP access, make sure you follow general security guidelines provided in this page.

Best regards, 

by anonymous

Thank you for your prompt response. I enabled HTTP access and I was able to send an SMS from the PC my TRB140 is connected to. 

So, this link works from the PC the TRB140 is connected to (with correct IP information, username etc.) http://10.179.23.XXX/cgi-bin/sms_send?username=UUUU&password=PPPPP&number=NNNNN&text=textmessage

But if I try this link from another PC connected to the internet, which is connected to another network, then this doesn't work anymore. Am I missing something? Can you provide me with a solution? Thank you.

by anonymous
The issue is that 10.179.x.x is not a public IP routable over the internet. It belongs to a private addresses range under carrier grade NAT.