User avatar
greedyG
Site Admin
Posts: 250
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 18+ mostly online bot games with gnubg analysis FIBS rating 1850
Location: USA

GreedyGammon 3.x connection (howto) Step by Step

Wed Nov 15, 2017 5:32 pm

Here is a step by step detailed instructions how to setup GreedyGammon to connect and play with remote players.

First we must configure our computer to allow others to connect to our IP address. We do this with a process called "port forwarding"
To do this port forwarding, we must first find the local IP address of our computer.
We can find this with a utility that exists on our machine called ipconfig.exe
ipconfig runs from the command line so we must first launch a command window by typing "cmd" in the run box.
This will give us a command line window where we will type ipconfig and hit enter.

Image


The output from ipconfig will look like this
Image

We are looking for a line that reads IPv4 Address and will have the numbers 192.168.0.x
In our example the x = 13 it will be different for each computer. It is this number 13 we need to remember



Next we must open our router settings page to configure our port.
A common way to open your router settings is to browse to 192.168.0.1 just type those numbers into chrome url box and if it doesn't open your router settings you will have to google for your brand how to get in.

Image
If you have never set your password for your router you must google how to get in without a password or what the default password is for your brand.
Here is a page with info about that https://www.noip.com/support/knowledgeb ... ing-guide/
Once you manage to get into your router settings, you will look for a port forwarding section usually somewhere in the advanced settings area.

Image
When you find the port forwarding section, you will now use that number we found in ipconfig and set that as the ip we want to work with. We will set the port to 3333 which is the default that GreedyGammon uses. You can change this yourself in the GreedyGammon registry if you want to use a different port. And that is just about it. Make sure all the settings are on like "enable" and "always forward" etc. The ports may show a range just put 3333 in all the port settings. The particular Netgear router settings page requires the IP input and then you have to click "edit" to put in the rest of the settings. Just play around with your interface till you get it working. If it is your first time you may be somewhat apprehensive but once you get familiar with it, easy. Also it is good to know your way around your router settings so that you are not leaving your internet connection open to hackers. Read up on how to secure your router (google) So anyway..you may be wondering "IS THIS SAFE?" well u can google that too :D Port forwarding is a common practice among gamers. If you have your AV and firewall set, you should be ok.

Once you finish your port forwarding settings, go to GreedyGammon preferences -> Connections tab and you will find your settings and a long connection string already generated for you as shown below
Image
Copy and email this connection string to anyone you want to play with. They will put the string into the Client section of that same Connections tab, click on Add and save that connection. Now when they have GreedyGammon open, and the one who setup the server clicks "Start Server" the clients will get notification that the server is online and ready to take connections. Note that the clients don't have to do any port forwarding. All they need is to add the connection string to their connection settings. Only the server is required to setup the ports.

When a remote connection is established, there will be audio notification and the player names will appear below the chat box.
Proceed to invite chat and play

Image

Note, you only have to setup your server once. and your friends only need to add your string one time. From there the settings are saved and all the server owner needs to do is click "Start Server" and the client will click "Connect" and start playing.

Now, to invite someone who has connected either player can simply click "play" same as playing the bot and the username of the player will show up in the opponent name of the new game combo box.

So you may ask, why should you go through all this hassle when you can just go to a gaming site like Yahoo or MSN or wherever and play there?
Well, GreedyGammon has many features those sites don't offer. Yeah.. like what you may ask?

- How about jf.mat log files generated to analyze your games with gnubg
- How about greedy bear off and auto race feature when contact is broken
- How about the bot resigning when the game is essentially over.
- Easy single click to play fast no clumsy dragging
- Auto play forced move off the bar.
- And many more features that you just won't find in your generic backgammon game

And the most important advantage is that you never have to rely on a central server
to play with your friends. Servers come and go at the whim of the owners.

What if you don't know anyone who wants to play?
There is a new section in the forum called "Find Players to Play Online"
viewforum.php?f=64
You can post in there. I will invite anyone who posts a sincere request for games. beginner or advanced. or you could setup your own forum website for your group and communicate that way. GreedyGammon does not require any fees, contracts, or third party dependency.

Hope this helps!

Are you ready to play? :D 8-) :shock:



https://www.noip.com/support/knowledgeb ... ing-guide/ port forwarding resource for different router brands
Visit https://www.pcworld.com/article/244314/ ... outer.html for easy to follow instructions .
Download GreedyGammon, free backgammon game right here
http://greedygammon.com/download/greedy ... taller.exe

User avatar
greedyG
Site Admin
Posts: 250
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 18+ mostly online bot games with gnubg analysis FIBS rating 1850
Location: USA

Re: GreedyGammon 3.x connection (howto)

Thu Sep 06, 2018 10:55 am

Another good online resource for port forwarding https://www.noip.com/support/knowledgeb ... ing-guide/

This system will only work if your IP address remains constant. Also your local IP must also be static. If your IP changes you will have to do further configuration to make it work. My own IP from my ISP stays the same for a year, and my main computer local IP is also always the same so I never had to do any static IP configurations. But if you do have to do that, you can google how to setup a static local IP.

With this GreedyGammon peer to peer connection, you can form your own group to play with people you know. If you go to public game servers, you will run into idiots that will make you wish not to play online anymore. Been there done that.. :? :shock: :D
Download GreedyGammon, free backgammon game right here
http://greedygammon.com/download/greedy ... taller.exe

User avatar
greedyG
Site Admin
Posts: 250
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 18+ mostly online bot games with gnubg analysis FIBS rating 1850
Location: USA

Re: GreedyGammon 3.x connection (howto) Step by Step

Wed Feb 06, 2019 12:26 pm

:shock:

So this configuration assumes that you have an IP address that stays the same.
If you IP changes often then you will need to assign your local IP (google how)
If your public IP changes often there are workarounds for that too.
I can setup a custom server for you that reads the current IP from your website
Download GreedyGammon, free backgammon game right here
http://greedygammon.com/download/greedy ... taller.exe

Return to “Questions Comments”