No internet connectivity (curl), except pings and DNS queries

Obli

Cadet
Joined
May 19, 2021
Messages
4
Hello TrueNAS-Community I am still new. I built my own TrueNAS server from scratch and I got quite far but now I am at a loss end need your help. I will describe my problem, what I tried to solve the problem and my setup.

Problem:
My TrueNAS server can't access the internet but it can ping and drill every domain.

Code:
root@truenas[~]# curl https://www.truenas.com
curl: (28) Failed to connect to www.truenas.com port 443: Operation timed out

It took ~30s to time out.

Code:
root@truenas[~]# freenas-update -v check
[freenasOS.Configuration:606] TryGetNetworkFile(['https://update-master.ixsystems.com/TrueNAS/TrueNAS-12.0-STABLE/LATEST'])
[urllib3.connectionpool:955] Starting new HTTPS connection (1): update-master.ixsystems.com:443
[freenasOS.Configuration:692] Unable to connect to url https://update-master.ixsystems.com/TrueNAS/TrueNAS-12.0-STABLE/LATEST: HTTPSConnectionPool(host='update-master.ixsystems.com', port=443): Max retries exceeded with url: /TrueNAS/TrueNAS-12.0-STABLE/LATEST (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x802eef040>, 'Connection to update-master.ixsystems.com timed out. (connect timeout=10)'))
[freenasOS.Configuration:709] Unable to load ['https://update-master.ixsystems.com/TrueNAS/TrueNAS-12.0-STABLE/LATEST']: Unable to connect to url https://update-master.ixsystems.com/TrueNAS/TrueNAS-12.0-STABLE/LATEST
[freenas-update:195] Unable to connect to url https://update-master.ixsystems.com/TrueNAS/TrueNAS-12.0-STABLE/LATEST
Traceback (most recent call last):
  File "/usr/local/bin/freenas-update", line 169, in DoDownload
    rv = Update.DownloadUpdate(train, cache_dir, pkg_type=pkg_type, ignore_space=ignore_space)
  File "/usr/local/lib/freenasOS/Update.py", line 969, in DownloadUpdate
    latest_mani = conf.FindLatestManifest(train, require_signature=True)
  File "/usr/local/lib/freenasOS/Configuration.py", line 1103, in FindLatestManifest
    mani_file = self.TryGetNetworkFile(url="%s/%s/LATEST" % (self.UpdateServerMaster(), train),
  File "/usr/local/lib/freenasOS/Configuration.py", line 710, in TryGetNetworkFile
    raise url_exc
freenasOS.Exceptions.UpdateNetworkConnectionException: Unable to connect to url https://update-master.ixsystems.com/TrueNAS/TrueNAS-12.0-STABLE/LATEST
Received exception during download phase, cannot update


Code:
root@truenas[~]# ping www.truenas.com     
PING www.truenas.com (38.109.202.235): 56 data bytes
64 bytes from 38.109.202.235: icmp_seq=0 ttl=45 time=170.571 ms
64 bytes from 38.109.202.235: icmp_seq=1 ttl=45 time=167.080 ms
64 bytes from 38.109.202.235: icmp_seq=2 ttl=45 time=167.748 ms
^C
--- www.truenas.com ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 167.080/168.466/170.571/1.513 ms



This is bad because I can't update or install plugins:
Unable to connect to url https://update-master.ixsystems.com/TrueNAS/trains.txt: Automatic update check failed. Please check system network settings.

I tried:

A manual system upgrade from TrueNAS-12.0-U2 to TrueNAS-12.0-U3.1. The upgrade was successful but it did not solve the problem.

The default gateway of the TrueNAS is 192.168.1.1
The Nameserver 1 is 193.138.218.74
When I change the nameserver to 192.168.1.1 (which uses 193.138.218.74 as well) I can't resolve domains anymore but still ping.

I guess somewhere here lies the problem.


Setup:

Version:
TrueNAS-12.0-U3.1

Router is a VM in TrueNAS with bhyve:
OPNsense 21.1.5-amd64
FreeBSD 12.1-RELEASE-p16-HBSD
OpenSSL 1.1.1k 25 Mar 2021

I am using wireguard as a client with a VPN provider on the router for the LAN net with its own gateway. The TrueNAS is on this network with my computer and phone but only the TrueNAS won't reach the web.
Also there is a GUEST net which is using the normal WAN gateway. This is separated on a VLAN.

The Firewall lets the pings and dns queries pass but nothing else ever reaches the firewall from the TrueNAS.

Again I guess something is wrong with the default gateway and DNS config. Since I have two Gateways, maybe TrueNAS uses the wrong one.

TrueNAS details:

Code:
root@truenas[~]# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=812099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER>
    ether f8:b1:56:af:21:ce
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=9<PERFORMNUD,IFDISABLED>
ql0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80038<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,LINKSTATE>
    ether d8:9d:67:34:05:60
    inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255
    media: Ethernet autoselect (10Gbase-SR <full-duplex>)
    status: active
    nd6 options=9<PERFORMNUD,IFDISABLED>
ql1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8013b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,TSO4,LINKSTATE>
    ether d8:9d:67:34:05:64
    media: Ethernet autoselect
    status: no carrier
    nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
    inet 127.0.0.1 netmask 0xff000000
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=0<> metric 0 mtu 33160
    groups: pflog
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 02:6c:2b:06:0b:00
    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
    maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200
    root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
    member: vnet8 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 8 priority 128 path cost 2000000
    member: ql0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 2 priority 128 path cost 2000
    groups: bridge
    nd6 options=1<PERFORMNUD>
bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 02:6c:2b:06:0b:01
    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
    maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200
    root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
    member: vnet9 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 9 priority 128 path cost 2000000
    member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 1 priority 128 path cost 20000
    groups: bridge
    nd6 options=1<PERFORMNUD>
vnet8: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80000<LINKSTATE>
    ether fe:a0:98:07:37:d4
    hwaddr 58:9c:fc:10:ff:c5
    groups: tap
    media: Ethernet autoselect
    status: active
    nd6 options=1<PERFORMNUD>
    Opened by PID 4043
vnet9: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80000<LINKSTATE>
    ether fe:a0:98:5c:53:fe
    hwaddr 58:9c:fc:10:7f:4d
    groups: tap
    media: Ethernet autoselect
    status: active
    nd6 options=1<PERFORMNUD>
    Opened by PID 4043


Code:
root@truenas[~]# dmesg
---<<BOOT>>---
Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.2-RELEASE-p6 facd5d71c97(HEAD) TRUENAS amd64
FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)
VT(vga): text 80x25
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (3392.37-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306a9  Family=0x6  Model=0x3a  Stepping=9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33060413440 (31528 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <DELL   CBX3   >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Launching APs: 1 6 5 7 4 2 3
Timecounter "TSC-low" frequency 1696182818 Hz quality 1000
random: entropy device external interface
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
mlx5en: Mellanox Ethernet driver 3.5.2 (September 2019)
nexus0
vtvga0: <VT VGA driver> on motherboard
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS> on motherboard
padlock0: No ACE support.
cryptosoft0: <software crypto> on motherboard
acpi0: <DELL CBX3   > on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
mps0: <Avago Technologies (LSI) SAS2008> port 0xe000-0xe0ff mem 0xf7dc0000-0xf7dc3fff,0xf7d80000-0xf7dbffff irq 16 at device 0.0 on pci1
mps0: Firmware: 14.00.01.00, Driver: 21.02.00.00-fbsd
mps0: IOCCapabilities: 185c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,IR>
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7400000-0xf77fffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
xhci0: <Intel Panther Point USB 3.0 controller> mem 0xf7e20000-0xf7e2ffff irq 16 at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0: waiting for BIOS to give up control
xhci0: Port routing mask set to 0xffffffff
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <simple comms> at device 22.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection> port 0xf080-0xf09f mem 0xf7e00000-0xf7e1ffff,0xf7e39000-0xf7e39fff irq 20 at device 25.0 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: f8:b1:56:af:21:ce
ehci0: <Intel Panther Point USB 2.0 controller> mem 0xf7e38000-0xf7e383ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
ql0: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xf7a00000-0xf7bfffff,0xf7c90000-0xf7c9ffff irq 16 at device 0.0 on pci3
ql0: qla_pci_attach: firmware[4.20.1.1429931003]
ql0: Ethernet address: d8:9d:67:34:05:60
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xf7800000-0xf79fffff,0xf7c80000-0xf7c8ffff irq 16 at device 0.1 on pci3
ql1: qla_pci_attach: firmware[4.20.1.1429931003]
ql1: Ethernet address: d8:9d:67:34:05:64
ehci1: <Intel Panther Point USB 2.0 controller> mem 0xf7e37000-0xf7e373ff irq 23 at device 29.0 on pci0
(...)


Router details:

Code:
root@OPNsense:~ # ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=800008<VLAN_MTU>
    ether 00:a0:98:07:37:d4
    inet6 fe80::2a0:98ff:fe07:37d4%em0 prefixlen 64 scopeid 0x1
    inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=800008<VLAN_MTU>
    ether 00:a0:98:5c:53:fe
    inet6 fe80::2a0:98ff:fe5c:53fe%em1 prefixlen 64 scopeid 0x2
    inet REDACTED netmask 0xffffff00 broadcast REDACTED
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0<> metric 0 mtu 1536
    groups: enc
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
    inet 127.0.0.1 netmask 0xff000000
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=100<PROMISC> metric 0 mtu 33160
    groups: pflog
pfsync0: flags=0<> metric 0 mtu 1500
    syncpeer: 0.0.0.0 maxupd: 128 defer: off
    groups: pfsync
em0_vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 00:a0:98:07:37:d4
    inet6 fe80::2a0:98ff:fe07:37d4%em0_vlan2 prefixlen 64 scopeid 0x7
    inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
    groups: vlan
    vlan: 2 vlanpcp: 0 parent interface: em0
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em0_vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 00:a0:98:07:37:d4
    inet6 fe80::2a0:98ff:fe07:37d4%em0_vlan1 prefixlen 64 scopeid 0x8
    groups: vlan
    vlan: 1 vlanpcp: 0 parent interface: em0
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wg2: flags=43<UP,BROADCAST,RUNNING> metric 0 mtu 1420
    options=80000<LINKSTATE>
    inet REDACTED netmask 0xffffffff broadcast REDACTED
    groups: tun wireguard
    nd6 options=101<PERFORMNUD,NO_DAD>
    Opened by PID 6439


OPNsense boot:
Code:
---<<BOOT>>---
Copyright (c) 2013-2019 The HardenedBSD Project.
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.1-RELEASE-p16-HBSD #0  b531d3958f5(stable/21.1)-dirty: Tue Apr 20 11:00:08 CEST 2021
    root@sensey:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
VT(efifb): resolution 1024x768
HardenedBSD: initialize and check features (__HardenedBSD_version 1200059 __FreeBSD_version 1201000).
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (3392.43-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306a9  Family=0x6  Model=0x3a  Stepping=9
  Features=0x9f83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS,HTT,PBE>
  Features2=0xfe9a6217<SSE3,PCLMULQDQ,DTES64,DS_CPL,SSSE3,CX16,xTPR,PCID,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x201<FSGSBASE,ERMS>
  Structured Extended Features3=0x400<MD_CLEAR>
  XSAVE Features=0x1<XSAVEOPT>
  TSC: P-state invariant
Hypervisor: Origin = "bhyve bhyve "
real memory  = 68717379584 (65534 MB)
avail memory = 4096512000 (3906 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <BHYVE  BVMADT  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: unblocking device.
ioapic0: Changing APIC ID to 2
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-31 on motherboard
Launching APs: 1
wlan: mac acl policy registered
random: entropy device external interface
kbd1 at kbdmux0
module_register_init: MOD_LOAD (vesa, 0xffffffff8128e7c0, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
000.000052 [4336] netmap_init               netmap: loaded module
[ath_hal] loaded
nexus0
efirtc0: <EFI Realtime Clock> on motherboard
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cryptosoft0: <software crypto> on motherboard
acpi0: <BHYVE BVFACP> on motherboard
acpi0: Power Button (fixed)
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x77 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 16777216 Hz quality 950
Event timer "HPET" frequency 16777216 Hz quality 550
Event timer "HPET1" frequency 16777216 Hz quality 450
Event timer "HPET2" frequency 16777216 Hz quality 450
Event timer "HPET3" frequency 16777216 Hz quality 450
Event timer "HPET4" frequency 16777216 Hz quality 450
Event timer "HPET5" frequency 16777216 Hz quality 450
Event timer "HPET6" frequency 16777216 Hz quality 450
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
ahci0: <Intel ICH8 AHCI SATA controller> mem 0xc0000000-0xc00003ff irq 23 at device 2.0 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahci1: <Intel ICH8 AHCI SATA controller> mem 0xc0000400-0xc00007ff irq 16 at device 3.0 on pci0
ahci1: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich6: <AHCI channel> at channel 0 on ahci1
em0: <Intel(R) PRO/1000 Network Connection> port 0x2000-0x2007 mem 0xc0020000-0xc003ffff,0xc0040000-0xc004ffff irq 17 at device 4.0 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Ethernet address: 00:a0:98:07:37:d4
em0: link state changed to UP
em0: netmap queues/slots: TX 1/1024, RX 1/1024
em1: <Intel(R) PRO/1000 Network Connection> port 0x2008-0x200f mem 0xc0060000-0xc007ffff,0xc0080000-0xc008ffff irq 18 at device 5.0 on pci0
em1: Using 1024 TX descriptors and 1024 RX descriptors
em1: Ethernet address: 00:a0:98:5c:53:fe
em1: link state changed to UP
em1: netmap queues/slots: TX 1/1024, RX 1/1024
vgapci0: <VGA-compatible display> mem 0xc0090000-0xc009007f,0xc1000000-0xc1ffffff at device 29.0 on pci0
vgapci0: Boot video device
xhci0: <Intel Panther Point USB 3.0 controller> mem 0xc2000000-0xc2000fff irq 19 at device 30.0 on pci0
xhci0: 32 bytes context size, 32-bit DMA
xhci0: Port routing mask set to 0xffffffff
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
vga0: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff pnpid PNP0900on isa0
Timecounters tick every 10.000 msec
ada0 at ahcich6 bus 0 scbus0 target 0 lun 0
ada0: <BHYVE SATA DISK 001> ACS-2 ATA SATA 3.x device
ada0: Serial Number BHYVE-6046-99B9-1B07
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 122880MB (251658240 512 byte sectors)
Trying to mount root from ufs:/dev/gpt/rootfs [rw]...
ugen0.1: <0x8086 XHCI root HUB> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
WARNING: /mnt was not properly dismounted
WARNING: /mnt: mount pending error: blocks 24 files 0
Mounting filesystems...
tunefs: soft updates remains unchanged as enabled
WARNING: /mnt: reload pending error: blocks 24 files 0
tunefs: file system reloaded
tunefs: issue TRIM to the disk remains unchanged as enabled
WARNING: /mnt: reload pending error: blocks 24 files 0
tunefs: file system reloaded
** /dev/gpt/rootfs
** Last Mounted on /mnt
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
uhub0: 8 ports with 8 removable, self powered
ugen0.2: <BHYVE HID Tablet> at usbus0
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes

58824 files, 552794 used, 27629340 free (5692 frags, 3452956 blocks, 0.0% fragmentation)

***** FILE SYSTEM MARKED CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****
Setting hostuuid: f7a398c9-5835-de36-ab3c-0a5e58b07c4a.
Setting hostid: 0x1535256a.
Configuring vt: keymap blanktime.
Configuring crash dump device: /dev/gpt/swapfs
swapon: adding /dev/gpt/swapfs as swap device
.ELF ldconfig path: /lib /usr/lib /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/ipsec /usr/local/lib/perl5/5.32/mach/CORE
32-bit compatibility ldconfig path:
done.
>>> Invoking early script 'upgrade'
>>> Invoking early script 'configd'
Starting configd.
>>> Invoking early script 'templates'
Generating configuration: OK
>>> Invoking early script 'backup'
>>> Invoking backup script 'captiveportal'
>>> Invoking backup script 'dhcpleases'
>>> Invoking backup script 'duid'
>>> Invoking backup script 'netflow'
Cannot 'stop' flowd_aggregate. Set flowd_aggregate_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.
Cannot 'start' flowd_aggregate. Set flowd_aggregate_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
>>> Invoking backup script 'rrd'
>>> Invoking early script 'carp'
CARP event system: OK
Launching the init system...done.
Initializing...........done.
Starting device manager...ums0 on uhub0
ums0: <BHYVE HID Tablet, class 0/0, rev 3.00/0.00, addr 1> on usbus0
ums0: 3 buttons and [Z] coordinates ID=0
done.
Configuring login behaviour...done.
Configuring loopback interface...lo0: link state changed to UP
done.
Configuring kernel modules...aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS> on motherboard
done.
Setting up extended sysctls...done.
Setting timezone...done.
Writing firmware setting...done.
Writing trust files...done.
Setting hostname: OPNsense.localdomain
Generating /etc/hosts...done.
Configuring system logging...done.
Configuring loopback interface...done.
Creating wireless clone interfaces...done.
Configuring VLAN interfaces...done.
Configuring GUEST interface...done.
Configuring LAN interface...done.
Configuring WAN interface...done.
Configuring WAN_WireGuard_Mullvad interface...done.
Configuring bridge interfaces (1)...done.
Configuring bridge interfaces (2)...done.
Creating IPsec VTI instances...done.
Generating /etc/resolv.conf...done.
Configuring firewall.......done.
Starting PFLOG...done.
Configuring OpenSSH...done.
Starting web GUI...done.
Configuring CRON...done.
Setting up routes...done.
Generating /etc/hosts...done.
Starting DHCPv4 service...done.
Setting up gateway monitors...done.
Configuring firewall.......done.
Starting PFLOG...done.
Starting NTP service...deferred.
Generating RRD graphs...done.
Configuring system logging...done.
>>> Invoking start script 'newwanip'
Reconfiguring IPv4 on em1: OK
Reconfiguring routes: OK
>>> Invoking start script 'freebsd'
[#] ifconfig wg create name wg2
[!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation.
[#] wireguard-go wg2
[#] wg setconf wg2 /dev/stdin
[#] ifconfig wg2 inet REDACTED/32 alias
[#] ifconfig wg2 mtu 1420
[#] ifconfig wg2 up
[#] resolvconf -a wg2 -x
[+] Backgrounding route monitor
[#] route add REDACTED/32 -iface wg2
add net REDACTED: gateway wg2
>>> Invoking start script 'syslog-ng'
Stopping syslog_ng.
Waiting for PIDS: 70083.
Starting syslog_ng.
>>> Invoking start script 'wireguard'
Setting up routes...done.
Setting up gateway monitors...done.
Configuring firewall.......done.
Starting PFLOG...done.
>>> Invoking start script 'carp'
>>> Invoking start script 'cron'
Starting Cron: OK
>>> Invoking start script 'beep'
Root file system: /dev/gpt/rootfs
Thu May 20 05:23:02 CEST 2021

*** OPNsense.localdomain: OPNsense 21.1.5 (amd64/OpenSSL) ***

 GUEST (em0_vlan2) -> v4: 192.168.2.1/24
 LAN (em0)       -> v4: 192.168.1.1/24
 WAN (em1)       -> v4/DHCP4: REDACTED/24
 WAN_WireGuard_Mullvad (wg2) -> v4: REDACTED/32
 
Top