allow
Configuring windows firewall from the command line
To configure Windows firewall from the command line, you have to open the cmd with administrative rights. Default Rule To deny all incoming connections and allow all outgoing connections: netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound Enable or Disable firewall To enable firewall: netsh advfirewall set allprofiles state on or netsh firewall set opmode enable To [...]
Iptables made easy with ufw
UFW is a front-end for iptables and is here to make your life easier! Default Rule To deny all incoming connections: sudo ufw default deny To allow all incoming connections: sudo ufw default allow Enable or Disable ufw To enable ufw: sudo ufw enable To disable ufw: sudo ufw disable Allow or Deny [...]