Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.