openkubsd/bin
Solène Rapenne a6f69992ae vether to veb
2023-07-22 12:35:29 +02:00
..
configure_template.sh vether to veb 2023-07-22 12:35:29 +02:00
connect.sh use Xephyr to run programs securely 2023-06-14 13:37:48 +02:00
copy_clipboard.sh add the host to the clipboard selection 2023-06-21 19:18:25 +02:00
create_kube.sh prepare for PF filters 2023-06-22 00:05:48 +02:00
create_template.sh default memory of 1GB, better for toying at the moment 2023-06-09 22:54:50 +02:00
generate_desktop.sh helper to generate desktop files 2023-06-11 17:16:29 +02:00
get_ip.sh shell based PoC 2023-06-08 19:08:50 +02:00
README.md update requirements and hosts changes 2023-06-14 13:38:00 +02:00
recreate_conf.sh prepare for PF filters 2023-06-22 00:05:48 +02:00
remove_kube.sh fix the VM existence check in deletion 2023-06-11 17:17:39 +02:00
remove_template.sh shell based PoC 2023-06-08 19:08:50 +02:00
setup.sh vether to veb 2023-07-22 12:35:29 +02:00
start_kube.sh trying on current, it's worse 2023-06-09 08:36:34 +02:00

Host setup

  1. add the openkubsd anchor in /etc/pf.conf
  2. run ./setup.sh as root

Setup information

OpenKuBSD will store everything in /var/openkubsd/, and make a few changes in /etc/

  • overwrite /etc/exports
  • overwrite /etc/vm.conf
  • overwrite /etc/dhcpd.conf
  • overwrite /etc/hostname.vether0
  • overwrite /etc/hostname.bridge0
  • rcctl enable vmd dhcpd portmap mountd nfsd
  • add net.inet.ip.forwarding=1 to /etc/sysctl.conf
  • modify /etc/hosts at the end of the file, after an automatically added comment # OpenKuBSD

If you want to remove OpenKuBSD, undo the changes above.