From 71647805a966850da84eeffb1812cccac1ff4b75 Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Sun, 27 Jul 2025 12:33:15 +0200 Subject: [PATCH] update --- opnsense/readme.md | 72 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 11 deletions(-) diff --git a/opnsense/readme.md b/opnsense/readme.md index 30b21d9..98bdd64 100644 --- a/opnsense/readme.md +++ b/opnsense/readme.md @@ -367,7 +367,8 @@ System > Firmware > Plugins * hostname, DNS use 8.8.8.8 and/or 1.1.1.1 * timezone and ntp server * WAN - DHCP , defaults - * LAN - set network and mask, I prefer 10.0.X.1 + * LAN - set network and mask, I prefer 10.0.X.1
+ maybe uncheck DHCP setup if you know you want to set dnsmasq later * root password * Update; Restart @@ -377,12 +378,48 @@ The default NAT and firewall enforces basic stuff. ### Some extra settings -* I like to go and disable IPv6 - on all interfaces - `IPv6 Configuration Type` - none.
- It hides noise in options and if running as a VM it also does not bother - showing ipv6 ip in hypervisor info. * If runnig in a hypervisor dont forget guest agent. -* + +### Disable ipv6 + +To not see unnecessary options and info.
+But at the time of writing there seems to be a bug that requires +extra work. + +* `Interfaces: Settings`
+ Allow IPv6 - uncheck +* `Interfaces: [WAN]`
+ IPv6 Configuration Type - None +* `Interfaces: [LAN]`
+ IPv6 Configuration Type - None +* Possibly in `Services` disable IPv6 in any and all DHCP services + +#### The bug + +When trying to disable IPv6 on LAN side you get + +- *"The DHCPv6 Server is active on this interface and it can be used only + with a static IPv6 configuration. Please disable the DHCPv6 Server + service on this interface first, then change the interface configuration"* + +Some bug prevents GUI from actually properly showing the real state +or registering changes of unchecking... +what's needed is deletion of ipv6 addresses on the loopback interface +and then setting a static address on LAN interface. + +* `System: Settings: Administration`
+ enable SSH, enable root login, enable password login +* SSH in and get to shell + * `ifconfig | grep ::1` - check if the address is assigned + * `ifconfig lo0 inet6 ::1 delete` - delete + * `ifconfig lo0 inet6 fe80::1 delete` +* `Interfaces: [LAN]`
+ IPv6 Configuration Type - Static IPv6 + IPv6 address - `::1` / `128` + * `Services: ISC DHCPv6: [LAN]`
+ Enable DHCPv6 server on LAN interface - uncheck + +Now we are able to set IPv6 to none on LAN. # Users @@ -417,13 +454,14 @@ that shows that custom menu 2022 Internet Systems Consortium stopped development of ISC DHCPD that was widely used in favor of working on Kea DHCP.
Opnsense needed to make a decision what to use next as the default, -Kea or dnsmasq and decided to use dnsmasq.
-But since it's not yet the default, here are the steps. +Kea or dnsmasq. +As of mid 2025, the default is still ISC and recommendatin from opnsense +is for small and medium networks under 1000 devices, +it is recommended to go with dnsmasq. For larger deployments its Kea. -The simple dnsmasq setup. +A simple **dnsmasq setup**. - -* Disable the default ISC DHCPv4
+* Disable the default ISC DHCPv4 if it's running
`Services: ISC DHCPv4: [interface name]` - uncheck enabled; save * Make sure other DHCP services are disabled
`Lobby: Dashboard` section Services should not list any dhcp @@ -797,6 +835,18 @@ I am usually on wg-easy deployment in docker, but might start using this soon... --- --- +
+

Snaposhots on ZFS

+ +[The official docs](https://docs.opnsense.org/manual/snapshots.html) are great. + +Boot process interupt key is space. + +
+ +--- +--- +

Monitoring