Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [openbsd]

OpenBSD is a free, multi-platform 4.4BSD-based UNIX-like operating system with a focus on security, portability, standardization, code correctness, proactive security and integrated cryptography.

Filter by
Sorted by
Tagged with
2 votes
1 answer
27 views

why does "pkg_info -Q bash" on OpenBSD give me an "empty" result?

i installed a fresh OpenBSD server on a Linux - Proxmox server with kvm. I tried to to install bash but pkg_info returns "empty": root@openbsd:~# echo $PKG_PATH https://cdn.openbsd.org/pub/...
user avatar
  • 21
1 vote
2 answers
64 views

How do i get PostgreSQL on Open BSD 7.0 to run

Trying to start postgresql on openbsd 7.0 but can't seem to get it to work. so far I tried this tutorial and looking around a bit on google. I'm new to OpenBSD. # rcctl -df start postgresql doing ...
user avatar
  • 11
0 votes
0 answers
35 views

how to use terraform with nsd?

is it possible to manage nsd dns with terraform? i keep getting a NOTINT error but per man page there is an option to accept UPDATE opcodes. when i set drop-updates: no nsd starts fine but i get the ...
user avatar
0 votes
1 answer
121 views

OpenBSD, mtu=0 on enc0 device, ping packets don't pass

On OpenBSD 6.9 I tried to install an IPSec (IPv4, IKEv2, ESP, tunnel) network-to-network gateway to communicate with a Palo Alto gateway (which I do not control). ikectl show sa leads me to believe ...
user avatar
0 votes
0 answers
50 views

OpenBSD 6.9 Install T5220 Sparc64

I am attempting to install OpenBSD 6.9 on a T5220 with 2 sparc64 based processors. I'm using install69.img, the install completes somewhat successfully. The error message I get at the end is: Making ...
user avatar
0 votes
0 answers
429 views

Disabling certain OpenSSH keys on OpenBSD: why the corresponding 'sshd_config' entries are ignored and why 'ssh-keygen -A' generates forbidden keys?

I am trying to achieve the followings on my OpenBSD 6.9 servers: Forbidding the use of all keys but the ssh-ed25519 one on both SERVER and CLIENT sides. Limiting ssh-keygen -A to generate keys only ...
user avatar
  • 11
0 votes
2 answers
65 views

OpenBSD NIC Cards Not Configured (Kernel Edit)

I have recently installed OpenBSD v6.8 on a SuperMicro server. During the initial installation I couldn't setup the NIC cards because I didn't have any IP Information. I assume this setup skip caused ...
user avatar
  • 1
1 vote
0 answers
56 views

How to disable all default cryptographic algorithms but the explicitly defined ones in OpenIKED?

I am having issues with setting up highly secure but still high performance IKEv2 tunnels between multiple data centers on OpenBSD nodes, by using very strict security features and allowing the use of ...
user avatar
  • 11
0 votes
1 answer
892 views

IBM i SSHD failing all authentications

I am trying to access the SSHD server on my IBMi. However I keep getting Permission denied (publickey,password,keyboard-interactive).. I am running v7r2 on my IBMi This was working until ran the ...
user avatar
0 votes
0 answers
45 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 vote
0 answers
263 views

Rewriting user folder url in OpenBSD httpd

I'm using OpenBSD and its httpd. We have a community with users and currently the url to their folder is: example.com/users/username However, what we want is to get example.com/~username This is my ...
user avatar
  • 111
2 votes
1 answer
396 views

Acquiring a wildcard certificate from Let's Encrypt via `acme-client(1)`

I have a valid certificate from Let's Encrypt that covers both foo.bar and www.foo.bar. I'd like to add a wiki.foo.bar and likely many others in the future, so a wildcard certificate sounds ...
user avatar
  • 121
2 votes
1 answer
470 views

OpenBSD relayd forward to web server based on HTTP request path

I have two web servers running on my machine. One is listening on port 8080 and the other on 8081. $ curl http://localhost:8080 I am the API $ curl http://localhost:8081 <html> <head>&...
user avatar
  • 204
1 vote
0 answers
292 views

I fail to configure Pf of OpenBSD gateway

I have an OpenBSD server that I want to use as a gateway. OBSD server has the following interfaces - em5 (130...** ext.IP with internet connectivity) em0 (internal IP - 172.16.0.0/17) My default ...
user avatar
0 votes
1 answer
106 views

Does OpenBSD have anything equivalent to Debian's /etc/network/if-up.d/ scripts?

I want to run a script after an OpenBSD interface has been configured (dynamic IP address assigned, routes configured, etc.) I can't find anything in the hostname.if man page about this; does such a ...
user avatar
  • 133
2 votes
1 answer
185 views

Almost empty pf.conf still logs packets

I have an issue that my pf logs many packets that it's not supposed to log. I reproduced it with almost empty pf.conf: set skip on lo and it still logs some packets. I think that all those packets ...
user avatar
  • 259
0 votes
1 answer
302 views

enabling telegraf system input plugin on OpenBSD 6.5

