Edit Ubuntu Hosts File to Watch Netflix on IndiHome Network

Well, Netflix is blocked on my home ISP.
I've try to Setup VPN, but it still not working.
Somehow Netflix blocking some VPN/Data Center IP addresses.

Below work around is working for me, by editing my Ubuntu /etc/hosts file.

$ sudo gedit /etc/hosts

Then add below IPs;

35.166.68.183 netflix.com www.netflix.com
54.208.233.73 netflix.com www.netflix.com
52.204.167.205 netflix.com www.netflix.com
35.169.83.64 netflix.com www.netflix.com
52.71.147.164 netflix.com www.netflix.com
34.234.59.120 netflix.com www.netflix.com
54.165.246.104 netflix.com www.netflix.com
34.229.8.114 netflix.com www.netflix.com
54.87.188.169 netflix.com www.netflix.com

Ref:
https://www.digonyze.com/cara-mudah-nonton-netflix-di-indihome/

How To Set Up Your Own IPsec VPN server on Google Cloud Platform

Setup IPsec VPN Server on Google Cloud Platform.

#1 Setup your free Google Cloud Platform account at cloud.google.com or login if you already have one.

#2 Create New Project.

#3 Create new Linux instance with IP Forwarding enabled

Machine type: f1-micro with (for testing purpose only, choose your own preference)
OS: Ubuntu 18.04 LTS Minimal
Firewall: Allow HTTPS traffic


On network interfaces, click the pencil icon to enable IP Forwarding



#3 Setup VPN Server

For more details you can follow the guide at:
https://github.com/hwdsl2/setup-ipsec-vpn

SSH to your instance and install the L2TP Server,

wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh

In the end of the installation write down your details below that will be use to setup for VPN client.

VPN_IPSEC_PSK='your_ipsec_pre_shared_key'
VPN_USER='your_vpn_username'
VPN_PASSWORD='your_vpn_password'

#4 Open UDP Port 500 & 4500



#5 Setup your IPsec/L2TP VPN Clients

Detail guide for many kind of devices as below link:
https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md

Install L2TP dependencies for Ubuntu 18.04;

sudo apt-get update
sudo apt-get install network-manager-l2tp
sudo apt-get install network-manager-l2tp-gnome

Install WordPress with NGINX and SSL on Google Cloud Platform

Google Cloud + WordPress with NGINX and SSL.

#1 Setup Google Cloud Platform at cloud.google.com using a free google account.

#2 Deploy "WordPress with NGINX and SSL Certified by Bitnami" from Marketplace.

#3 Create a Static IP Address & Setup Domain Name to point to the website.

#4 Create SSL Certificate & Setup SSL Certificate AutoRenew.

#5 Increase Performance using a CDN (Content Delivery Network). (optional)

#6 Remove Bitnami Banner Ad. (optional)

sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1
sudo /opt/bitnami/ctlscript.sh restart apache