freelan-developers / freelan

The main freelan repository.
http://www.freelan.org
Other
1.35k stars 198 forks source link

Have a quicker quick start #224

Open fulldecent opened 4 years ago

fulldecent commented 4 years ago

Maybe use a quicker quick start which optimizes for a common situation: two people want to play Heroes of Might and Magic III across the internet when it designed only for LAN play.

Design

freelan

freelan > What would you like to setup?
freelan > 1. Server (do this first)
freelan > 2. Client (do this after server)

1

freelan > Your server is setup. Your shared secret is:
freelan >     29pid29d39
freelan >
freelan > And your port is:
freelan >     3497
freelan >
freelan > Open that port on your router. For details see:
freelan >     https://freelan-developers.github.io/freelan/punch
freelan > 
freelan > Now go tell your friend to connect, get your public IPv4 address first.
freelan >     https://freelan-developers.github.io/freelan/public-address

And then

freelan

freelan > What would you like to setup?
freelan > 1. Server (do this first)
freelan > 2. Client (do this after server)

2

freelan > Enter server IPV4 address

294.392.289.82

freelan > Enter port

3497

freelan > Server found. Enter shared secret:

29pid29d39

freelan > You're done
richman1000000 commented 4 years ago

freelan is not a complete solution. It is more like VPN core. There were freelan-server web application which did that. but they discontinued it cause of some licensing issue.

wesx commented 4 years ago

one could add a scripts that does this kind of an interface and then use the provided parameters as command line arguments. Such script should be easy to implement as it just uses a question response style to collect (and validate) the parameters instead of providing them all at once via command line.

richman1000000 commented 4 years ago

yes, but I don't think that this is so necessary at this point. Script for generating config is not so hard to create, just time consuming. https://github.com/freelan-developers/freelan-server I used this server with freelan1.1. and it was GREAT. you could assign IP on central server

richman1000000 commented 4 years ago

I suggest you to vote for porting this project to new version of freelan. It is really effective from my point of view

fulldecent commented 4 years ago

To be honest, my biggest concern here is that as-is I am going to need to explain to somebody, over the phone, how to open terminal and type these things in, including hyphens ("what's a hyphen?") perfectly. And then they are going to FaceTime me, and then I have to watch the small screen Blair-witch style as it floats around... lol

wesx commented 4 years ago

One very non programatical solution for this would be sending them the correct command via text chat. This is at least my quick and dirty method of giving people some command line stuff.

richman1000000 commented 4 years ago

I think I understand. it looks like improvement #151 .