https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system Could use some examples. I have tried adding values listed in the above page to [[inputs.system]] For example: [[inputs....
user avatar
  • 900
0 votes
1 answer
201 views

OpenBSD 6.5 /etc/mail/aliases correct format?

What is the correct entry format for an alias? Right now I have root: xxxx@somewebsite.com Running newaliases -f /etc/mail/aliases yields a syntax error. Are there examples in the manual page ...
user avatar
0 votes
2 answers
84 views

While attempting to build telegraf on OpenBSD 6.4, gmake said:

I have followed the instructions from this page but gmake fails. Am I missing a dependency? https://www.tumfatig.net/20180905/running-telegraf-openbsd dep ensure -vendor-only SIGSYS: bad system call ...
user avatar
  • 900
4 votes
1 answer
960 views

Changing PF rules on the fly to mitigate damage of DDoS (OpenBSD 6.4)

This is a two part question, really. Keep in mind that I am a developer not a system admin, but being the only employee in the company, I wear ALL the hats. I have deployed my server with two ...
user avatar
  • 171
2 votes
0 answers
549 views

Run DHCP only after wpa_supplicant has connected (wired 802.1x)

I have a network here that uses 802.1x on the wired network to authenticate for greater privilege, BUT without (or "before") auth will place the machine in a default/quarantine network. For good luck, ...
user avatar
  • 121
1 vote
3 answers
844 views

Google VPN not supporting claimed ciphers

Trying to make an IPSec IKEv2 connection with Google Cloud VPN services. According to them, they support AES-CBC ciphers for Encyprtion at phase 1, but at the moment of negotiation with the on-...
user avatar
1 vote
1 answer
368 views

How to migrate Linux iptables scripts to OpenBSD/macOS pf

I am building a VPN server on macOS based on this instruction: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-18-04-2, and stuck at ...
user avatar
3 votes
1 answer
329 views

Why does spampd fail with socket connection failure on openbsd?

I'm having some trouble getting spampd to work in OpenBSD. First off, if I try to specify the daemon flags in my /etc/rc.conf.local like so: spampd_flags="--port=10025 --relayhost=127.0.0.1:10027 --...
user avatar
  • 1,040
5 votes
1 answer
195 views

OpenBSD not responding to arp queries

I am setting up an OpenBSD system as a router, I have one interface as the upstream, then another with a vlan configured: Upstream(em0): inet 10.0.2.20 255.255.255.0 NONE description upstream ...
user avatar
3 votes
1 answer
89 views

What are the steps to generalize an OpenBSD 6.1 host?

What are the steps are needed to generalize OpenBSD so that it could be used as a template or virtual appliance without disclosing any information of the environment that baked it, or put the user of ...
user avatar
  • 462
2 votes
0 answers
453 views

OpenBSD 6.x usb installer can't find pkg sets

For some reason the OpenBSD 6.2 installer needs the base packages to be in "6.2/amd64" but these directories are not found by the installer. I think I might need to mount a disk partition manually but ...
user avatar
  • 900
0 votes
2 answers
355 views

openbsd pf firewall - how can I tell what is being blocked?

I am in a dire situation. Our exchange server disks have failed. I can still use the application as the os disks are unaffected, and I need to do an emergency migration to office365. We have an ...
user avatar
2 votes
2 answers
281 views

OpenBSD routing issue: some sites work fine, others timeout

The problem I'm experiencing is that accessing some internet site work fine, and others timeout. For example, traceroute to www.apple.com is broken, where openbsd.org is fine. ┌──────────────┐ ┌...
user avatar
1 vote
1 answer
542 views

Openiked - Unable to ping the remote gateway

I set up a tunnel ipsec with strongswan and openiked with x509 PKI. The tunnel establish correctly but I have some problems. The gateway with iked can not ping the local IP of router vyatta but ...
user avatar
  • 66
1 vote
0 answers
400 views

How to install OpenBSD 6.2 guest in XenServer 7?

I'm trying to create new VM from vanilla OpenBSD 6.2 install CD on XenServer 7. I can't even boot install CD. Basically, i get this: Boot device: CD-Rom199MB medium detected - success. CR-ROM: ...
user avatar
  • 13
1 vote
0 answers
37 views

OpenBSD IRQ already in use error

My singleboard compter (SBC) have 4-UART ports. They all use one IRQ with different addresses. SBC BIOS can not divide them all on different IRQ (only 2 IRQ for them). Then i setup only one port using ...
user avatar
  • 249
2 votes
1 answer
855 views

pkg_add can't install anything on openbsd 6.1

When I attempt to pkg_add screen or any other pkg, I see: ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.8/packages/i386/screen-4.0.3p1.tgz: unsigned package (signify(1) doesn't see old-style signatures) ...
user avatar
  • 900
3 votes
0 answers
382 views

Multiple relays with OpenSMTPd

We use mailhog in development / testing and hook it up to postfix. It so that if you mail to an email address ending in .external, it will be relayed to a real server. And, if doesn't we relay it to ...
user avatar
  • 131
1 vote
1 answer
217 views

VirtualBox guest OS doesn't expand after resizing VDI file [closed]

My host OS is OS X El Capitan. My guest OS, OpenBSD 6.1, ran out of disk space, so I ran VBoxManage modifymedium disk OpenBSD\ 6.1.vdi --resize 15000 to resize my VDI from 4GB to 15GB. However my ...
user avatar
  • 123
1 vote
1 answer
536 views

How to configure Heimdal Kerberos to use OpenLDAP?

From http://www.h5l.org/manual/HEAD/info/heimdal/Using-LDAP-to-store-the-database.html#Using-LDAP-to-store-the-database A current release of Heimdal, configured with --with-openldap=/usr/local The ...
user avatar
0 votes
1 answer
507 views

How to hide/remove original source IP address when using OpenSMTPD?

I'm trying to figure out how to remove/hide the originating source IP address of every mail being sent using OpenSMTPD? To do the equivalent in postfix, it would be: http://integer13.wordpress.com/...
user avatar
  • 137
1 vote
1 answer
3k views

During OpenBSD installation, what is "DNS domain name" for?

During the installation of OpenBSD 6.1, right after setting up network interfaces, the installer prompts me: DNS domain name? (e.g. 'bar.com') [my.domain] I am not sure what this setting is for, I ...
user avatar
9 votes
1 answer
2k views

OpenBSD route via different gateways which have same IP but on different interfaces

I have multiple VPN connections which use the same gateway IP (I do not have the ability to change this as it is out of my control). These VPNs all provide access to different networks, and the ...
user avatar
  • 1,664
0 votes
2 answers
1k views

OpenBSD sshd in rdomain

I am trying to set up a redundant CARP cluster with routing separation with rtables. All works fine, but how do i tell sshd to start only in rdomain 2? I know i can start it manually with # route -...
user avatar
  • 446
4 votes
1 answer
6k views

OpenBSD: How to use `relayd` and `httpd` for redirecting subdomain requests

Situation I created the following setup on OpenBSD: So I have my OpenBSD server on 192.168.1.250 redirecting all http-requests to the host-vm on 192.168.30.2. The host-vm itself operates nginx for ...
user avatar
  • 97
2 votes
0 answers
347 views

Can't ping remote host through nat on ipsec enc0 (mtu=0)

I'm up ipsec vpn to remote host. Since the remote host accepts only one ip i'm up nat for local net on enc0. Ping from ipsec host is ok: PING 172.20.162.150 (172.20.162.150): 56 data bytes 64 bytes ...
user avatar
  • 21
1 vote
3 answers
655 views

syslogd no such file or directory - OpenBSD 3.9

OK - long story short: I have OpenBSD box that was setup as a network appliance (long time ago) I have returned to life. Several errors I am working on and could use any help I can get. Errors on ...
user avatar
  • 511
1 vote
0 answers
146 views

ripd ospfd and bgpd all with syntax error on line 1

I'm using an OpenBSD 5.9 VM and installed quagga recently. I'm unable to run any dynamic routing protocol (ripd -d, ospfd -d or bgpd -d) and I get always the same error message, example for RIP #...
user avatar
1 vote
0 answers
164 views

OpenBSD. etherip tunnel do not makes connection

I try to create a tunnel through etherip. And I did read man pages etherip in OpenBSD. But this example aren't working in my servers. cat /etc/sysctl.conf net.inet.etherip.allow=1 net.inet.ip....
user avatar
6 votes
1 answer
2k views

Multi-homed OpenBSD system: Policy based routing vs. mpath default routes

TL;DR Will OpenBSD policy based routing help with a multi-homed server/gateway situation? If so, how do I configure it? Long Form I'm managing an OpenBSD with two ISP links and VPN tunnels to ...
user avatar
1 vote
1 answer
1k views

PF based gateway firewall for Openbsd 6.0

Currenly I am looking to create an OpenBSD 6.0 pf based gateway. Based on what I read in the pf manual pages and OpenBSD pf FAQ, and some examples on the internet, I was able to configure a firewall. ...
user avatar
2 votes
0 answers
60 views

OpenBSD login.conf statement for nat-translated radius clients to ID as public address instead of private?

I'm on OBSD6.0 behind a NAT firewall and attempting to authenticate against a RADIUS server on the outside. The RADIUS server gets the internal (private) address of the client system, not what the ...
user avatar
  • 738
2 votes
0 answers
645 views

Configuring PF to route between routing domains

I've got an OpenBSD 6.0 box running as a router / firewall. It's got three physical network connections and one GRE tunnel: em0: Internet (routing domain 0) em1: Internal LAN private IPs (routing ...
user avatar
  • 113
0 votes
1 answer
1k views

OpenBSD 6.0 chrooted httpd with php 7.0 mail() works, but no mail goes out?

I started with a fresh install of OpenBSD 6.0 which has a chroot (/var/www) on their httpd server (not Apache). I installed PHP 7.0 and set up the php-fpm using the binary installs. In the web root ...
user avatar

1
2 3 4 5