The online racing simulator
Guide: Running an LFS Server
(707 posts, started )
Greetings.
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:
https://en.lfsmanual.net/wiki/Hosting#Linux_with_WINE
I don't understand what those "iptables" command do.

Firewalls
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.
IPTables
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.
Inbound:
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
Outbound:
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 pedro.de.marco :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 188.122.74.153 / master.lfs.net*)

* master.lfs.net or master.liveforspeed.net. 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
/admin=xxxx
/insim=29999
/ip=192.168.177.52
/port=63392
/mode=s2
/usemaster=yes
/track=WE2X
/cars=FBM
/maxguests=20
/adminslots=0
/carsmax=20
/carsguest=1
/pps=4
/qual=0
/laps=0
/wind=1
/vote=no
/select=no
/autokick=spec
/rstmin=10
/rstend=10
/midrace=yes
/mustpit=no
/canreset=no
/fcv=no
/cruise=yes
/start=finish
/player=Avc's SERVER
/welcome=welcome.txt
/autosave=0
/mprdir=mpr
/lytdir=layout

2. Disabled "NetBIOS over TCP/IP":
https://prnt.sc/s9kjmr

3. Windows firewall:
https://prnt.sc/s9kgi9

4. Port forwards:
https://prnt.sc/s9khf0

5. Port checker:
http://prnt.sc/s9knxb

6. LFSW hosts:
https://prnt.sc/s9kpyq

7. LFS in-game Filter:
https://prnt.sc/s9knel
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.

Guide: Running an LFS Server
(707 posts, started )
FGED GREDG RDFGDR GSFDG