Managing the Server was only possible if the command came from my phone number and using a password and of course only with specific predefined messages from my phone that run linux commands.
Quote from: opnsense_user12123 on January 04, 2018, 10:16:44 amManaging the Server was only possible if the command came from my phone number and using a password and of course only with specific predefined messages from my phone that run linux commands. Are you sure? SMS is plain text and the sender can be set to anyone and at least GSM should be possible to decrypt to get your password.
not sure about iOS but hey!
Ah, now I understand. If you use a 3G card in your router, you have a second line for a WAN. That gives you direct access, unless the mobile is down, but what are the odds that SMS keeps working but mobile data doesn't in a stationary deployment?Cheers,Franco
USB_ModeSwitch is a tool for switching any usb data modem into gsm mode. its avaible for linux, bsd and so on.
then use for example Gammu for sending or recieving sms (there a many tools out there)https://wammu.eu/gammu/an then make a script like that:https://hardy0700.wordpress.com/2016/07/16/raspi-3-huawei-3531-sms-server/and you are done!
I happen to be the maintainer for usb_modeswitch in FreeBSD.
Of course if there is any security concern, then such a feature should not be implemented!But ideas may give rise to even better ideas. :-)