View previous topic :: View next topic |
Author |
Message |
tagore Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 24 Oct 2002 Posts: 77 Location: Uruguay
|
Posted: Fri Nov 08, 2002 11:28 pm Post subject: Iptables , ICQ . |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
zooey n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Dr_Evil.gif)
Joined: 30 Nov 2002 Posts: 20
|
Posted: Tue Mar 11, 2003 5:13 pm Post subject: |
|
|
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
Saludos |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|