[mastersword.de] 24h Server wouldn't work :C

RedDog

New Adventurer
Joined
Aug 26, 2004
Messages
17
Reaction score
0
Location
Germany
The Server is a dedicated Linux Server based on Debian! ;-)

Because there is no Linux Version for MasterSword out there I Emulate a Computer with a virtual machine with Windows installed inside.



In this "Virtual Server" runs the HLDS ...



Linux:

|-----------------------------------|

| |----------------| |---------------| |

| | 62.75.246.81 | | 192.168.55.1 | |

| |----------------| |---------------| |

|-----------------------------------|



Internet <--> LINUX <--> NAT <--> WINDOWS <--> HLDS



Windows:

|------------------------------|

| |------------------| |--------| |

| | 192.168.55.128 | | HLDS | |

| |------------------| |--------| |

|------------------------------|

62.75.246.81 dedicated server IP

192.168.55.1 is the IP for the VM on the Linux side (The Router)

192.168.55.128 IP from Windows



All connections can pass the Linux machine to the Internet,

but only some Port from Internet to Windows!

I forward:

UDP 27016

UDP 27000-27015

UDP 1200

TCP 27030-27039

TCP/UDP 2200

TCP/UDP 2400



If anybody trys to connect Steam say that the Ticked UserID is Invalid.

It looks for me as if the user connects the HLDS sees only the 192.168.55.1 not the real Client IP!



Can anybody help?
 

HomestarR

New Adventurer
Blades of Urdual
Joined
Aug 11, 2004
Messages
845
Reaction score
0
Age
37
Location
Knee deep in shit
dont host a dedicated server, MS is so unstable, when people start to play it wouldnt be up for long before it crashes.
 

RedDog

New Adventurer
Joined
Aug 26, 2004
Messages
17
Reaction score
0
Location
Germany
The Server is now UP! It was a problem in the Masquerading (NAT) he has translated adresses in both directions, that was wrong!



I could connect to it and after some timeouts i could play wonderful! ;-)





What can i do if the HLDS hangs? Any tools for autorestart?
 

Chopsuey

New Adventurer
Joined
Aug 10, 2004
Messages
123
Reaction score
0
i tried playin a few days ago got a black screen, is that fixed?
 

RedDog

New Adventurer
Joined
Aug 26, 2004
Messages
17
Reaction score
0
Location
Germany
Yes the BlackScreen is fixed...



Yesterday i played on it! ;)



PS: The Ports wouldn't be the problem, it was the Bi-Directional Masquerading!
 

Chopsuey

New Adventurer
Joined
Aug 10, 2004
Messages
123
Reaction score
0
eerrr, um, uh, nuh, pu,fu, black screen is still there, me and panda we in it staring at a black screen
 

RedDog

New Adventurer
Joined
Aug 26, 2004
Messages
17
Reaction score
0
Location
Germany
iptables -t nat -A PREROUTING -p udp -i eth0 --dport 27016 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 27016 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p udp -i eth0 --dport 27000:27015 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p udp -i eth0 --dport 1200 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 27030:27039 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 2200 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p udp -i eth0 --dport 2200 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 2400 -j DNAT --to 192.168.55.128

iptables -t nat -A PREROUTING -p udp -i eth0 --dport 2400 -j DNAT --to 192.168.55.128
 

TPM_Montross

New Adventurer
Joined
Aug 8, 2004
Messages
39
Reaction score
0
RedDog said:
Yes the BlackScreen is fixed...



Yesterday i played on it! ;)



PS: The Ports wouldn't be the problem, it was the Bi-Directional Masquerading!



i run a server, i had black screen for about 3 hours b4 i figured out to open the other ports, then it went away, so trust me, the ports culd b a problem
 

RedDog

New Adventurer
Joined
Aug 26, 2004
Messages
17
Reaction score
0
Location
Germany
Witch PORTs are needed?



IN/Out, UDP/TCP, Port???





PS: i played on this Server only BlackScreen...
 

RedDog

New Adventurer
Joined
Aug 26, 2004
Messages
17
Reaction score
0
Location
Germany
The PORTs are correctly open...

and the MS_IP CVAR ist set to my outside IP!



If I connect i have serveral times timeout and sometimes i connected and i have now a black screen too...



I really don't know what this is!





NEED MasterSword for LINUX!!!!
 

Ewok

New Adventurer
Joined
Jul 23, 2004
Messages
387
Reaction score
0
Location
South Africa
I would like to thanks RedDog for his support. Especially for having a MasterSword.de site dedicated to ms. Very cool.



- Ewok
 

Chopsuey

New Adventurer
Joined
Aug 10, 2004
Messages
123
Reaction score
0
yup very cool , all credit is given to red dog, bow down
 

Ewok

New Adventurer
Joined
Jul 23, 2004
Messages
387
Reaction score
0
Location
South Africa
Not to say everyone else isn't important obviously. There'd be no point in carrying on if that were so.



- Ewok
 
Top