The online racing simulator
Guide: Running an LFS Server
(682 posts, started )
I require more assistance on running a server. I will rent a very basic VPS.
European VPS. I would like volunteers to join. the server will be very basic settings, demo version. I would like to see if 10 players connect, may be 20 players, i want to see how much it will take.
Volunteers needed. Time will be on weekend. I want to perform such a test in 2 weeks.
Update : I've rented the VPS and I'm running the DCon.exe the way I discussed.
Now, how to connect to it from my PC?

from this manual:
I don't understand what those "iptables" command do.

There are a lot of firewalls out there, but I'll try and cover the ones I've got experience with: ISA, iptables and the windows firewall. If anyone has any requests, I'll add it to the thread / guide, if I can.
The following rules should be enough to help you. Note: I assume that the machine running iptables is the same as the machine running the server. If not replace INPUT and OUTPUT with FORWARD.
iptables -A INPUT -p tcp --dport 63392 -m state --state NEW -j ACCEPT
iptables -A INPUT -p udp --dport 63392 -m state --state NEW -j ACCEPT
iptables -A OUTPUT -p tcp --dport 29339 -m state --state NEW -j ACCEPT
by this time i tried the iptable commands. VPS ip as hostname. Error: host not found on master server.
Ok. I made it. I run it on the VPS. set an admin pass.
/IP=[the IP of your server]
choose a nice hostname.

In a running game, choose specific host, enter the hostname mentioned above.
The server works.

I use the ufw firewall, rather than IPtables, due to simplicity. I need to know what rules must be made in order to run a dedicated server.
Quote from :I need to know what rules must be made in order to run a dedicated server.

Incoming: 63392 TCP & UDP (from "anywhere")
Outgoing: 29339 TCP (to /*)

* or I'm not sure which is the "real" DNS record for the master server, but they both resolve to the same IP so it doesn't really matter.
I didn't find any setup to manipulate that 29339 port.
Seems that the way LFS works is this:

You run dcon.exe with X portname, specified in the setup file.
$ wine DCon.exe /cfg=[setupfile]

and there should be some "hostname" in setup file. If you don't specify a hostname, you can't connect to your server.
On the client side, the player should enter hostname in the field for "Join a specified host"

to dockerize, there I tampered with it, you should use -p XTaped Shut option. YTaped Shut may work, YTaped Shut ZTaped Shut will not work. Don't run 2 servers on one port.

I could also get a tweak server by Multimod to run. it was the only tweak server i could run.
#681 - Avc
Server is showing on LFSW but not in master server in-game
Hello! I downloaded LFS_S3_DCON_6U a couple of days ago. I was desperately trying to get the server to show up in the master server list in-game, but no luck for me. The weird thing is that it shows up in the LFSW server list, and also in the LFSLazy Multiplayer list.

I tried disabling the "NetBIOS over TCP/IP" just like in the manual, added Dcon & LFS in windows firewall rule Exception; both UDP and TCP, I have port forwarded the ports; 63392 and 29339 both in TCP and UDP on the router, I tried creating a server in-game and opening another instance of lFS to check if the server appears in the master server list in-game, but nothing works Frown.

Here are all the proofs/pics. Please help!

1. Here's my setup.cfg:
/host=^3Formula ^71 ^6Championship
/player=Avc's SERVER

2. Disabled "NetBIOS over TCP/IP":

3. Windows firewall:

4. Port forwards:

5. Port checker:

6. LFSW hosts:

7. LFS in-game Filter:
Well.. There is maybe nothing serious going on and you are simply on the no reply list (26) .. Basically you cannot contact/ping yourself, so you see the list like this but others do not. Thats why you are actually on LFSWorld I guess.

You should connect internally if you want to deal with your own server and not across the internet.
(guncha) DELETED by guncha : now answer

Guide: Running an LFS Server
(682 posts, started )