As of May 31, 2023, we have updated our Code of Conduct.

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.

298 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13 votes
4 answers
2k views

Freebsd change default Internet channel route

I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that ...
Taron's user avatar
  • 131
12 votes
0 answers
512 views

How much does FreeBSD accept_filter actually improve performance in a modern world?

I recently learned about FreeBSD's accept_filter socket option which can allow a worker process to avoid context switching by, for example, waiting until a full HTTP request is received with accf_http:...
Josh's user avatar
  • 9,130
9 votes
0 answers
4k views

Unix nslcd login with sAMAccountName and/or userPrincipalName from Active Directory

I'm trying to setup authentication from Active Directory in FreeBSD 10.0 using nslcd (nss-pam-ldapd-sasl package) and would like to allow both sAMAccountName and userPrincipalName as valid login ...
Vinícius Ferrão's user avatar
6 votes
0 answers
1k views

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, ...
Monstieur's user avatar
  • 536
5 votes
0 answers
326 views

How to share a ZFS pool between Debian and FreeBSD?

I am having a setup of a dual boot PC running FreeBSD 12 and Debian 10. There is a three disk zraid in the system created by FreeBSD which I would like to use as a common storage pool for both ...
GorillaPatch's user avatar
5 votes
0 answers
2k views

How to mount a fuse-sshfs file system inside a FreeBSD-12.0p10 jail

I wish to mount a remote data source locally as a fuse file system. This is listed as supported by lsvfs: lsvfs Filesystem Num Refs Flags -------------------------------...
James B. Byrne's user avatar
5 votes
0 answers
2k views

FreeBSD networking setup for multiple jails - interface clones or aliases

While setting up multiple jails on a FreeBSD machine, I also (naturally) need to set up the networking for each jail. It seems to me there are two ways of achieving the same goal setting up multiple ...
dakini's user avatar
  • 345
4 votes
0 answers
179 views

How can I stop Freenas from assigning two disks from different SATA controllers the same device number?

I have Freenas running in a VM in XCP-NG. I've followed the guides and I've dedicated a SATA controller to it using PCI-passthrough. Freenas correctly discovers its boot disk, which is virtual, and ...
Colin's user avatar
  • 141
4 votes
0 answers
2k views

Getting to enforcing google safe search using CNAME with unbound and nsd?

I am trying to implement this using Unbound and Nsd: https://support.google.com/websearch/answer/186669?hl=en To force SafeSearch for your network, you’ll need to update your DNS. configuration. ...
G.Daye's user avatar
  • 41
4 votes
1 answer
381 views

Multi homed firewall with ipnat

i am trying (without success) to configure a ipnat/ipf box under FreeBSD 8.2, here is the scenario: outside inside +----+ ADSL 1.2.3.0/...
user160205's user avatar
4 votes
0 answers
3k views

FreeBSD ixgbe driver not working

I recently got a brand new Dell PowerEdge R610 server, I installed VMWare ESXi 5.0 on it and attempted to install FreeBSD as guest OS for squid caching. The server has a PCI-E Intel X520-T2 10Gig ...
Lang Hai's user avatar
3 votes
0 answers
2k views

How to find the download URL of a specific package/port in FreeBSD's repository?

I'm trying to find the full URL for downloading the Emby Server .txz package from FreeBSD repository, but I got no luck finding it on any search engines. Farther I went was this FreeBSD repository ...
Tiago Stapenhorst's user avatar
3 votes
0 answers
273 views

FreeBSD major update broke vpnc connectivity, incoming ESP traffic doesn't appear unencrypted on interfaces

I updated a FreeBSD box from 10.4 to 11.2-RELEASE-p4 recently and it seems to have broken the vpnc VPN connectivity. Here's the vpnc.conf: IPSec gateway 10.1.0.1 IPSec ID vpnuser IPSec secret ...
alo's user avatar
  • 31
3 votes
1 answer
113 views

How do I configure ZFS to panic on da (SCSI) disk failure?

