ref: 33e84f9e007c50d43e9fcc19a15a5528972d0c98
parent: ac6723acf568aa195f370e403b79dda4ebc74547
author: stanley lieber <stanley.lieber@gmail.com>
date: Fri Dec 9 14:55:42 EST 2016
fqa3.ms: 3.3.1.4.2 - OpenBSD TAP: corrections
--- a/fqa3.ms
+++ b/fqa3.ms
@@ -2388,6 +2388,8 @@
.P1
# as root
pkg_add bzip2 qemu ssvnc wget
+sysctl net.inet.ip.forwarding=1
+echo 'net.inet.ip.forwarding=1' >>/etc/sysctl.conf
echo inet 192.168.54.1 255.255.255.0 NONE >/etc/hostname.vether0
ed /etc/pf.conf
/ext_if
@@ -2419,12 +2421,18 @@
rcctl enable dhcpd
rcctl start dhcpd
ed /var/unbound/etc/unbound.conf
+/interface
+a
+ interface: 192.168.54.1
+.
/access-control
-i
+a
access-control: 192.168.54.0/24 allow
.
w
q
+rcctl enable unbound
+rcctl start unbound
echo \'permit setenv { -ENV PS1=$DOAS_PS1 SSH_AUTH_SOCK } :wheel\' \\
>/etc/doas.conf