LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux vs Games --pleeze help me (https://www.linuxquestions.org/questions/linux-newbie-8/linux-vs-games-pleeze-help-me-22917/)

stoof-Noobzor 06-08-2002 09:22 AM

Linux vs Games --pleeze help me
 
:newbie:

We have a linux server for our windows2000 network and wanted to create a half-life counterstrike game server but it didn't work. Now we know we need to portforward port NR 2015 from the linux server straight to our game server. But how do you do this? please note that we have no firewall or what so ever installed just a running linux server. PLEASE Help.
:Pengy:

Noerr 06-08-2002 09:46 AM

you need to use iptables and write statment like
iptables -A PREROUTING -p tcp -d 5.6.7.8 -dport 2015 -j DNAT --to 1.2.3.4:2015

stoof-Noobzor 06-08-2002 10:01 AM

in English pleeze ---- yes im noob

Noerr 06-08-2002 10:10 AM

just change your destination (-d ) ip address with your linux box and --to address to your game server address.

but its more to it
need to check if yuo have iptables at all

start-off with your distro info so we know where we are


All times are GMT -5. The time now is 06:57 PM.