How To's

How to set up a more advanced home network.

How to Photo by Mathis_GERMA from Pixabay

How to Mirror a Local GitLab Repository to a Remote GitLab Repository

How to Mirror a Local GitLab Repository to a Remote GitLab Repository

Would you like to have your local GitLab repository be mirrored to a remote repository such as one hosted on GitLab.com?

I have long considered self-hosting my own Git server to use for personal projects, but I never took the time to do so. Now that I have Proxmox and have come to love being able to run containers/virtual machines for everything, I thought it was time to set up a local GitLab installation. My main GitLab repository which I use to host this site is on GitLab.com. Ideally, I would like to push all my updates to the local GitLab server and in turn have the updates be migrated to the remote repository on GitLab.
OPNsense Firewall Rule "Cheat Sheet"

OPNsense Firewall Rule "Cheat Sheet"

A quick guide to creating firewall rules in various situations

When looking up information on how to write firewall rules in OPNsense, you may be looking for specific examples on how to block or allow certain types of network traffic rather than how to write firewall rules in general. This is especially true once you become more experienced and comfortable with writing rules. I thought it would be a good idea to consolidate a variety of scenarios into a single how-to that could be used as a quick reference guide.
How to Configure WAN and NAT Port Forward Rules in OPNsense

How to Configure WAN and NAT Port Forward Rules in OPNsense

Confused when you should use a WAN rule instead of a NAT port forward rule?

Understanding how to forward ports and create firewall rules for the WAN interface of your router is important if you wish to access services hosted on your router or a server in your internal network. Knowing when to use a WAN rule versus a NAT Port Forward rule may be confusing to new users. WAN vs. NAT Port Forward Rule: Which one to use? Generally speaking, WAN rules should be used for any service running directly on your router and NAT port forward rules for any service host on a server in your internal network (either virtualized or physical).
Write Better Firewall Rules in OPNsense using Aliases

Write Better Firewall Rules in OPNsense using Aliases

A firewall alias is a powerful feature which should not be overlooked

When you first learned to write firewall rules in OPNsense, you may have simply used the pre-defined aliases for the network interfaces/ports and IP addresses such as “LAN net”, “LAN interface”, “HTTP”, “HTTPS”, etc. You may not have even realized you were using aliases since they do not appear in the list on the “Aliases” page. Using the predefined aliases is not only convenient but helps make your rules easier to understand (imagine having a large number of rules and seeing only IP/network addresses).
How to Run OPNsense in a Proxmox Virtual Machine for Evaluation Purposes

How to Run OPNsense in a Proxmox Virtual Machine for Evaluation Purposes

Virtualize OPNsense as your primary router or for evaluation purposes

Have you wanted to take a look at OPNsense without installing it to a dedicated machine and/or deploying it as your primary home router/firewall? The easiest way to evaluate OPNsense without installing it on separate hardware is to virtualize it. I wrote about running OPNsense in VirtualBox. Now that I run Proxmox on my server instead of Ubuntu (I still use Ubuntu for many of my LXCs/VMs on Proxmox), I wanted to run OPNsense on Proxmox so I may use when writing content for this site.