Using Ubuntu and UFW (Uncomplicated Firewall) as a Router Firewall in Azure
Notes: https://github.com/toggenation/ubuntu-fw
00:00:00 Making note of firewall IP Addresses
00:01:42 Verify Enable IP Forwarding is enabled on the LAN interface
00:02:32 Connecting to the firewall via SSH
00:02:50 Running apt-get update
00:03:10 Adding a swapfile to stop Out of Memory Killed error
00:06:45 Enable firewall configuration version control with etckeeper
00:08:10 Adding a SSH allow rule and enabling UFW firewall
00:10:56 Adding an AllowAny rule to the WAN Interface Network Security Group
00:12:20 Enable IP forwarding on firewall
00:13:30 Changing the DEFAULT_FORWARD_POLICY
00:14:20 Adding Port Forwarding and Outbound NAT rules
00:18:08 Testing Port Forwards using curl
00:21:17 Locking down forwarding
00:21:50 Changing the default forwarding policy to deny
00:22:22 Viewing the UFW log file
00:23:20 Configuring forwarding rules
00:26:13 Deleting UFW rules
00:33:50 Adding a deny rule from a specific host or network
00:35:13 Re-ordering rules by using insert NUM RULE
00:38:10 Adding connectivity for another subnet
00:43:00 Configuring a custom route to another subnet
00:50:51 Installing speedtest-cli
00:52:23 Enabling swapfile method 2
00:53:25 Performing a speed test