Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Iptables , ICQ .
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
tagore
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 77
Location: Uruguay

PostPosted: Fri Nov 08, 2002 11:28 pm    Post subject: Iptables , ICQ . Reply with quote

Quote:

Firewall Settings Requirements:

For ICQ to successfully work behind a firewall the following system configurations must be set by the System Administrator for the systems network.

Client to server Communication:
This is done via port 5190 TCP to login.icq.com (please note- allow a bi-directional connection to the port for login.icq.com and not any specific IP address, since it stands for more than one IP address).

Client to client communication:

Client to client connection is done using the TCP protocol, using port range 1024-65535. This means that the client needs an open listening port within the mentioned range-- 1024-65535


Eso dice en la apgina de ICQ .. ahora alguien me lo puede traducir a Iptables? o explicarme un poco como logro ese efecto :?
Gracias y salu2
Back to top
View user's profile Send private message
zooey
n00b
n00b


Joined: 30 Nov 2002
Posts: 20

PostPosted: Tue Mar 11, 2003 5:13 pm    Post subject: Reply with quote

Mucho pides pero intentaré que te pueda funcionar :) (supongo que tienes iptables funcionando ok)


Esta línea abre la comunicación hacia el exterior (en el caso de que la tengas cerrada, que no creo, así que puede que no sea necesaria)
Code:

iptables -A OUTPUT -p tcp --dport 5190 -d login.icq.com -j ACCEPT


Ahora abres la entrada sólo a ese puerto del ICQ y a esa dirección:
Code:

iptables -A INPUT -p tcp --dport 5190 -s login.icq.com -j ACCEPT


Esta es la de "obertura" hacia tu máquina (si tienes todo cerrado, excepto lo que necesitas, si que es necesaria) del rango de puertos que te pide para que puedas establecer conexión entre el rango de puertos que utilizan los clientes del ICQ 1024-65535:

Code:

iptables -A INPUT -p tcp --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT



Bueno, esto es en lineas generales. Puedes especificar interface de destino o ip (si la tienes estática). Mírate la doc del iptables en

http://www.netfilter.org/documentation/index.html

Creo que está bien explicado y te harás una idea más exacta de cómo funciona el chiringuito


Espero que te sirva de algo esta chapuza de explicación :wink:

Saludos
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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