Tag: firewall

Firewall, Fortigate

Using VDOMs to host two FortiOS instances on a single FortiGate unit V.5.0.5

Virtual Domains (VDOMs) can be used to divide a single FortiGate unit into two or more virtual instances of FortiOS that function as independent FortiGate units. This example simulates an ISP that provides Company A and Company B with distinct Internet services. Each company has its own VDOM, IP address, and internal network. Switching to …

Firewall

How to create a basic configuration on a Fortigate

Let’s see some useful command on a fortigate firewall. Assuming that you have a Fortinet Fortigate device, your local ip address is in the range of 192.168.200.0/24 and you have a router with a public IP address 185.186.187.1 and a public subnet 185.186.187.0/29. config system global # Set the http admin port to 80/tcp set …

Firewall, Windows 7

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,allowoutboundnetsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound Enable or Disable firewall To enable firewall: netsh advfirewall set allprofiles state onnetsh advfirewall set …

Firewall, Ubuntu, Ubuntu Server, UFW

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 denysudo ufw default deny To allow all incoming connections: sudo ufw default allowsudo ufw default allow   Enable or Disable ufw To enable ufw: sudo ufw enablesudo ufw enable To disable …