This is useful if...
- Your USG sits behind another firewall (such as in an apartment complex or dorm)
- Your USG receives a private IP instead of a public one
- You are unable to put the other router in bridge mode or passthrough mode
- The other router forwards all ports for the public IP to your USG
- Enable Dynamic DNS for your domain in Namecheap
- Create an A+Dynamic DNS record for the desired hostname
- Edit the values in this script (make sure to remove the brackets as well...)
host
: The hostname you created in step 2domain_name
: The domain that you are updating in Namecheapddns_password
: The Dynamic DNS Password shown in the Dynamic DNS section on the Advanced DNS page in Namecheap
- SSH into the USG
- Become
root
(runsudo su
) - Run this script (you can also just copy/paste lines 2-6 into the terminal)
- ????
- PROFIT!!!