O firewall foi desativado no servidor Linux SUSE, os números de porta de 50000:60020
foram ativados. Eu posso capaz de fazer o ping do servidor capaz de telnet usando o IP. Quando dou a porta 50000
ou 60000
em meus comandos telnet, diz
Connecting To 192.168.209.135...Could not open connection to the host, on port 60000: Connect failed
Poderia alguém ajudar nisso, por favor?
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
C:\Users\Krishna>ping 192.168.209.135
Pinging 192.168.209.135 with 32 bytes of data:
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Reply from 192.168.209.135: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.209.135:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Isso funciona bem:
telnet 192.168.209.135
Saída de iptables
:
summer:/etc/sysconfig # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0 anywhere state NEW tcp dpts:DB2_db2champ:DB2_db2inst1_END
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Conteúdo do SuSEfirewall2
:
summer:/etc/sysconfig # cat /etc/sysconfig/SuSEfirewall2
# Copyright (c) 2000-2002 SuSE GmbH Nuernberg, Germany. All rights reserved.
# Copyright (c) 2003,2004 SuSE Linux AG Nuernberg, Germany. All rights reserved.
# Copyright (c) 2005-2008 SUSE LINUX Products GmbH Nuernberg, Germany. All rights reserved.
#
# Author: Marc Heuse, 2002
# Ludwig Nussel, 2004-2008
#
# /etc/sysconfig/SuSEfirewall2
#
# for use with /sbin/SuSEfirewall2 version 3.6
#
# ------------------------------------------------------------------------ #
# PLEASE NOTE THE FOLLOWING:
FW_PROTECT_FROM_INT="no"
FW_SERVICES_EXT_TCP="50000:60019 telnet"
summer:/etc/sysconfig # netstat -tapn | grep :50000
summer:/etc/sysconfig # netstat -tapn | grep :60000
Como posso abrir / usar a porta 50000 para conectar-me ao host do Linux SUSE usando o telnet?
Tags networking iptables opensuse