Linux Netfilter discussions
 help / color / mirror / Atom feed
* Counter Strike FOWARDING?
@ 2003-03-08 20:34 SBlaze
  2003-03-08 22:24 ` Dimitris Zilaskos
  2003-03-08 22:31 ` Alexander W. Janssen
  0 siblings, 2 replies; 3+ messages in thread
From: SBlaze @ 2003-03-08 20:34 UTC (permalink / raw)
  To: netfilter

iptables -t nat -A PREROUTING -p TCP --dport 27015 -j DNAT --to-destination
192.168.1.25:27015


I'm trying to route incoming attempts into my internal windows machine to host
a Half Life Counter Strike game every now and then. This is what I come up
with! Could everyone take a look and see if this is correct? Thanks Muchly

=====
"No touchy NO TOUCHY! Emperor Kuzko -=Emperor's New Groove=-"

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Counter Strike FOWARDING?
  2003-03-08 20:34 Counter Strike FOWARDING? SBlaze
@ 2003-03-08 22:24 ` Dimitris Zilaskos
  2003-03-08 22:31 ` Alexander W. Janssen
  1 sibling, 0 replies; 3+ messages in thread
From: Dimitris Zilaskos @ 2003-03-08 22:24 UTC (permalink / raw)
  To: SBlaze; +Cc: netfilter

On Sat, 8 Mar 2003, SBlaze wrote:

> iptables -t nat -A PREROUTING -p TCP --dport 27015 -j DNAT --to-destination
> 192.168.1.25:27015
>
>
> I'm trying to route incoming attempts into my internal windows machine to host
> a Half Life Counter Strike game every now and then. This is what I come up
> with! Could everyone take a look and see if this is correct? Thanks Muchly
>

	Replace TCP with udp . Countertrike also uses ports 6003 , 7002 ,
27005 , 27010 ,27011 , 27012 , though forwarding 27015 usually is enough .


	Best Regards ,
--
=============================================================================

Dimitris Zilaskos

Department of Physics @ Aristotle Univercity of Thessaloniki , Greece
PGP key : http://tassadar.physics.auth.gr/~dzila/pgp_public_key.asc
          http://egnatia.ee.auth.gr/~dzila/pgp_public_key.asc
MD5sum  : 4f84f3f53cb046008b4abcb2a092d28d  pgp_public_key.asc
=============================================================================




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Counter Strike FOWARDING?
  2003-03-08 20:34 Counter Strike FOWARDING? SBlaze
  2003-03-08 22:24 ` Dimitris Zilaskos
@ 2003-03-08 22:31 ` Alexander W. Janssen
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander W. Janssen @ 2003-03-08 22:31 UTC (permalink / raw)
  To: Netfilter Mailinglist

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

On Sat, Mar 08, 2003 at 12:34:34PM -0800, SBlaze wrote:
> iptables -t nat -A PREROUTING -p TCP --dport 27015 -j DNAT --to-destination
> 192.168.1.25:27015

That rule is ok, but you should include a rule in the FORWARD chain which
actually allows the rule. Portforwarding is ok, as long as you don't forbid it
later:

iptables -A FORWARD -p tcp --dport 27015 -d 192.168.1.25 -j ACCEPT

Don't know if the Counterstrike-port is correct though... But i guess you know
what you're doing.

Alex.



-- 
"Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal."
Instructions for use of this post: Insert tounge in cheek. Read as normal.

[-- Attachment #2: Type: application/pgp-signature, Size: 248 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-08 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-08 20:34 Counter Strike FOWARDING? SBlaze
2003-03-08 22:24 ` Dimitris Zilaskos
2003-03-08 22:31 ` Alexander W. Janssen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox