# Which port to close on firewall?

**URL:** <https://forum.kirupa.com/t/which-port-to-close-on-firewall/173102>\
**Category:** Uncategorized\
**Created:** [December 21, 2005, 8:16am UTC](https://forum.kirupa.com/t/which-port-to-close-on-firewall/173102 "2005-12-21T08:16:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DHDesign](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@DHDesign](https://forum.kirupa.com/u/DHDesign)\
**Post date:** [December 21, 2005, 8:16am UTC](https://forum.kirupa.com/t/which-port-to-close-on-firewall/173102/1 "2005-12-21T08:16:37Z")

</div>

i recently got this in an email from our host provider for a dedicated server with a netscreen5 firewall…these are the current settings on the firewall:

Trust to Untrust: Allow ANY

Untrust to Trust: Allow FTP  
Untrust to Trust: Allow SMTP  
Untrust to Trust: Allow DNS  
Untrust to Trust: Allow HTTP  
Untrust to Trust: Allow HTTPS  
Untrust to Trust: Allow POP3  
Untrust to Trust: Allow SSH  
Untrust to Trust: Allow Telnet  
Untrust to Trust: Allow SI\*  
Untrust to Trust: Allow Plesk\*

Now we are supposed to inform them of which ports to close and which IP addresses to ban, but how do you go about doing this? What should we restrict, which ports do we close and wat ipaddresses do we block?

any and all help is much appreciated. thanks!
