6. Setup Port forwarding in home router
Connect to home router setting web page
Usually home router provides configuration web page to configure the router.
In my case, 172.30.1.254 was the web page address. It says that usually default gateway is used for the web page.
Find a default gateway at destination column in a route table.
netstat -nrIn browser,
http://172.30.1.254I needed to login, and default id and password was found in the internet.
Setup Port forwarding
Port forwarding will send traffic from public internet to specific private ip and port.
The private ip will be home server's ip. (ex: 172.30.1.91)
There is a menu named NAT or Port forwarding.
Forward the port 22, 80, 443 to the private ip's 22, 80, 443.
Test using public IP
Find my public ip using a website searched in google "find my ip".
Then check the ip.
It would give Moved Permanently html doc.
Last updated