How to modify the domain whitelist when using URL filtering in IP Fire.
This is the first time I've tried to use images in one of the articles (I think), so I'm not that good at it. I decided to put everything in a table. If you really need to see the screen shots I took, under Chrome simply right click and select "Open Image in new tab". Under Firefox, right click ad select "View Image" then, click the back button when you have seen what you want to see.
|Open a web browser to your router, using the URL https://ip.of.router:444, where ip.of.router is the IP Address of your router. For example, if your router is at 192.168.1.1, you would enter https://192.168.1.1:444. The s a the end of https and the :444. are very important.|
|When you go to that IP address, you will see the first streen screen (Mozilla Firefox) or something similar in other browsers. This is telling you that the certificate is not recognized, and warning there may be a problem. In this case, it is ok to go to the site, so click on the "I understand the risks" link.|
|After you have clicked on "I understand the link" the box will open up and give you the option to Add Exception|
|Now, you are finally at the log in screen. The user name is always "admin" (without the quotes). The password is whatever was set up when your router was configured. After you have enterered this information, click the "Ok" button to log in.|
|At the main page for IPFire, you should now place your mouse over the Network menu option (it is not necessary in recent versions to actually click there)|
|Placing your mouse over the Network menu (or clicking on it) will bring up the Network menu. Click on URL Filtering to begin the work.|
Look for the box which has Custom Whitelist as the title. See the arrow in the image to the right. Enter the domain names into the box.
Note: Enter the domain names NOT the urls. So, for example, if you want to unblock http://wiki.linuxservertech.com/index.php?action=show&cat=5, you would enter only linuxservertech.com or wiki.linuxservertech.com, not the full URL. No https, no http, no :, nothing except the actual domain or server in that domain.
If that is confusing, read the explaination at the bottom of this article.
You may enter as many domains as you like in here, one per line.
|When you have entered all the domains you want to whitelist, scroll down about halfway until you see the Save and Save and Restart buttons (they are not at the bottom of the page, but about halfway down). Click the Save and Restart button. At this point, the domains you entered should be accessible to any browsers.|
What is a domain, and why is it different from a URL or web site?
When talking about web sites, a URL (Uniform Resource Locator) is a bunch of stuff that points to an exact web page. It is generally made up something similar to this:
protocol is normally either http or https. If that is left off (with the following colon (:) and two slashes (/), http is assumed (https is secure http, that is what the "s" stands for).
The next part is kind of confusing. Let's use an example, wiki.linuxservertech.com. In that, linuxservertech.com is the Domain, and wiki is the name of the server inside that domain. www.linuxservertech.com is another server in the linuxservertech.com domain. And, to make things even more confusing, http://linuxservertech.com is perfectly valid and may be a completely different server in the linuxservertech.com domain.
http://wiki.linuxservertech.com/index.php?action=show&cat=5 is a full URL. It defines a particular web page to go to. A URL is just that, a complete description of a page to go to. So, the above URL means "go to index.php?action=show&cat=5 on the server wiki in the domain linuxservertech.com using the protocol http.
URL Filtering actually can take the full server name and domain (wiki.linuxservertech.com) or just the domain (linuxservertech.com). In the latter case (entering just linuxservertech.com), your users will be able to visit anything at http://wiki.linuxservertech.com, http://www.linuxservertech.com or http://linuxservertech.com or their equivilent with https.
Note: I have simplified things quite a bit. In reality, with the way web services run in modern time, www.linuxservertech.com, wiki.linuxservertech.com and linuxservertech.com are all run from the same web server, and it does not even have the correct name (it is jenny.dailydata.net). But, the simplifications above are useful unless you are a systems or network administrator.