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.