Questions tagged [freebsd]

FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, and userland utilities such as shells.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

OVH IPv6 on ESXi -> pfSense -> VM setup

Currently setting up some VMs on an ESXi host on an OVH machine. I have two IPv4s on OVH including a virtual MAC address as needed by OVH. One IPv4 for the ESXi host itself, another one for the ...
user avatar
0 votes
0 answers
16 views

Best way to back up and restore zpool in midst of FreeBSD upgrade

My apologies if this is circuitous, but please bear with me. I have a FreeBSD ZFS installation that was originally set up using 12 and upgraded to 13 at some point. It has become so munged up that I ...
user avatar
0 votes
0 answers
26 views

Free BSD IP forwarding for LVS NAT mode

I am testing LVS NAT mode with centos as Keepalived node and FreeBSD as real server. This question is already answered in context of Linux. Now the question is how to make an L3 host as a default ...
user avatar
0 votes
0 answers
16 views

When PF firewal runs local network traffic is slowed

OS FreeBSD-13.0p3 We have a gateway router (G) with three physical Ethernet interfaces. One (W1) is the WAN gateway. The other two (L1,L2) are connected to the same wire. L1 belongs to the 192.168....
user avatar
0 votes
1 answer
124 views

How to get hard disk status from RAID with SmartCTL for monitoring purposes?

I have a FreeBSD with a RAID running 3 Hard Disks. I was given the challenge to monitor its RAID - If a hard disk fails or it presents some problem i need to know. So, the first thing i am doing right ...
user avatar
1 vote
1 answer
212 views

Installing pfsense 2.5.2 ( freebsd 12 ) in KVM

Seems that I am having an issue installing pfsense firewall which is build on freeBSD12 into a qemu/kvm in Ubuntu. When it starts to boot, prior to the 'Install Box' I get a kernal panic Image of fail ...
user avatar
0 votes
0 answers
22 views

How to change pickupexten on asterisk 11

I'm looking for a way to change ‍pickupexten in Asterisk 11. Is there a way? The features.conf: pickupexten = *8 pickupgroup=1 pickupsound = beep pickupfailsound = beeperr I want to change *8 with ...
user avatar
  • 111
0 votes
2 answers
55 views

Issue using dd to write 1GB file to zfs dataset on FreeBSD 13

Hey guys I am turning up a little FAMP stack on an Azure VM. 4 Xeon cores 16GB ram. Second SSD is using ZFS and the boot drive is UFS2 (Default). When I dd if=/dev/zero of=testfile bs=1024 count=...
user avatar
  • 1
0 votes
1 answer
132 views

How to improve TCP tolerance to out-of-order delivery in Linux balance-rr bonds and/or FreeBSD roundrobin laggs?

I have 3 servers networ kwise configured as follows A is a DELL R710 is running Linux 5.13.19-1-pve Proxmox VE 7.1 and has 4 NICs teamed in a balance-rr mode bond. B is a DELL R610 is running Linux 5....
user avatar
  • 101
0 votes
1 answer
61 views

Joomla redirects wrong after POST

