Requirements:
- you must have installed proxmox with root on zfs - aka when you installed proxmox you installed it on a zfs filesystem
mount /dev/nvme0n1p2 /boot/efi/
mkdir /boot/efi/EFI/zfsbootmenu/
# /etc/netplan/99-disable-link-local.yaml | |
# | |
# test using: | |
# $ netplan try | |
# | |
network: | |
version: 2 | |
ethernets: | |
ens5: |
################################ | |
# install mlnxofed driver | |
################################ | |
download: https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed | |
################################ | |
# put HCA's in IPOIB mode | |
################################ | |
mst start # start mellanox software tools |
Note : Proxmox 6.1 | |
VI : /etc/apt/sources.list | |
# security updates | |
deb http://security.debian.org jessie/updates main contrib | |
# PVE pve-no-subscription repository provided by proxmox.com, | |
# NOT recommended for production use | |
deb http://download.proxmox.com/debian jessie pve-no-subscription |
This port of boringtun works on any illumos box that has the tuntap device.
SmartOS comes with this device by deafult. You can install this device on OmniOS by running
pkg install tuntap
. Currently the userland daemon will drop as many privileges(5)
as it can
after setting up the tunnel etc. The daemon is also currently using epoll/signalfd unil I find time
to wire up the event port interface.
Clone the following repo and checkout the illumos
branch.
git clone git@github.com:papertigers/boringtun.git
cd /opt/local/artifacts/
vim zonemanifestBhyveFreeBSD.json
vmadm create < zonemanifestBhyveFreeBSD.json
curl -kLo /zones/UUID/root/FreeBSD-12.0-RC3-amd64-bootonly.iso
The following line is for KVM, not BHYVE, hence obsoleted for non-legacy boot options
cd /zones/<<UUID>>/root/
#!/bin/bash | |
function install_dependencies() { | |
echo "Installing dependencies..." | |
sudo apt -qq update | |
sudo apt -qq install -y curl git wget | |
# sudo apt -qq install -y bison flex kernel-package libelf-dev libssl-dev | |
sudo apt -qq install -y bison flex libelf-dev libssl-dev | |
} |
This documents my setup of a SmartOS server as my PPPoE router, providing DNS/DHCP services to the local network.
Basic setup:
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.