OPNsense Forum

English Forums => General Discussion => Topic started by: beneix on November 01, 2026, 02:06:11 PM

Title: Learn firewall, NAT, routing and gateways properly
Post by: beneix on November 01, 2026, 02:06:11 PM
I have used OPNSense for over five years now. I have gradually introduced more and more advanced configurations such as road warrior Wireguard access, OpenVPN client, VLANs, various plugins, etc. All along, I have felt that I was behind the learning curve on really understanding the firewall rules, NAT, interfaces/aliases and gateways. I have somehow managed to get things working, but sometimes without understanding why. I find the interaction between these concepts particularly confusing.

Now I would like to address my knowledge deficit and learn these things properly before I attempt the long-delayed migration from legacy firewall rules. I would appreciate pointers to good learning resources that will help.
Title: Re: Learn firewall, NAT, routing and gateways properly
Post by: bob9999 on November 01, 2026, 02:39:08 PM
I have always been under the impression that many posters here learn OPNsense and confuse that with learning networking. Hopefully you aren't making that mistake. If you learn basic networking concepts as if you were taking a survey course, you will much better understand what you are actually doing when you want to give your network a new feature.

With your network plans, first decide what objective you want to accomplish in a conceptual way without regard to OPNsense. Then figure out the generic way to do it, more or less. Finally, figure out how it's done in OPNsense.

Look up Intro To Networking courses on YouTube. Long ones in many parts that cover a lot of territory. Maybe even buy a cheap old used text book on it from Amazon. Basic networking hasn't changed a lot in over a decade. The basic stuff is what you want to learn so you can understand the newer and more exotic things later.
Title: Re: Learn firewall, NAT, routing and gateways properly
Post by: Bob.Dig on November 01, 2026, 03:29:21 PM
For some basic stuff in German, you can go here:
https://www.youtube.com/watch?v=HrUZjqqWPZM
But you probably don't speak German, I guess. ;)
Title: Re: Learn firewall, NAT, routing and gateways properly
Post by: nero355 on November 01, 2026, 05:06:25 PM
Quote from: bob9999 on <strong>Today</strong> at 02:39:08 PMWith your network plans, first decide what objective you want to accomplish in a conceptual way without regard to OPNsense. Then figure out the generic way to do it, more or less. Finally, figure out how it's done in OPNsense.
Just one thing :

People sometimes want to accomplish things the wrong way or sometimes even the impossible way when they just start learning something so watch out for that "trap" that might come along your way :)


In general I think a nice basic layer of knowledge would be the CISCO CCNA Course when it comes to :
- IP Addressing
- TCP/UDP Protocols
- Routing
- VLANs

On the other hand when you look up information about something these days there is probably also some explanation included about the thing you are about to configure because all those YouTubers need their "viewing time" requirement satisfied each month ;)
And since people read less and less but do watch videos instead : There is your solution! LOL!
Title: Re: Learn firewall, NAT, routing and gateways properly
Post by: Patrick M. Hausen on November 01, 2026, 05:28:33 PM
I'd start with Cisco CCNA textbooks or Rich Stevens' "TCP/IP Illustrated, Volume I". Also recommended: Radia Perlman, "Interconnections - Bridges and Routers".