Hello,
a quick question, how do i open/enable a port ? ( I don't have firewall) i know nmap localhost will list all the open ports, but what if i want to open or close a particular port (firewall is disabled ) My distro is FC3?
Hello,
a quick question, how do i open/enable a port ? ( I don't have firewall) i know nmap localhost will list all the open ports, but what if i want to open or close a particular port (firewall is disabled ) My distro is FC3?
Dear markwaugh,
Hello,
# iptables -A FORWARD -p tcp --sport 80 -j ACCEPT
it will open port 80
FYI, http://linux.unimelb.edu.au/server/c.../iptables.html
Best Regards.
Färrükh Ähmëd
Do you want to want to open up the port or just have an application listen on a particular port?
Shutting down a network enabled application will cause it to stop listening on its assigned port.
This link will show you how to use the netstat and lsof commands to know exactly what application to shut down to get your server to stop listening on a particular port.
Bookmarks