I'm trying to create a P2P mesh network for my game with a server sharing the diffrent clients with each other. The game I want to create is a real time action game, and I thought it would be cool with multiplayer functionality. I'm currently experimenting with ruby's UDPSocket and I've successfully send data over LAN and over the internet with Hamachi. Though Hamachi works there's a limit of 5 clients for each network and I would like something where the setup isn't as much of a hassle for the user.
It's the first time I'm trying to do something like this so I'm completely unexperienced. I know a little of rails and sinatra development but not really much of server setup. I've done a bit of research but I still don't quite understand what needs to be done. So I have to create a port forward/tunnel on the clients?
-net ssh in ruby or ssh gateway
-OpenSSH (mac, linux, cygwin) http://www.perturb.org/display/entry/770/
-OpenVPN (mac, windows) http://openvpn.net/
-tinc-vpn (mac, linux, cygwin) http://www.tinc-vpn.org/
-LogMeIn Hamachi (mac, windows, linux)
-tunngle (windows only) http://www.tunngle.net
when I run ifconfig I can see ham0, the Hamachi network interface with my public hamachi ip "220.127.116.11". Is it possible to setup something like this without Hamachi? It's only possible to send data to it if people are in my hamachi network and the UDP port made available by Hamachi is 17771.
ham0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1404
inet 18.104.22.168 netmask 0xff000000 broadcast 22.214.171.124
inet6 fe80::7879:ff:fe00:0%ham0 prefixlen 64 scopeid 0x6
inet6 2620:9b::195c:d217 prefixlen 96
open (pid 68260)
In addition, as for security matters, currently I'm not worried about game cheating possibilities. It's just that I don't make any security breaches by exposing the users computer or something.