Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

The Complete Guide to Setting Up an FL Server

Here SysOps can list their MultiPlayer server info and users can send feedback to their SysOps. Or just talk about the MultiPlayer servers they play on. This is not about MultiPlayer in general - please use the MultiPlayer Forum for that!

Post Sat Feb 05, 2005 7:20 pm

The Complete Guide to Setting Up an FL Server

This information has been posted in bits and pieces for ages! So I wrote and posted this on my FL Admins board. Most of our FL admins have perused this so it should be complete enough for establishing a good FL server. The OS this guide is written for is WinXPPro but other XP versions and Win2K should also work quite well.


1. Get FL, install it and run it once. There are two types of installs, full and FL server only. If you have a server (another word for a 'puter that will run something for someone else on another 'puter) which will run nothing but a FL server, just do the FL server install. Remember running just the FL server program (flserver.exe or flserver for short) will not require the FL CD be in the CDROM drive. That's for playing the game (otherwise known as an FL client). Also running flserver at least once will create the needed directories and files (especially flserver.cfg, see #4. below, thanks Pinger ).

2. Read the Readme.rtf in the Freelancer directory, especially the part about FL servers. We will reference back to that.

3. (Optional) Install FLMM and load your mod your server will host. This can be done now or later but better now so you don't forget. Of course no FL software should be running while in FLMM!

4. Install FL admin program(s). At the very least install IFSO mk. V as you simply cannot admin a FL server effectively without it. Configure IFSO as follows:
- Ensure flserver.exe path is correct.
- Ensure flserver.cfg path is correct.
- Ensure the title of the flserver window is an EXACT copy of that in the flserver Window Name box.
- Set one of the two date formats, then change the format under Control Panel /Regional and Language Options /Regional Options tab/Customize button/Date tab. Select a Short date format that matches what you set in IFSO configuration.
- Ensure flserver.exe Checks is enabled and checking every 30 seconds. No need for quicker checking and it takes CPU cycles.
- Time to choose your INCOMING port. flserver needs only one INCOMING port but the Readme.rtf suggests a small range, ports 2303-2304.
-- If you wish to keep the INCOMING 2302-2304 port range, leave flserver Command Line Options box clear.
-- If you choose to set to one INCOMING port, choose your port and enter it in the flserver Command Line Options box preceded by a /P, i.e. /P2302. I suggest this option with a port in the 2300 range. These are relatively known DirectPlay (part of DirectX) ports and less likely to interfere with other software.
- All other IFSO options can be set later.

5. Setup your software firewall. Most software firewalls have a learning capability. Enable it and they will keep a tunnel open through the firewall for flserver's INCOMING port.
- In most cases especially WInXP's firewall, the first time you run flserver it should prompt you asking if you want to open an INCOMING port for flserver. Say yes, it should always remember.
- Zonealarm is a little different. Since it's a OUTGOING as well as INCOMING firewall, both directions must be learned. No biggie though as a prompt should pop up as mentioned before.

