LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Port question (https://www.linuxquestions.org/questions/linux-networking-3/port-question-3231/)

Yawmark 06-10-2001 01:04 AM

*Newbie Alert*

Hi, everyone. I've finally made the Linux plunge. I've got a rudimentary OpenLinux web server sitting behind a DSL router. I'm now trying to set up a CounterStrike server, but I can't get the thing to authenticate with the WON servers. I'm told it's because it's sitting behind a firewall/proxy, and that I need to "open" the default port (27015) for CounterStrike.

How?

Any help will be appreciated...

Thanks!

mcleodnine 06-10-2001 01:22 AM

Quote:

Originally posted by Yawmark
*Newbie Alert*

Hi, everyone. I've finally made the Linux plunge. I've got a rudimentary OpenLinux web server sitting behind a DSL router. I'm now trying to set up a CounterStrike server, but I can't get the thing to authenticate with the WON servers. I'm told it's because it's sitting behind a firewall/proxy, and that I need to "open" the default port (27015) for CounterStrike.

How?

Any help will be appreciated...

Thanks!

Does your router implement any firewalling? (What kind is it?)

Is your OpenLinux acting as a firewall (ipchains or iptables)
If you're using ipchains you can see what's being firewalled/redirected by using 'ipchains -L'.


BTW - what's counterstrike?

Yawmark 06-10-2001 01:36 AM

It's a Cisco 678 - no firewall.

ipchains -L barfs out a bunch of info I don't understand. Nothing appears to be firewalled or redirected. How does one "delete" an entry from ipchains?

Counterstrike is a modification to Half-Life, a popular 1st-person shooter game.


Yawmark 06-10-2001 01:38 AM

Okay, I RTFM'd and figured out how to delete, but I'm still unsure how to configure incoming and outgoing :27105.

[BHBS]=TK 08-23-2001 03:20 PM

FIREWALL
 
RED HAT Has an RPM called firewall config. It's a graphical interface to manage your firewall. I also host a CS server and have going through everything you have. Drop me an e-mail.

Ryan

crimson69666 10-11-2001 12:12 AM

Quote:

Originally posted by Yawmark
It's a Cisco 678 - no firewall.

ipchains -L barfs out a bunch of info I don't understand. Nothing appears to be firewalled or redirected. How does one "delete" an entry from ipchains?

Counterstrike is a modification to Half-Life, a popular 1st-person shooter game.


The following example adds an entry to the NAT table that routes external requests destined for IP address 192.168.0.100 on port 322 to the internal station at IP address 10.10.10.100 on port 211.

set nat entry add 10.10.10.100 211 192.168.0.100 322 tcp

In your case, replace port 322 for port 27015. I didn't have the chance of working with this piece of hardware yet (i work with routers & switches, IOS & CatOS) but if it's like the regular Cisco stuff, you should logon in privileged mode (enable + return), enter the privileged password & go into config mode (config t + return). After, you enter the NAT command(s) and finally quit + enter. Save your config with the "write" command.

Hope this help.

TimBeR 10-11-2001 07:27 AM

ok from your question I am asuming the linux box is running the counterstrike server and is behing a DSL router and when you fire up the counterstrike server it isn't getting the responce from WON.
you should not have to do anything with your linux box it is the router that is stoping the responce forward the ports in the router to the linux box and all should be fine

crimson69666 10-11-2001 09:05 AM

Quote:

Originally posted by crimson69666


The following example adds an entry to the NAT table that routes external requests destined for IP address 192.168.0.100 on port 322 to the internal station at IP address 10.10.10.100 on port 211.

set nat entry add 10.10.10.100 211 192.168.0.100 322 tcp

In your case, replace port 322 for port 27015. I didn't have the chance of working with this piece of hardware yet (i work with routers & switches, IOS & CatOS) but if it's like the regular Cisco stuff, you should logon in privileged mode (enable + return), enter the privileged password & go into config mode (config t + return). After, you enter the NAT command(s) and finally quit + enter. Save your config with the "write" command.

Hope this help.


I forgot to say that games usually use UDP instead of TCP.


All times are GMT -5. The time now is 08:02 AM.