From ba0cd6b322e8881ff11040a7a6d408115054a23b Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Sat, 23 Nov 2024 18:10:43 +0100 Subject: [PATCH] update --- opnsense/readme.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/opnsense/readme.md b/opnsense/readme.md index 03fa85b..83b1a1d 100644 --- a/opnsense/readme.md +++ b/opnsense/readme.md @@ -148,6 +148,72 @@ So I guess its living with this. +--- +pkg install xe-guest-utilities +echo 'xenguest_enable="YES"' >> /etc/rc.conf.local +ln -s /usr/local/etc/rc.d/xenguest /usr/local/etc/rc.d/xenguest.sh +service xenguest start + + +--- + +
+

XCP-ng

+ +[Official xcp instructions.](https://docs.xcp-ng.org/guides/pfsense/)
+Read the link above, dont skip it, might be newer info there! + +#### Network setup + +default xcp network will be used as WAN. + +Will create new virtual network not connected to any real physical interface +and will try to spin some VM on that network to see if opnsense manages it. + +* New > Network > your-xcp-host +* Type - leave both settings off - bonded and private +* Interface - leave empty +* Name it - LAN-SIDE-OPNSENSE +* rest leave default +* Create network + +#### Virtual machine creation + +[Download](https://opnsense.org/download/) the latest opnsense - amd64, **dvd**, +extract iso. + +* New > VM > your-xcp-host +* Template - Other install media +* name; description; vcpu; ram; topology; iso +* Interfaces - leave the first one default
+ add new - LAN-SIDE-OPNSENSE that we created +* add virtual disk +* button - Show advanced settings + * Boot firmware - **uefi** +* Create + +#### Disable TX Checksum Offload + +Head to the "Network" tab of your VM
+advanced settings (click the blue gear icon) for each adapter
+disable TX checksumming.
+Restart the VM. + + +#### xen guest additions + +installing `os-xen` didnt work for me, +so steps from the official instructions + +* enable ssh on the opnsense
+ `System: Settings: Administration` > Secure Shell +* ssh in +* `pkg install xe-guest-utilities` +* `echo 'xenguest_enable="YES"' >> /etc/rc.conf.local` +* `ln -s /usr/local/etc/rc.d/xenguest /usr/local/etc/rc.d/xenguest.sh` +* `service xenguest start` +
+ --- --- @@ -170,6 +236,7 @@ So I guess its living with this. + --- ---