Situation: FreeBSD 13 server with Apache 2.4 as reverse proxy on SSL. Bastille jail with nginx on port 80 and joomla 4.04 Problem: When doing a POST within Joomla (actually any POST except the one ...
user avatar
  • 21
1 vote
1 answer
262 views

Added dkimproxy to OpenSMTPD ... mail loop when sending to my own domain

I have a nicely working OpenSMTPD configuration and I added dkimproxy to it. Everything is working nicely and mail-tester, etc., all report that I have proper DKIM signing and my email score is 10/10, ...
user avatar
0 votes
0 answers
137 views

How to get qemu watchdog working in Freebsd 12.1 guest

I am running a couple of OpnSense (based on FreeBSD 12.1) routers in qemu virtual machines in Proxmox 6.4. Promox has its own non-libvert way of configuring VMs, but to add a watchdog device, one adds ...
user avatar
  • 200
1 vote
0 answers
268 views

Can't mount NFSv4 with Kerberos from a Linux client to a FreeBSD server

I'm trying to set up NFSv4 with Kerberos. The server is FreeBSD 13.0-RELEASE and the client is Ubuntu 20. I have the Kerberos part running and I can automaatically get a ticket on login for my user, ...
user avatar
  • 179
0 votes
1 answer
534 views

Nextcloud: Failed to open stream: Permission denied

I'm installing Nextcloud on a FreeBSD system and I'm using lighttpd behind a nginx reverse proxy with terminal SSL. lighttpd is able to serve static html files and can serve index.php, but without any ...
user avatar
  • 263
2 votes
0 answers
87 views

Running zfs trim twice on the same pool still takes forever the second time

I have this ZFS pool consisting of two mirrored 1TB Samsung 870 QVO drives, that I've been using for about a year for storing bhyve guest images as ZVOLs. During that time, I've created / messed with /...
user avatar
  • 121
0 votes
0 answers
194 views

IPv6 routing for VNET jails on FreeBSD 13-RELEASE

I have a IPv6 address block of prefix size 64. On my host computer running FreeBSD 13-RELEASE I have three jails: jls JID IP Address Hostname Path 1 ...
user avatar
0 votes
0 answers
200 views

Reload partition table on FreeBSD

I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS). I don't have hdparm nor gfdisk nor partprobe. What's the standard way of doing ? PS: my pkg doesn't work behind a firewall ...
user avatar
0 votes
1 answer
91 views

FreeBSD: How can I tune the lifetime for TCP/UDP for in kernel NAT?

There used to be these sysctls in older versions of FreeBSD, viz: net.inet.ip.fw.dyn_ack_lifetime=3600 net.inet.ip.fw.dyn_udp_lifetime=15 now on FreeBSD 12 sysctl reports that these don't exist. How ...
user avatar
  • 43
0 votes
0 answers
47 views

FreeBSD igb driver slowing down video conferenceing

I installed FreeBSD 12.2 on an APU4D4 (bios 4.12.0.1) and configured a PF firewall with NAT on it and some other services (dhcp, bind). The problem I'm having is that when I put it into service at the ...
user avatar
  • 43
1 vote
0 answers
110 views

/usr/local/sbin/php-fpm: Undefined symbol "setproctitle_fast"

After upgrading php7.2 into a php7.4 following error is showing when trying too start a php-fpm service: /usr/local/sbin/php-fpm: Undefined symbol "setproctitle_fast" Has anybody met this ...
user avatar
  • 171
2 votes
0 answers
521 views

my bridging configuration on freebsd 13 ins't properly configured because any bhyve VM based on Ubuntu 21.04 and Windows 10 can't connect to internet

I've configured the bridging and the tap interface on freebsd 13 because I want to boot and use a bhyve VM based on Ubuntu 21.04 and Windows 10,but unfortunately,after several readings and help ...
user avatar
  • 143
0 votes
1 answer
319 views

PfSense FreeBSD on OVH Public Instance - no internet connection

I have no internet connectivity in freshly installed PfSense system. Steps: I've created OVH instance with Ubuntu and I mounted mfsbsd image. After booting to mfsbsd there was also internet problem. ...
user avatar
  • 487
0 votes
0 answers
119 views

How to image memory on FreeBSD for Volatility

How do I image memory on FreeBSD so I can analyze it using memory forensics tools like Volatility ? Are you restricted from dd /dev/mem ?
user avatar
0 votes
1 answer
46 views

Services whithin jails no longer accessible after upgrade to version 13.0

After upgrading a virtual FreeBSD 12.2 system to 13.0-p3, traffic to services within jails (through Apache 2.4 reverse proxy) was blocked. This is a Hyper-V virtual server and the second one that ...
user avatar
  • 21
1 vote
2 answers
324 views

FreeBSD 13 PF blocking jail traffic

After upgrading my FreeBSD system from 12.2 to 13.0-p3 PF is blocking all traffic to my jails. When disabling PF everything works fine (except from being unprotected ;)) I tried to figure out what ...
user avatar
  • 21
