AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   Help About LinuxGSM Cs 1.6 Server (https://forums.alliedmods.net/showthread.php?t=315765)

Ali0mer 04-23-2019 05:37

Help About LinuxGSM Cs 1.6 Server
 
Hello,
i recently installed a cs 1.6 linux on my virtal machine on ubunto with Linuxgsm ./csserver etc..
and everything goes good

But my problem is that i cant connect to the server from my pc to it
I typed the correct ip and tried multi times but still cant connect its not showing in Server lists or cant connect from console

I've searched a lot in google.. and couldnt find anything and cant understand

Please if someone know try to help me or what to do

Thank you

SHIELD755 04-23-2019 09:36

Re: Help About LinuxGSM Cs 1.6 Server
 
Do you open UDP & TCP
PORT (27015,27016 etc.) on firewall of your VIRTUAL MACHINE

Ali0mer 04-23-2019 10:18

Re: Help About LinuxGSM Cs 1.6 Server
 
You mean in my Ubunto is there a command or something to open it ?

SHIELD755 04-23-2019 10:30

Re: Help About LinuxGSM Cs 1.6 Server
 
Maybe this command or maybe i am wrong but try this
In place "your port" you can use 27015,27016 etc.

1. iptables -A INPUT -p tcp --dport "yourport" -j ACCEPT
2.iptables -A OUTPUT -p tcp --dport "yourport" -j ACCEPT
3. /etc/init.d/iptables restart

OR this
https://m.wikihow.com/Open-Ports-in-...Firewall?amp=1 (not advertising )

Ali0mer 04-23-2019 11:15

Re: Help About LinuxGSM Cs 1.6 Server
 
I did it i typed them in terminal but still no affect

Im trying to join from the same pc to HLDS_Linux in virtal machine ubuntu

like i open my vb&ubunto and start the server

then open my steam cs 1.6 and connect but it cant connect

SHIELD755 04-23-2019 11:36

Re: Help About LinuxGSM Cs 1.6 Server
 
Quote:

Originally Posted by Ali0mer (Post 2648650)
I did it i typed them in terminal but still no affect

Im trying to join from the same pc to HLDS_Linux in virtal machine ubuntu

like i open my vb&ubunto and start the server




then open my steam cs 1.6 and connect but it cant connect


Any error in console?

Ali0mer 04-23-2019 11:39

Re: Help About LinuxGSM Cs 1.6 Server
 
I got on this in my cs 1.6 steam console

Quote:

] connect 10.2.0.15:27015
NET Ports: server 27015, client 27005
Server IP address 192.168.0.103:27015
Connecting to 10.2.0.15:27015...

Ali0mer 04-23-2019 11:40

Re: Help About LinuxGSM Cs 1.6 Server
 
My Details of server
Quote:

Distro Details
============================================= ==================================
Distro: Ubuntu 18.04.2 LTS
Arch: x86_64
Kernel: 4.15.0-47-generic
Hostname: ali0me-VirtualBox
tmux: tmux 2.6
glibc: 2.27

Performance
Uptime: 0d, 1h, 11m
Avg Load: 0.39, 0.53, 0.39

CPU Model: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
CPU Cores: 4
CPU Frequency: 3100.022 MHz

Mem: total used free cached available
Physical: 2.0GB 1.3GB 520MB 640MB 520MB
Swap: 760MB 2.6MB 757MB

Storage
============================================= ==================================
Filesystem: /dev/sda1
Total: 16G
Used: 12G
Available: 3.4G
LinuxGSM Total: 3.8G
Serverfiles: 782M

Counter-Strike 1.6 Server Details
============================================= ==================================
Server name: LinuxGSM
Server IP: 10.0.2.15:27015
Internet IP: 37.238.36.7:27015
Server password: NOT SET
RCON password: admineaLIIObk
Maxplayers: 16
Default Map: de_dust2
Status: ONLINE

csserver Script Details
============================================= ==================================
Service name: csserver
csserver version: 190422
User: ali0me
glibc required: 2.14
Discord alert: off
Email alert: off
Pushbullet alert: off
IFTTT alert: off
Mailgun (email) alert: off
Pushover alert: off
Telegram alert: off
Update on start: off
Location: /home/ali0me
Config file: /home/ali0me/serverfiles/cstrike/csserver.cfg

Backups
============================================= ==================================
No Backups created

Command-line Parameters
============================================= ==================================
./hlds_run -game cstrike -strictportbind +ip 10.0.2.15 -port 27015 +clientport 27005 +map de_dust2 +servercfgfile csserver.cfg -maxplayers 16

Ports
============================================= ==================================
Change ports by editing the parameters in:
/home/ali0me/lgsm/config-lgsm/csserver

Useful port diagnostic command:
netstat -atunp | grep hlds_linux

DESCRIPTION DIRECTION PORT PROTOCOL
> Game/RCON INBOUND 27015 tcp/udp
< Client OUTBOUND 27005 udp

Status: ONLINE

Mordekay 04-23-2019 11:46

Re: Help About LinuxGSM Cs 1.6 Server
 
Why are you running your server in a virtual machine on the same computer you are running your CS? That makes no sense and wastes ressources. Most probably because your virtual machine assigns another IP to your networcard you are using the wrong IP to connect to your server. Simply install your server in the same OS environment with StemCMD, check the IP your server assigns himself to and connet to that one.

Ali0mer 04-23-2019 11:50

Re: Help About LinuxGSM Cs 1.6 Server
 
Quote:

Originally Posted by Mordekay (Post 2648656)
Why are you running your server in a virtual machine on the same computer you are running your CS? That makes no sense and wastes ressources. Most probably because your virtual machine assigns another IP to your networcard you are using the wrong IP to connect to your server. Simply install your server in the same OS environment with StemCMD, check the IP your server assigns himself to and connet to that one.


hey man,
I did this because i want a test linux server to try a linux mod
If i install SteamCMD on Windows instead of linux will it be working on linux mod?


All times are GMT -4. The time now is 15:01.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.