Skip to content

Instantly share code, notes, and snippets.

stty -echo && read pwd && stty echo
prepare ssh key any create Freebsd with ufs..
sudo su -
cd /tmp
curl https://fastly.cdn.openbsd.org/pub/OpenBSD/6.4/amd64/miniroot64.fs --output miniroot64.fs
sysctl kern.geom.debugflags=0x10
swapoff /dev/gpt/swap
dd if=miniroot64.fs of=/dev/vtbd0 bs=512k
reboot.
#man ipsec
Additional Variables
A number of sysctl(8) variables are relevant to ipsec. These are
generally net.inet.ah.*, net.inet.esp.*, net.inet.ip.forwarding,
net.inet6.ip6.forwarding, and net.inet.ip.ipsec-*. Full explanations can
be found in sysctl(2), and variables can be set using the sysctl(8)
#man npppd
Normally npppd works with pipex(4) to accelerate IP packet forwarding,
WIOREv0kYwNAPwRtZPOiLzbAPwj8QDbiIUyjMFNiD2S0LJkiMj0XWF9CpTIhDJA0nJ9hQDbiHTSa
MKZtZvNjVSVAPw4+QDcyozEiLzbAPt0XZvNjVT9vnt0XCQjAPv9HrKOyVP9DLJqypj0XY0AiqJ50
VQRAPv9YnJEmVSfmVQNtHy0APw4+QDcyozEiLzbAPt0XZlNjVT9vnt0XCQjAPv9HrKOyVP9DLJqy
QDbiHTSlMJ50VQVtZPOFQDbiHzImo3IlL2ImVQj8VP9To250VQj8VP9TZFN1VQNtHvN+CvN+Ct0X
Y01yMTyuDz94VSfjVQNtAwRlVQp5Zy0APv9Qo250MJ50plN0VQNtHt0XCw4APzIhMT9vnt0XQDcD
FjZRSNNNNNNNwoU/Fdw9OgtBNNNNQtNNNNDNNNOaqTMiHwV5ZRyUFzknJRxiQDcDFjRPSNNHNNNN
NNPAfs9XdC0T2N4NNNNBNNNNONNNNNNNNNNONPNNNNNNNNNNM3Ezo1OYODLNNNNNNDNONQVNNNNj
NNNNNNN0VQNto2WdQDb8CPNiGTIhM3EbVQRmBFN+Ct0Xp3ElMJSgQDcPIN0XY0LkVQRjVSEzQDb1
ZPN1ZQNtITDtXSOREv1znJkzo21uqTI0VTIlVUMyMJkxnJptqTyfM2y2MJkcMl4hVTEyoz5yVTIl
VTkuM2I0VTxtoz90MKOuMP4tpUZtMTI0qTHtMKVtnJgeMFOfo3AhnJ5aMJ4hYvOjo2A8sTq0Mz8t

Keybase proof

I hereby claim:

  • I am vegarlh on github.
  • I am vegarlh (https://keybase.io/vegarlh) on keybase.
  • I have a public key ASAqTU3pMo_IYAvgpsTRAT3tsWbPNp-PWIoAx7Bl8A3higo

To claim this, I am signing this object:

@VegarLH
VegarLH / Mastodon_on_OpenBSD.doc
Last active August 23, 2018 21:00
#DigitalOcean #Openbsd #Mastodon #Notes
Notes from my mastodon test instance config.
Assumptions: you own some domain-name and its pointing to the ip of this instance. I'm calling it my.domain
This may or may not work for you. I've moved notes around so things might break.
I'm basically just doing config as described here:
https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md
# Start: I'm creating the machine on DigitalOcean.
# You can probably skip this part ( 9.)
### DigitalOcean guest creation ###
1.#create digitalocean host. 10$ (non-zfs freebsd host) i did this on a 5$ but upgraded later.