Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[IPTABLES] Jak przepuścić serwer gry Quake2?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
gentooxic
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 108
Location: N 50°48' E 19°07'

PostPosted: Wed Oct 11, 2006 6:24 pm    Post subject: [IPTABLES] Jak przepuścić serwer gry Quake2? Reply with quote

Nie potrafię skonstruować firewalla tak aby przepuszczał serwer q2.

Mam takie coś:
Code:

#!/bin/sh
iptables -F
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
#
iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT
#
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A INPUT -p tcp -i wlan0 --dport 27916 -m state --state NEW -j ACCEPT

Serwer quake2 pracuje bodajże na porcie 27916
Chcę aby można było łączyć się z zewnątrz na mój serwer quake2.
Bardzo proszę o pomoc, jak widać mój firewall to jedynie odrzucanie wszystkich połączeń nadchodzących, a przepuszczanie tych, które są nawiązywane z mojego komputera - do tego jedynie chcę dodać możliwość łączenia z serwerem quake2 - ma ktoś taki serwer gdzieś?, być może bym sobie z tym poradził gdybym wiedział jak sprawdzić jakie mam otwarte port i jakiego typu gdy jest włączony serwer tej gry, może są jakieś porty UDP. W sprawach sieciowych jestem dość słaby więc liczę na pomoc.
Back to top
View user's profile Send private message
szolek
Guru
Guru


Joined: 30 Mar 2005
Posts: 570
Location: Brzóza Królewska

PostPosted: Wed Oct 11, 2006 6:56 pm    Post subject: Reply with quote

Do sprawdzenia portów użyj
Code:
netstat -ln
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum