12
3
I'm running a Samba server on my MacBook and I've also set up port forwarding to said server from my router.
My public IP is 106.51.x.x
(according to google and a few other services) and my Mac's local IP is 192.168.x.x
, but when I head to my router's configuration page, it says my external IP is 10.242.x.x
.
This is what I don't understand, when connected to my home WiFi, using the 10.242.x.x
address works just fine. But if I try to access the same over 4G, the connection times out.
As for the public address, neither WiFi nor 4G works.
Is there some setting on my Mac (I'm running MacOS Sierra) that I must alter to make it visible to the public?
2The question is now why - following grawity's answer - the asker wants to open up a samba server to public access over the web, seems unusual. Why not use FTP over SSL, say? Perhaps they really want to share between local machines? – pbhj – 2017-08-26T15:32:35.967
6As @pbhj says, opening up samba to the Internet is a spectacularly bad idea. – Darren – 2017-08-26T19:02:08.870
Thank you for your advice. Im going to try and use vsftp instead. – Zohair – 2017-08-26T19:08:52.943
2I believe some ISPs outright block the port, so even if you had a public IP address it could very well not work. – user541686 – 2017-08-27T06:55:37.487
1maybe try ngrok.io? – Dmitry Kudriavtsev – 2017-08-28T16:26:07.920
ngrok seems really interesting. I'll give it a shot! Thank you! – Zohair – 2017-08-28T16:37:46.503