6. Setup your gateway. Now many manufacturer's call these things routers but they do much more than just route! Things like logging on, DHCP server, NAT server (hardware firewall) and more so I call it a gateway. The gateway connects between your own network (called Local Area Network or LAN) and the Internet (sometimes called the Wide Area Network or WAN). The gateway must have a few things set up to allow the FL server to the Internet and this is usually done by browsing the gateway LAN IP address.
- Set the server with a fixed LAN IP address. Get the MAC address from the server through the status screen or ipconfig /all in a DOS window. Then set this MAC address to a LAN IP address of your choice in the gateway (sometimes the screen is called Host IP). Say you have 192.168.0.1 as your gateway (gateways end with 1), then you could set any LAN IP address of 192.168.0.2-254. We'll say 192.168.0.200.
- Set the server's LAN IP address automatically. In Control Panel /Network Connections /right-click on Local Area Connection /select Properties /General tab/select Internet Protocol (TCP/IP) /Properties button/General tab. Ensure the Obtain an IP address automatically is selected.
- In the Status window of the Local Area Connection /Support tab, hit the Repair button. This will change the server's LAN IP address to what was set earlier, 192.168.0.200 in our example. Verify through the Status window.
- Go back to browsing the gateway and set the INCOMING port tunnel. Sometimes called Virtual Server or Port Forwarding, enter in the INCOMING port ranges or one INCOMING port (however you did it in #4.) and link to your server's LAN IP address, i.e.192.168.0.200. Basically this ensures anything INCOMING to your gateway on this port(s) will always be routed to JUST your server, like a tunnel from the Internet to the server.

7. Verify the server is running correctly. Start flserver and any FL admin programs on the server. Open the console window instead of the status window in flserver. Look for the following:<pre><font size=1 face=Courier>...
Server running, ready for log in.
Connecting to list server...
Established connection to list server...
Sending game information to list server... </font></pre>If you see this then your flserver has contacted and got itself listed on the FL global list server! This insures DirectX works, network connections work and all OUTGOING requests are routed fine.

8. Verify FL clients can log into your server. As soon as a FL player on a FL client NOT on your LAN can log in and undock on your server, then you have success! This insures INCOMING requests are routed fine and (in some cases!) your mod (if applicable) is installed ok. Now you have an FL server up and running.


Voila! Now if a mod would sticky this it can answer the number one question on this forum in mostly one post.

_____________
Earendil
SysAdmin of Boston Freelancer server
Server community website & forum: EarendilsPlace.net (server rules)

Post Sun Feb 06, 2005 5:24 pm

Can someone sticky this, this is too good to get lost.


"Don't look for trouble, it will come to you. I will follow you to death and beyond."

Post Mon Feb 07, 2005 3:45 am

Stickied..

Harrier

Post Mon Feb 14, 2005 1:01 pm

I am having trouble starting a LAN server any sugestions?

Post Fri Feb 18, 2005 12:35 pm

I set up a server and others can see it on the net. The problem is that they cant join. They click join and they get some error saying that there is a connection problem that might be caused by internet being down or something like that. I tested by putting server on another friends house and after port forwarding it worked fine. I figured it to be the port forwarding. No the real problem is that I have a clarkconnect box set up at my house acting as a router. I have forwarded ports to the server box but it is still giving same error. Does any one know how to fix or have any suggestions?

Post Sat Feb 19, 2005 9:04 pm

I tried your complete server setup. But face it some of us are stupid. My server shows up on the globaly but is not accessable. I've been told about port problems, i addressed that. It still isn't working. Some one please show me the light.

Post Sat Feb 19, 2005 10:36 pm

@NightSports and Funkmaster - Well at least you have gotten over all the other problems except for port forwarding. What you'll need to do is access your gateway. This could be a box mislabelled router or router/modem. In either case you should be able to surf into the gateway through your LAN using the gateway's LAN IP address. An easy way to find your gateway's LAN IP address is to find your server's LAN IP address and simply make the last of the four numbers a 1!

When you try to surf there you should have the user name and password that comes with the gateway. Most people don't change this info. If you don't have the manual for the gateway merely Google for it and usually you'll find all you need to access the gateway.

Port forwarding can go by other names as well. Remember the server has to have a fixed, constant LAN IP address so that when the server comes up it gets the same LAN IP address every time. With this fixed LAN IP address, enter in the port or range of ports that will be opened and any data that is INCOMING will ONLY be routed to your server.

If all else fails then feel free to contact me via email with detailed information about your gateway and I'll try to help you set it up.

_____________
Earendil
SysAdmin of Boston Freelancer server
Server community website & forum: EarendilsPlace.net (server rules)

Post Mon Feb 21, 2005 4:05 pm

thanks for the info. still my server appears with an ip address of Fe80::240:caff:fe76:b96, instead of my ip address. if you've seen this before please let me know how to fix it.

Post Mon Feb 21, 2005 7:46 pm

If the supposed IP address you see is in the format of xx-xx-xx-xx-xx-xx where x can be any number 0-9 plus any letter in any case from a to f, then this is no IP address but a MAC address. In MAC addresses you may see other dividers for the double hexidecimal numbers besides the dash '-' like the colon ':' but you will never see an IP address portraited with any divider except a period '.'. If a port is added to the IP address it is done by adding to the end of the IP address seperated by a colon ':' but there is just one.

Can you get a screen shot so we can see what you see?

_____________
Earendil
SysAdmin of Boston Freelancer server
Server community website & forum: EarendilsPlace.net (server rules)

Post Tue Feb 22, 2005 12:09 pm

Thanks for replying. Sorry it took so long for me to respond. Ok I went to my "gateway" lol and found its static ip address. I then forwarded ports 2302-2400 to it. Friends see the server but still cant get anyone to connect. Do i need to forward the ports to the server also?

Post Tue Feb 22, 2005 12:52 pm

You said you found a static IP address on your gateway but was it a LAN or WAN (Internet) IP address? If it was a LAN IP address then that's good.

Next you said you port forwarded the port range 2300-2400 (only 2303-2304 is necessary) to that IP address. Port forwarding allows uninitiated INCOMING information on certain ports to be forwarded directly to a specific LAN 'puter, in this case your server's LAN IP address. If your port forwarding is to your server's LAN IP address then you already have port forwarding to your server.

_____________
Earendil
SysAdmin of Boston Freelancer server
Server community website & forum: EarendilsPlace.net (server rules)

Post Tue Feb 22, 2005 1:54 pm

I am sending you an email with a screenshot of my configuration.

Post Tue Feb 22, 2005 2:53 pm

OK, got your screenshot and your two emails. Let me see if I have this right. You have two or more LAN 'puters, one is your FL server and it has a static LAN IP address. This is connected to a dedicated 'puter running ClarkConnect which makes it act like a gateway. So far so good?

If so then what is the IP address on the other side of the gateway? Is there a modem like for cable or satellite or ADSL or is it direct connect to something? Since I see the name of a cable comapny in your Favorites in the picture and the email address you sent me. I am wondering if you are connecting to cable and thus a cable modem. Are you?

If you are then this may be your problem. Today's modems used to be simply modems but guess what? They now add to them a DHCP server, NAT server, login capabilities - in short your modem is also a gateway! This may be your problem.

I have two Internet connections to my house for my two servers. I have two ADSL modems to a dual WAN hardware gateway. The most recent ADSL line I got came with a modem which is also a gateway! Certainly was a shock to me when I tried to get anyone to connect to my servers through that line! Basically I needed to disable all the gateway stuff and get the gateway/modem back to being just a modem. The way to do that was setting the modem/gateway to bridge mode. What this did is simply route everything through as if the gateway didn't exist, imagine it bridging across the gateway.

What you need to do is get info on the gateway/modem, log into THAT instead of the ClarkConnect gateway (which is set up just fine by the way ) and place it in bridge mode. The info should be found in the gateway/modem manual, Google for it if you can't find it.

Let me know how it goes, if you need any help or such.

_____________
Earendil
SysAdmin of Boston Freelancer server
Server community website & forum: EarendilsPlace.net (server rules)

Post Tue Feb 22, 2005 4:55 pm

Thanks for the help
Apparently if you have your tcp/ip version 6 option activated in your network/internet conection protocols it conflicts with the freelancer server. Deactivating it solves connection problems.

Find this option under Control Panel/Network and Internet Connections/Network Connections/(Your internet connections) properties

Edited by - Funkmaster on 2/22/2005 4:58:58 PM

Edited by - Funkmaster on 2/22/2005 5:00:43 PM

Post Wed Feb 23, 2005 8:32 pm

Aren't you supposed to be able to start a server, then join and play while offline? I thought you could play on your own server while offline, through LAN. Is there some way to do that? Since I dont understand alot of this, Im wondering if that its already been explained, looking forward to replies, Thanks

Return to Freelancer Server Forum