csf/lfd and my Game server
Posted: 11 Jan 2015, 19:30
Folks, I have csf/lfd installed (no cpanel) and I'm having a hard time getting my game server to work.
It uses ports 10777,11777,9000,9010,7777,7778,7787,28902`
After trying to get all the ports in the right spots, just to get it going I added all of them to the TCP_OUT,UDP_IN and UDP_OUT sections of the csf.conf and it didn't work.
The closest I got was when I added the shell script that starts the server to the csf.pignore
pcmd:/bin/sh /var/games/ut/start......*
When I did that, my "trusted" IP seemed to work but nobody else could connect.
When I look in /var/log/messages, I see a lot of blocked but not for any of the game ports
ex: Jan 11 13:12:29 dev kernel: Firewall: *UDP_IN Blocked* IN=eth1 OUT= MAC=00:30:48:bc:a0:25:00:19:e8:f7:9b:ca:08:00 SRC=xx.xx.xx.xx DST=xx.xx.xx.xx LEN=33 TOS=0x00 PREC=0x00 TTL=117 ID=23654 PROTO=UDP SPT=3078 DPT=9001 LEN=13
I'm not sure why that 9001 port is coming up because its not defined, but I tried adding it to the UDP_IN but it made no difference.
I'm been restarting csf and lfd every time so that's not the issue but as soon as I shut down csf and lfd, everyone can connect again with no problems.
Is there so way I can config my game server so csf/lfd will just totally ignore it and anything to do with it?
TIA
It uses ports 10777,11777,9000,9010,7777,7778,7787,28902`
After trying to get all the ports in the right spots, just to get it going I added all of them to the TCP_OUT,UDP_IN and UDP_OUT sections of the csf.conf and it didn't work.
The closest I got was when I added the shell script that starts the server to the csf.pignore
pcmd:/bin/sh /var/games/ut/start......*
When I did that, my "trusted" IP seemed to work but nobody else could connect.
When I look in /var/log/messages, I see a lot of blocked but not for any of the game ports
ex: Jan 11 13:12:29 dev kernel: Firewall: *UDP_IN Blocked* IN=eth1 OUT= MAC=00:30:48:bc:a0:25:00:19:e8:f7:9b:ca:08:00 SRC=xx.xx.xx.xx DST=xx.xx.xx.xx LEN=33 TOS=0x00 PREC=0x00 TTL=117 ID=23654 PROTO=UDP SPT=3078 DPT=9001 LEN=13
I'm not sure why that 9001 port is coming up because its not defined, but I tried adding it to the UDP_IN but it made no difference.
I'm been restarting csf and lfd every time so that's not the issue but as soon as I shut down csf and lfd, everyone can connect again with no problems.
Is there so way I can config my game server so csf/lfd will just totally ignore it and anything to do with it?
TIA