Open port without Iptables or Firewall rules

Issues related to configuring your network
Post Reply
acerri
Posts: 2
Joined: 2014/09/30 18:24:54

Open port without Iptables or Firewall rules

Post by acerri » 2014/09/30 18:31:23

Hello guys,

Im looking for a tutorial or something to open a port, BUT without Iptables or by Firewall (are disables)
Thanks for any help

CentOS 5.9

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Open port without Iptables or Firewall rules

Post by TrevorH » 2014/09/30 18:37:35

If you don't have iptables then you cannot open a port because they are all open. Of course, something has to be listening on the server for that to make any difference but without a firewall, anything that is listening is accessible from anywhere.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

acerri
Posts: 2
Joined: 2014/09/30 18:24:54

Re: Open port without Iptables or Firewall rules

Post by acerri » 2014/09/30 19:41:32

Something wierd...

SELinux = disable
Iptable = stoped
Firewall = off

All ports should be open, right? In my case i want to open 5162 udp protocol for a test, look....

[root@totvs11-linux ~]# telnet localhost 5162
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
telnet: Unable to connect to remote host: Connection refused


[root@totvs11-linux ~]# nmap -sU localhost
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2014-09-30 16:40 BRT
Interesting ports on totvs11-linux.localdomain (127.0.0.1):
Not shown: 1481 closed ports
PORT STATE SERVICE
111/udp open|filtered rpcbind
761/udp open|filtered rxe
793/udp open|filtered unknown
888/udp open|filtered accessbuilder
891/udp open|filtered unknown
2049/udp open|filtered nfs

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Open port without Iptables or Firewall rules

Post by gerald_clark » 2014/09/30 20:00:04

The telnet client does not listen on ports. It connects to an already open and listening port.
What are you actually trying to do?

Post Reply