Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I had trouble but I finally port forwarded 21-23 and thus got SSH working on my Ubuntu machine.

If I want to do other things with it such as FTP, should I just port forward 1-10000 so I don't have to worry about port forwarding each individual port? What are the advantages/disadvantages of this?

share|improve this question
up vote 1 down vote accepted

The easiest thing to do is to put the machine in the router's DMZ, but this (and your plan as well) will expose your system directly to the Internet at large, thereby vastly increasing your security risk. The best thing to do is to expose services only as needed.

Also, ssh is only port 22. You can close 23, but 21 will handle FTP as long as the client uses passive mode.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .