FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

11981 questions

14261 answers

22480 comments

35629 members

0 votes
78 views 2 comments
by

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

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

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
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.