LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to open ports? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-open-ports-131794/)

kaboom 01-05-2004 03:39 PM

How to open ports?
 
Are you a Redhatguru? Then please help me :)

I installed Redhat9 in a standard way, but no ports are open for the outside world, how can i open these ports?

PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
106/tcp open pop3pw
110/tcp open pop-3
143/tcp open imap
443/tcp open https
465/tcp open smtps
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
8443/tcp open https-alt

Only ssh is now open, and locally (nmap localhost) above services/ports are up.

Can someone please tell me how to do this? ( Which files to edit/program to use)

Thanks alot!

neo77777 01-05-2004 05:23 PM

you need to get a basic understanding on how iptables work (though the knowledge of iptables isn't necessary it is helpful to at least understand some security concepts and consequences imposed by opening up the ports, as for iptables you can get a freely available scripts offered by kind ppl of linux community) http://netfilter.org/ especially peruse documentation section. Good Luck.
But please don't open the ports that are not needed for outside access - you will be making a huge favor not only for yourself but also for everyone else out there on the net. If you open the apps that are already vulnerable to various exploits and what not - you will make a huge favor to script-kiddies and likes.


All times are GMT -5. The time now is 05:42 AM.