0 votes
1 answer
39 views

Again see the Welcome menu after installing FreeBSD on Virtualbox [closed]

I've installed Virtualbox 6.1 on my local computer with Windows 10. Next I've downloaded FreeBSD image and select it as virtual optical disk. Next I gone the FreeBSD installation process and restarted ...
user avatar
  • 121
1 vote
1 answer
142 views

ipfw testing without blocking the FreeBSD server in the case of ipfw error

I'm a newbie with ipfw, trying to learn it and testing its commands on the server with FreeBSD. Every time when I run ipfw command via SSH with a syntax error/typo and then restart ipfw service, the ...
user avatar
  • 121
0 votes
1 answer
150 views

Failed to set up Apache for executing PERL file in FreeBSD

I've successfully installed perl5 and apache24 in FreeBSD 12. Then I enabled apache24 in /etc/rc.conf and see index.html placed in the path /usr/local/www/apache24/data. Then in the file /usr/local/...
user avatar
  • 121
1 vote
2 answers
406 views

Issue with connecting several remote Windows 10 clients to Strongswan with lets-encrypt certificates (IKEv2-EAP)

I set up a Strongswan server for VPN clients to access the internal network (EAP-IKEv2). I have successfully configured it using Letsencrypt server certificates and it works for clients using Mac OS X,...
user avatar
0 votes
1 answer
2k views

pfSense - Enable ssh (port 22) access through the WAN using terminal/console/shell

We need to enable pfSense ssh (port 22) access through the WAN interface to perform certain configurations using pfSense's terminal/console/shell. Actions already taken... "Secure Shell (sshd)&...
user avatar
0 votes
1 answer
91 views

How to correctly benchmark sequential read speeds on 2.5" hard drive with fio on FreeBSD?

Like suggested in https://askubuntu.com/a/991311 I tested the read speed of a 2.5" spinning hard drive on a TrueNAS/FreeBSD system. For "Sequential READ speed with big blocks": fio --...
user avatar
  • 63
0 votes
1 answer
1k views

Testing zpool IO performance

To test the write speed of a 2.5 inch SATA3 spinning hard drive (some old Seagate one) installed in my TrueNAS system I used dd if=/dev/zero of=/mnt/pool/test.dd bs=1024 count=1m (found this in ...
user avatar
  • 63
0 votes
1 answer
137 views

How return to prompt after execution of script that spawns a daemon?

$ cat appleclue.sh #!/usr/local/bin/bash source ~/.venv/appleclue/bin/activate cd ~/applications/appleclue/appleclue-web/ git pull pip install -r requirements.txt python3.9 manage.py migrate --...
user avatar
0 votes
1 answer
293 views

FreeBSD: Cant stop program started by rc.d ("is not running")

I've created a rc script to start gunicorn as a daemon on boot. #!/bin/sh # PROVIDE: gunicorn_appleclue # REQUIRE: DAEMON . /etc/rc.subr name=gunicorn_appleclue rcvar=gunicorn_appleclue_enable ...
user avatar
1 vote
1 answer
145 views

Fix “stripped down” install of FreeBSD 12

I have several legacy FreeBSD VMs made by ex-sysadmin who did some strange trick to save hypervisor storage space: he installed one VM from iso, the set it up a bit, installed needed software, then ...
user avatar
  • 299
0 votes
0 answers
87 views

PF Nat over OpenVPN Client

I have FreeBSD 12.1-RELEASE router with 3 interfaces: LAN HOME(192.168.22.) LAN WORK(192.168.11.) WAN(1.2.3.4) My router connect to NordVPN over OpenVPN as a client (creates new TUN0 with address 10....
user avatar
0 votes
0 answers
103 views

Apparent Negative free disk space and FreeBSD 12

Just curious as to what's happening here. This is just a non-prod VM that I have at home. Curious as to what leads to the 'negative' available diskspace. This is FreeBSD 12 running under VMWare ...
user avatar
1 vote
1 answer
169 views

CLI php errors on FreeBSD Server

I manage a FreeBSD server running usual AMP setup. Apache, Mysql, Php-fmp Everything is working fine. In order to help out with speeding up a couple of Wordpress sites; we run php cli to run the ...
user avatar
0 votes
1 answer
1k views

OPNsense WAN failover causes disruption when non-active WAN is down

I have the latest version of OPNsense set up in a VM on ESXi 7. OPNsense is very similar to pfSense, and I suspect the solution would apply to both. All the NICs are PCI passthrough devices: A ...
user avatar
0 votes
0 answers
99 views

How to get custom option on client from ISC DHCP server

Over ISC-DHCP server I wanted to define a custom DHCP Option, for which I am using below config option imagefile code 224 = ip-address; subnet 192.168.29.0 netmask 255.255.255.0 { range 192.168.29.1 ...
user avatar
0 votes
1 answer
51 views

pkg OSVERSION mismatches jail/host

I have a FreeBSD Host and some jails, the output of freebsd-version -u in the host and in the jail is 12.2-STABLE. In the host the output of uname -K and pkg -vv | grep OSVERSION matches 1202505 but ...
user avatar
  • 548
2 votes
2 answers
1k views

Relatively new WD Red Pro yielding ATA status: 41 (DRDY ERR), error: 40 (UNC ) on FreeBSD 12.2

I am running a TrueNAS server based on FreeBSD 12.2. I migrated the storage to 10 TB WD Red Pro. They're running for 42 days now. Out of the sudden, during a ZFS scrub, one of the disks yielded 5 ...
user avatar
  • 131
1 vote
2 answers
2k views

Offloading PPPoE from an OPNsense router

I'm running opnSense, a FreeBSD-based firewall and router similar to pfSense, in a virtual machine under VMware ESXi 7 on a Dell PowerEdge R230, as a router for my home network. No other VMs are ...
user avatar
0 votes
1 answer
196 views

ZFS: i/o error - all block copies unavailable on reboot

I am trying to create RAID-Z pool on 3 disks, but I'm getting this error after reboot: zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 /dev/da0 /dev/da1 Error is ZFS: i/o error - all block ...
user avatar
0 votes
1 answer
34 views

i'm able to create raidz with diff sized of hard disk. where im missing?

i read about raidz5 cannot create with diff sizes of hard disks but i'm able to create raidz with diff sized of hard disk please tell me where im missing? da0 0:107 12G zfs ...
user avatar
2 votes
0 answers
194 views

What is the recommended way to deploy a node app on FreeBSD in 2021?

Basically I want to deploy a node application on FreeBSD 12. Ideally I'd prefer to build it on one system, and install it in production separately, so as to install as few development tools on the ...
user avatar
  • 43
0 votes
0 answers
85 views

FreebSD ipfw: using not with multiple addresses

Any ideas why this rule won't parse? ipfw add 10 deny ip from \{ not 127.0.0.1 and not 10.12.34.0/24 \} to any 53 out xmit wan0 ipfw doesn't like and and says: ipfw: missing ")" I've tried ...
user avatar
  • 43
1 vote
2 answers
6k views

Pubkey SSH fails with "we did not send a packet, disable method" in freebsd jail

I have a FreeBSD VPS with 2 jails, each setup with ezjail (I know now that this is largely deprecated, but didn't at the time). $ jls JID IP Address Hostname Path 1 ...
user avatar
1 vote
1 answer
330 views

Ejabberd TLS negotiation failed

I've been trying for two days to get a simple Ejabberd setup working on a FreeBSD system, nothing too complicated, but couldn't get past a "TLS negotiation failed" error in Conversations. I ...
user avatar
0 votes
0 answers
49 views

Can I customize all my operating systems that I will install on kvm/qemu with Virt-customize?

For my private cloud provider, I want to create a virtual machine from the operating system iso I want using kvm/qemu (since I was looking for an alternative to cloud-init, I chose to customize it ...
user avatar
  • 16

1
2 3 4 5
31