Situation: two redundant FreeBSD machines using CARP to share a primary IP, running a frontend proxy (E.G. HAproxy or nginx) Primary machine experiences a loss of SCSI disk (E.G. disk failure, SAN ...
Josh's user avatar
  • 9,130
3 votes
0 answers
731 views

NFS share group permission not respected

I have a linux client and freebsd nfs server (NAS4free actually) NFS share is mounted by fstab this way: server:/mnt/disk/ZHomeData on /data type nfs (rw,nosuid,relatime,vers=3,rsize=32768,wsize=...
Artiom's user avatar
  • 41
3 votes
0 answers
177 views

Solaris fmadm equivalent for FreeBSD

I've been looking for the equivalent of fmadm, the fault management configuration tool of Solaris / illumos on FreeBSD. But I'm unable to find an equivalent or even a subset of tools that mimics the ...
Vinícius Ferrão's user avatar
3 votes
1 answer
914 views

Search option in resolv.conf getting overwritten by prepend statement in dhclient.conf

I have setup a DNS server for my department which is running FreeBSD 10.2. It is currently connected to the campus internet and receiving its address via dhcp, so /etc/resolv.conf looks like this: #...
Chuck's user avatar
  • 31
3 votes
0 answers
315 views

Destroying zfs dataset, migrating data to parent dataset

I have these zfs datasets: pool1 pool1/ds_parent pool1/ds_parent/ds1 pool1/ds_parent/ds2 pool1/ds_other I want to keep all data which is now contained in the datasets ds1 and ds2, but I don't want ...
poplitea's user avatar
  • 457
3 votes
1 answer
673 views

FreeBSD 10.1 routing issues

I have FreeBSD based router in my campus. Trivial configuration for these types of routers: two interfaces, one of them looking to the outer internet, second - to the local net. In my local net ...
Hyperoff's user avatar
3 votes
0 answers
3k views

MySQL exits without any output

Having a strange issue. Some time ago MySQL exited suddenly when I was creating a table (I think), and I shelved the issue until now. It seems to start, but nothing happens and it exits: 141031 18:40:...
A__A__0's user avatar
  • 403
3 votes
0 answers
904 views

Why can't I chown to nobody over nfsv4?

Server: FreeBSD 9.2-RC1, ZFS Client: FreeBSD 9.0-RELEASE-p3 Filesystem is exported with "alldirs,maproot=root". On the client, I can chown a file to any user but nobody. client# touch foo client# ls ...
Chris Jones's user avatar
  • 1,178
3 votes
0 answers
246 views

FreeBSD raid issue

One of my machines (FreeBSD) has lost its raid (0/ stripe). If I go [root@torry /usr/home/bclark]# gstripe list Geom name: st0 State: UP Status: Total=3, Online=3 Type: AUTOMATIC Stripesize: 65536 ...
user156294's user avatar
3 votes
0 answers
905 views

Can't remove zfs log device from pool

I run a FreeBSD 9.0 server with ZFS pool version 28 and ZFS version 5. I had two pools with a log on ssd's two partitions. These pools was created on FreeBSD 8.2 with ZFS pool version 15, and ZFS ...
netmano's user avatar
  • 269
2 votes
1 answer
483 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 ...
Maximilian Krause's user avatar
2 votes
0 answers
228 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 /...
xbug's user avatar
  • 121
2 votes
0 answers
1k 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 ...
Marietto's user avatar
  • 143
2 votes
0 answers
420 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 ...
pnadeau's user avatar
  • 143
2 votes
0 answers
98 views

Unresponsive FreeBSD kldload process locks up whole system

Newly installed FreeBSD 12.1 and 11.4 immediately freezes when loading oce by running kldload if_oce. The whole system becomes locked up at this time. CTRL+c and CTRL+z don't work. What is the ...
raitech's user avatar
  • 91
2 votes
0 answers
87 views

Recovering a concatenated disk (ccd)

I need to recover data from an old filesystem, which was located on two small (by today's standards) drives -- using a concatenated disk driver (known as ccd in FreeBSD). I have the drives online (no ...
Mikhail T.'s user avatar
  • 2,282
2 votes
1 answer
128 views

Troubleshooting ZFS storage pool

I am looking for advice on how to identify performance issues with a ZFS storage server. The server is a prototype that I have built as a proof of concept for a NAS device that will allow me to ...
hdcdigi's user avatar
  • 21
2 votes
0 answers
958 views

ZFS volume is not accessible

I'm using FreeNAS-11.2-U4.1. The server is used for storing VMWare vSphere virtual machines. There are two zvols: Lab and Edari. Both of them belong to the same pool, SSD-Storage. The problem is that ...
Sid Gianny's user avatar
2 votes
0 answers
121 views

FreeBSD: redirect some UDP traffic from one port to another

I have some specialized DNS servers running on FreeBSD 11. A few people keep hammering on them and I would like to give them different answers. So I'd like to divert UDP traffic from those hosts from ...
John Levine's user avatar
2 votes
0 answers
1k views

Access denied for all users after MariaDb upgrade

I discovered this morning that MariaDb had been removed from my server in the process of upgrading from FreeBSD 10.3 to 11.1. After getting the database engine reinstalled, and resolving the problems ...
FKEinternet's user avatar
2 votes
0 answers
3k views

What to set uwsgi uid and gid to?

I'm trying to have nginx connect to a uwsgi socket on FreeBSD. I've set the socket to 666 but whenever I issue a request in my browser I can see the following in my nginx logs: 2017/12/12 11:34:04 [...
ruipacheco's user avatar
2 votes
0 answers
648 views

Allowing Incoming Traffic over IPv6 with PF on FreeBSD

This is my current pf.conf on FreeBSD 11.1-RELEASE. It allows incoming connections from OpenVPN/UDP and SSH, as well as allows everything on the private/vpn networks (vtnet1 and tun0 respectively). ...
djsumdog's user avatar
  • 1,090
2 votes
0 answers
411 views

Configure Munin to monitor multiple instances on one node

I need to configure Munin to monitor multiple instances of a server daemon that run on a single host. I've tried creating a different named symlink for each instance, but unless I also pass an env ...
Alnitak's user avatar
  • 21.1k
2 votes
0 answers
170 views

How can I apply security patches to an offline freebsd machine?

Synopsis: We would like to use FreeBSD (version 11.0) on one of our products. Once the product leaves the company, it will be disconnected from the Internet for good. However, as part of our support ...
alibaba's user avatar
  • 427
2 votes
1 answer
482 views

bind address of application on multihomed server

I have a multi-homed server running bgp via quagga If I fire up an application on this server that initiates a connection, by default it is going to choose the interface with the lowest metric, ie ...
camelccc's user avatar
  • 255
2 votes
0 answers
80 views

Files saved to Samba share are randomly differing from originals?

I manage a small network of windows clients and a BSD file server running Samba 4.6.x. We had some odd issues which led to the discovery that when users save files to the server, about 12% of the ...
Stilez's user avatar
  • 704
2 votes
0 answers
1k views

FreeBSD 10 unable to boot ZFS pool - "unknown file system"

I have a server with FreeBSD 10.3 that I am suddenly unable to reboot. The server has been working fine for over 6 months but it not rebooted it since about 5 months ago, until now. I end up in "...
Kaah's user avatar
  • 141
2 votes
0 answers
510 views

FreeBSD: How to extend an encrypted ZFS zroot pool

I installed a vanilla FreeBSD 11.0 (amd64) and chose the installation option "ZFS on / (encrypted)" (or however it is really called). Now I have a nice ZFS pool: root@storage:~ # zpool list NAME ...
Tobias N. Sasse's user avatar
2 votes
2 answers
2k views

FreeBSD shows high load, cannot find bottleneck

So we have set up a server(11.0-RELEASE-p2) that hosts around 150-200 jails. The server has 24 cores and 192gb of ram. When using top it shows no sign of stress - except the high load. All jails ...
larsemil's user avatar
  • 299
2 votes
0 answers
1k views

How to use wildcards with pkg-upgrade?

As an example, when I want to list all installed packages of php70 I can just enter: pkg info php70\* But I cannot use the wildcard in this for pkg upgrade: pkg upgrade php70\* When I do get this ...
Lexib0y's user avatar
  • 227
2 votes
0 answers
660 views

Best practice for setuid and setgid in /root and user directories

ZFS allows to created datasets with setuid turned off, which (AFAIK) means that setuid bit can't be set on files stored in those datasets. Assume now that there are two datasets, one for the /root ...
Greg's user avatar
  • 198
2 votes
1 answer
507 views

NGINX PROXY 0000 1204 0000 0000 0000 0300 0000 8000

After last update of nginx all my pages are getting: 0000 1204 0000 0000 0000 0300 0000 8000 0400 0000 0000 0500 ffff ff00 0004 0800 0000 0000 7fff 0000 0000 0807 0000 0000 0000 0000 ...
busy's user avatar
  • 281
2 votes
0 answers
70 views

How do I make su wait before retries in freebsd?

I want to make attempts at using the su command timeout for 1 second between tries. Alas, the Google and StackExchange, and rtfm have not yielded results.
fizban's user avatar
  • 21
2 votes
2 answers
2k views

FreeBSD & Jails: Send mail through Postfix in Jail

I have FreeBSD 10.2 and I'm using several Jails, one of them has Postfix installed. I want my other jails and my host system to use the local Postfix installation in the Jail. They should use ...
basbebe's user avatar
  • 313
2 votes
0 answers
238 views

libnss-mysql on freebsd 10.1

i have libnss-mysql installed on freebsd 10.1. Everything works except groups command. getent group - ok # getent group ....... froxlorlocal:*:1003:www <-- data from passwd vmail:*:2000 <...
Mantoze's user avatar
  • 21
2 votes
1 answer
3k views

GPT partition errors on boot - ZFS FreeBSD

My system appears to be running fine and I'm just trying to clean up errors. That said... On boot, I get the following errors for all drives in a 24 disk storage enclosure: GEOM: diskid/DISK-%20%20%...
David Vondracek's user avatar
2 votes
1 answer
470 views

PF redirect rule: how to limit the rule to specific user

I was trying to setup a PF redirect rule to force all web traffic from a specific user account to go through a web filter on a shared computer. With iptables, I can use --uid-owner option to limit ...
victorx's user avatar
  • 121

1
2 3 4 5 6