Raised This Month: $12 Target: $400
 3% 

Help About LinuxGSM Cs 1.6 Server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-23-2019 , 05:37   Help About LinuxGSM Cs 1.6 Server
Reply With Quote #1

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
Ali0mer is offline
Send a message via Skype™ to Ali0mer
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 04-23-2019 , 09:36   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #2

Do you open UDP & TCP
PORT (27015,27016 etc.) on firewall of your VIRTUAL MACHINE
__________________
SED LYF !!!

Last edited by SHIELD755; 04-23-2019 at 09:45.
SHIELD755 is offline
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-23-2019 , 10:18   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #3

You mean in my Ubunto is there a command or something to open it ?
Ali0mer is offline
Send a message via Skype™ to Ali0mer
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 04-23-2019 , 10:30   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #4

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 )
__________________
SED LYF !!!
SHIELD755 is offline
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-23-2019 , 11:15   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #5

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
Ali0mer is offline
Send a message via Skype™ to Ali0mer
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 04-23-2019 , 11:36   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #6

Quote:
Originally Posted by Ali0mer View Post
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?
__________________
SED LYF !!!
SHIELD755 is offline
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-23-2019 , 11:39   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #7

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 is offline
Send a message via Skype™ to Ali0mer
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-23-2019 , 11:40   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #8

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
Ali0mer is offline
Send a message via Skype™ to Ali0mer
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 04-23-2019 , 11:46   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #9

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.
__________________

Mordekay is online now
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-23-2019 , 11:50   Re: Help About LinuxGSM Cs 1.6 Server
Reply With Quote #10

Quote:
Originally Posted by Mordekay View Post
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?
Ali0mer is offline
Send a message via Skype™ to Ali0mer
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode