Enviar Respuesta  Enviar Tema 
Abrir puertos con iptables (solucionado)
Autor Mensaje
javzre
Usuario PL


Mensajes: 6
Grupo: Registrado
Registro en: Feb 2007
Estado: Sin Conexión
Reputación: 0
Mensaje: #1
Abrir puertos con iptables (solucionado)

Hola, soy nuevo en linux asi q necesito ayuda!!!! jajaja He descubierto q ubuntu viene con todos los puertos cerrados gracias a iptables. en mi terminal hago un "sudo iptables -L" y aparece esto:

Código:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Necesito q me digan como puedo abrir un par de puertos, para mi caso seria el 33333 para tcp y 33335 udp. Son estos los q abri en el router.
Si vale la aclaración tengo ubuntu dapper.
Espero q puedan ayudarme. Desde ya muchas gracias.
Saludos

03-02-2007 12:31 PM
Encuentra todos los mensajes de este usuario Cita este mensaje en tu respuesta
warp
Q


Mensajes: 2,009
Grupo: Registrado
Registro en: Jun 2005
Estado: Sin Conexión
Reputación: 10
Mensaje: #2
RE: Abrir puertos con iptables

hola javzre, ya que como mencionas sos nuevo en linux, te recomendaría que instales firestarter, es una GUI de iptables muy intuitiva..... Hace:

Código:
apt-get install firestarter

o por synaptic..... Cuando lo tengas instalado, si te surgen dudas contactanos.....

Saludos....


03-02-2007 03:51 PM
Visita el website del usuario Encuentra todos los mensajes de este usuario Cita este mensaje en tu respuesta
javzre
Usuario PL


Mensajes: 6
Grupo: Registrado
Registro en: Feb 2007
Estado: Sin Conexión
Reputación: 0
Mensaje: #3
RE: Abrir puertos con iptables

Hola, bueno, eh solucionado mi problema, pero a decir verdad de tanto q he probado todavia estoy medio mareado!!!
Bueno, finalmente decidí desisntalar iptables ya q no estoy interesado en el manejo de puertos. Esto es simple, un solo comando: sudo apt-get --purge remove iptables
Y con respecto al aMule, ya desistí, va, me recomendaron uno mucho mejor, y simple. Descargas por torrents. Están muy buenas, baja mucho mas rápido, pero el único inconveniente es q todavia no encontré mucha musica nacional. Si alguien tiene algun dato de esto, se lo agradecería.
Tambien tube q abrir los puertos de mi router, esto es muy simple. tipeá: http://10.0.0.2/doc/admin.htm
y en la sección Port Forwarding agregás los puertos q necesités! No te asustes, es todo muy intuitivo!!
Nota: Aclaro q esto vale para los modems aztech DSL 305EU, desconozco para el resto.
Aqui les dejo los pasos para instalar rtorrent:
1) Creamos la carpeta torrents en el /home.
Dentro de esta 3 más con los siguientes nombres: downloads, session, torrents
2)Instalar torrents con el siguiente comando: sudo apt-get install rtorrent
3)Configurar el .rtorrent.rc Yo tengo esta configuracion y la verdad q anda muy bien, copia esto y guardalo en tu home con el nombre de .rtorrent.rc (Utiliza el gedit)

Código:
# Default directory to save the downloaded torrents.
directory = /home/javzre/torrents/downloads

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = ./torrents/session

# Watch a directory for new torrents, and stop those that have been
# deleted.
#schedule = watch_directory,5,5,load_start=./watch/*.torrent
#schedule = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low.
#schedule = low_diskspace,5,60,close_low_diskspace=100M

# Stop torrents when reaching upload ratio in percent,
# when also reaching total upload in bytes, or when
# reaching final upload ratio in percent.
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
#schedule = ratio,60,60,stop_on_ratio=200,200M,2000

# The ip address reported to the tracker.
#ip = 127.0.0.1
#ip = rakshasa.no

# The ip address the listening socket and outgoing connections is
# bound to.
#bind = 127.0.0.1
#bind = rakshasa.no

# Port range to use for listening.
port_range = 6881-6882

# Start opening ports at a random position within the port range.
port_random = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#check_hash = no

# Set whetever the client should try to connect to UDP trackers.
use_udp_trackers = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa

#
# Do not modify the following parameters unless you know what you're doing.
#

# Hash read-ahead controls how many MB to request the kernel to read
# ahead. If the value is too low the disk may not be fully utilized,
# while if too high the kernel might not be able to keep the read
# pages in memory thus end up trashing.
#hash_read_ahead = 10

# Interval between attempts to check the hash, in milliseconds.
#hash_interval = 100

# Number of attempts to check the hash while using the mincore status,
# before forcing. Overworked systems might need lower values to get a
# decent hash checking rate.
#hash_max_tries = 10

# Max number of files to keep open simultaniously.
#max_open_files = 128

# Number of sockets to simultaneously keep open.
#max_open_sockets = <no default>


# Example of scheduling commands: Switch between two ip's every 5
# seconds.
#schedule = "ip_tick1,5,10,ip=torretta"
#schedule = "ip_tick2,10,10,ip=lampedusa"

# Remove a scheduled event.
#schedule_remove = "ip_tick1"


Espero q te sirva!
Saludos

03-03-2007 05:19 PM
Encuentra todos los mensajes de este usuario Cita este mensaje en tu respuesta
Enviar Respuesta  Enviar Tema 

Posibles Temas Similares...
Tema: Autor Respuestas: Vistas: Ultimo Mensaje
  Iptables DESU 1 95 07-12-2008 07:59 PM
Ultimo Mensaje: dragonauta
  Abrir puertos en Fedora 7 gna1805 3 832 11-27-2007 05:54 PM
Ultimo Mensaje: dragonauta
  Diferentes puertos tras Squid nicolas.ard 11 1,912 04-17-2007 12:26 PM
Ultimo Mensaje: warp

Ver la Versión para Impresión
Mandar este Tema a algún Amigo
Subscríbete a este Tema | Agrega este Tema a Tus Favoritos

Salto de Foro: