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
Open port without Iptables or Firewall rules
Re: Open port without Iptables or Firewall rules
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
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
Re: Open port without Iptables or Firewall rules
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
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
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Open port without Iptables or Firewall rules
The telnet client does not listen on ports. It connects to an already open and listening port.
What are you actually trying to do?
What are you actually trying to do?