I am following the instructions in : https://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support https://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support
Now I can using 3g dongel module to ping the network outside. But now I try to using SSH access to edison connected via mobile internet 3g.
I found the information in No.28 said we need the VPN.
Also I found some references in Raspberry Pi saying that https://www.reddit.com/r/raspberry_pi/comments/3bm7xd/how_to_ssh_into_raspi_using_3g_modem/ https://www.reddit.com/r/raspberry_pi/comments/3bm7xd/how_to_ssh_into_raspi_using_3g_modem/
It seems my IP address is behind NAT or NAT is enforced at the mobile provider.
I am new in this area. here is my info:
Do I need to use VPN or reversd SSH?
Any information or tips will be grateful! THank you very much!
Thanks for reaching out!
I believe you will indeed require a VPN, I mean, even if you are on the same network, I doubt your ISP enables two devices communicate between them (for security reasons and that kind of stuff).
There is another option to use SSH when your Edison and your PC are not on the same network. You can use Edison's AP mode, this would create a network where you can connect with your PC and access your Edison through SSH. If this option interests you, let me know and I'll gladly let you know how to do it.
Let me know.
THanks for your reply.
About the Edison's AP mode, I don't need this one because I need to access the board through SSH remotely (100 km away).
Do you have any method to do this? or can you gives some guides about using VPN in Intel Edison?
THanks a lot!
There are no guides specific for Edison (that I know of), however, there are some documents online that might be of your help. So, I suggest you to check these guides:
And the document suggested there:
As you can see, you don't necessarily need a VPN connection.
I hope this helps.
Thanks for your reply.
But I think my case cannot use port forwarding. Because I am using the 3G module, there is no gateway I can set up to forward the port (Maybe the ISP can). SO I can't get the modem forward ports.
You are right, I'm sorry I overlooked that detail (I'm not very experienced on this sort of networking).
In this case, I believe we should go back to the original plan, using a VPN. I found a thread on Ubuntu's community that might be of help: http://askubuntu.com/questions/162167/how-do-i-create-a-vpn-connection-using-only-the-terminal-ssh. It suggests to use OpenVPN to set up a connection VPN connection. Why don't you take a look at its documentation: https://openvpn.net/index.php/open-source/documentation.html to see if this package suits your project's needs?
Let us know.