IP address

How to Block Access to Nginx Except for a Specific IP Address

While setting up a new website, I wanted to work on articles and tweaking things before actually launching to the public, so I needed a simple way to keep everybody else out until it was all ready to go. So I used the nginx access control feature to accomplish it.

It would have been more secure to setup nginx HTTP Auth instead and prompt for a username and password, and since it wouldn’t be tied to an IP address, it would have also allowed me to use my mobile devices to access the site even while out of the office. But if you’ve ever used HTTP auth you know that it’s extremely annoying, especially on mobile, to have to enter your credentials all the time.

So instead, I used a simple IP address allow rule for my office IP, and blocked everything else.

Open up your nginx.conf file (or whichever nginx…

How to Configure a Proxy Server on Android

Android allows you to configure proxy settings for each Wi-Fi network. This is sometimes required to access the Internet on a business or school network, for example. Your browser traffic will be sent through the proxy you configure.

The proxy you configure will be used by Chrome and other web browsers, but may not be used by other apps. Each app developer can choose whether it uses Android’s proxy or not. That’s another good reason why you should use a VPN instead of a proxy. WIth a VPN, you can force all app’s network traffic through the VPN connection. It’s a better way to hide your IP address or access geoblocked websites that aren’t available in your country.

Windows Clean Up (2 Mins)
Fast & Easy – Make PC Run Like New. Takes Just 2 Minutes! (Recommended) Go to clean-up-pc.defender-pro.com

This process is the same for all modern versions of Android, from Android 4.0 through 7.1. Some device manufacturers change the way Android’s Settings screen looks and functions, so you may find your Wi-Fi or proxy settings in a slightly different location.

Open Android’s Settings app and tap “Wi-Fi” to view a list of Wi-Fi networks.

Long-press the name of the Wi-Fi network you want to change the proxy settings for. Tap “Modify Network” when a menu appears.

If you haven’t already connected to the Wi-Fi network, you’ll need to connect to the Wi-Fi network and enter its passphrase before…