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.

My debian server's wget and aptitude was blocked by firewall administor. Which ports should I inform firewall to unblock?

share|improve this question

migrated from stackoverflow.com Feb 20 '13 at 7:17

This question came from our site for professional and enthusiast programmers.

    
My server and firewall are isolated hardwares. The firewall is securing the whole data center. My server is just one of computer there. –  Hugo Feb 20 '13 at 4:07

1 Answer 1

wget supports HTTP, HTTPS, and FTP, so by default that's 80, 443, 20, and 21 (all TCP).

apt can use HTTP, HTTPS, FTP, RSH, and SSH, so that's 80, 443, 20, 21, 514, and 22 (also all TCP), though if all of the repositories listed in /etc/apt/sources.list are HTTP URIs (which they probably are), just 80 will do.

share|improve this answer

Your Answer

 
discard

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