Which ports should I open for apt-get to work?
6
votes
3
answers
19933
views
I installed Webmin, and then set up the firewall like this:
INPUT SSH port ALLOWED Webmin port ALLOWED HTTP port (80) ALLOWED DROP EVERYTHING ELSE FORWARDING no rules OUTPUT no rulesIf I remove
DROP EVERYTHING ELSE
from INPUT, everything works.
However, when that rule is added, apt-get doesn't work, and I can't ping
or traceroute
anything.
Even with DROP EVERYTHING ELSE
enabled, Webmin, HTTP and SSH still work.
Which ports should I unblock to get apt-get working and allowed connecting to other domains from within the server?
Thanks
Asked by cantsay
(184 rep)
Jun 22, 2015, 11:59 PM
Last activity: Oct 1, 2022, 08:27 AM
Last activity: Oct 1, 2022, 08:27 AM