how open or close a tcp port using command

Asked by aneesh

how open or close a tcp port using command

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
André Carezia (carezia) said :
#1

You mean something like netcat (http://en.wikipedia.org/wiki/Netcat) or something like a firewall?

Revision history for this message
Fabián Rodríguez (magicfab) said :
#2

ufw is your friend.

Check the man page for all the available commands.

http://manpages.ubuntu.com and searchfor "ufw" or from command line, type:

man ufw

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.