Tunnel IPv4 over IPv6

let’s do the opposite. you have some ipv6 connectifity and need to transport ipv4 Host A (IPv6 only) root@hosta ~# ifconfig vio0 vio0: flags=208843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu 1500 lladdr 56:00:02:e7:9d:e5 index 1 priority 0 llprio 3 groups: egress media: Ethernet autoselect status: active inet6 fe80::5400:2ff:fee7:9de5%vio0 prefixlen 64 scopeid 0x1 inet6 2a05:f480:1400:7b6:a9e0:6a15:217:cc5c prefixlen 64 autoconf pltime 604627 vltime 2591827 inet6 2a05:f480:1400:7b6:446d:acb7:5fe4:450f prefixlen 64 autoconf autoconfprivacy pltime 86046 vltime 172537 root@hosta ~# i3 IPv4: !

Tunnel IPv6 over IPv4

let’s assume you need ipv6 connectifity somewhere … You can use some Tunnelbrokers or your run OpenBSD on your Boxes and want todo it on your own. Here some hints. Server with DualStack you need a Maschine out in the Internet which is DualStacked stoege@dualstack$ i3 IPv4: 11.22.33.44 IPv6: 2001:db8:100::100 Host with IPv4 only stoege@ipv4 host ~# i3 IPv4: 55.66.77.88 IPv6: !NETWORK and you want to bring IPv4 to the second host

Wireguard on (current | 6.8 and higher )

Wireguard on OpenBSD OpenBSD added wg to the Kernel a while ago … why not have a look into and do some speedtests … ? Setup CLIENT1 — WireGuard — CLIENT2 and running tcpbench between Client1 and Client2 Fireup VMs Stage 3 VM’s on my litte Proxmox Server (Intel NUC) host nic ip wg nic ip Client1 em0 192.168.108.7 wg0 10.0.0.1 WireGuard em0 192.

GIT add Folder to Repo

wanna switch a local folder to a remote git repo ? https://docs.github.com/en/github/using-git/adding-a-remote GitoLite create git repo with gitolite (myproject) add Folder cd myproject git init git remote add origin git@your-git-server:myproject check Status git remote -v git status add all existing Files, commit and push to remote git add . git commit -m "initial commit" git push --set-upstream origin master sha256: 3d044e15882683dcf8a0cd3b79e464e89ae4b1a5a93a142651f589130f040d7a

Cheatsheet

Boll Engineering - FortiOS 6.2 Boll Engineering - FortiAnalyzer PHPStorm KeyMap sha256: ab84e3cb2756f64fde31e04b1c410e8ddfe68da6d4bf1adcee430a3a2857e07a

Adafruit Feather Huzzah ESP8266

Got a new Toy … Datasheet esp8266 https://cdn-learn.adafruit.com/downloads/pdf/adafruit-feather-huzzah-esp8266.pdf Pinout https://cdn-learn.adafruit.com/assets/assets/000/046/249/original/adafruit_products_Huzzah_ESP8266_Pinout_v1.2-1.png?1504885873 Manual Adafruit NeoPixel Überguide https://www.play-zone.ch/de/fileuploader/download/download/?d=1&file=custom%2Fupload%2FFile-1459843180.pdf Driver https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers Wire Diagram https://learn.adafruit.com/feather-weather-lamp/circuit-diagram ESP8266 Arduino Core’s documentation https://arduino-esp8266.readthedocs.io/en/latest/ ESP8266WiFi library https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html Playing with LED gpio.mode(3, gpio.OUTPUT) gpio.write(3, gpio.LOW) gpio.write(3, gpio.HIGH) Blinking Stuff while 1 do gpio.write(3, gpio.HIGH) tmr.delay(1000000) -- wait 1'000'000 us = 1 Second gpio.write(3, gpio.LOW) tmr.delay(1000000) -- wait 1'000'000 us = 1 Second end More blinking -- Pin definition local pin = 3 local status = gpio.

Borg

Exclude Dir CAT << 'EOF' > CACHEDIR.TAG Signature: 8a477f597d28d172789f06886806bc55 # This file is a cache directory tag created by Borg. # For information about cache directory tags, see: # http://www.bford.info/cachedir/spec.html EOF chmod 444 CACHEDIR.TAG sha256: f6b3733434cf50ee148c04e01fe67ebd617b10c01988ac9cf9402b3b3ed38902

Debian on APU4

debian on apu boot menu -> tab -> debian-installer/i386/linux vga=788 initrd=debian-installer/i386/initrd.gz — console=ttyS0,115200 enter space :) english country switzerland nic0 hostname apu005 domain planet mirror ch -> ftp.ch.debian.org root password Partitioning: entire Disk & LVM Separate /home /var /tmp survey no soft: standard system utilities & ssh server grub yes braucht ca. 30min ! automated https://www.debian.org/releases/stable/amd64/apbs02.en.html https://www.debian.org/releases/buster/example-preseed.txt Packages apt-get -y install net-tools git htop Reboot geht 40 Sekunden sha256: e6b8172744ceffd1e206939cced9be6f744a3d7ef55036df770b4c46b4366912

OpenBSD & PHP Stuff 7.4

Install NGINX & PHP pkg_add nginx php--%7.4 rcctl enable nginx php74_fpm Edit php.ini sed -i s'/date.timezone = UTC.*/date.timezone = Europe\/Zurich/' /etc/php-7.4.ini sed -i s'/short_open_tag = Off.*/short_open_tag = On/' /etc/php-7.4.ini Stop 7.3 & Start 7.4 rcctl stop php73_fpm rcctl restart nginx php74_fpm Uninstall PHP 7.3 pkg_del php--%7.3 pkg_del -a sha256: 17490303fe106a6c3a34071338097e6c1aff50c0d4764f1615c0993ce9211bb2

Hamster Rad

Projekt Hamster Counter Hamsterrad Reed Sensor Installation Ziel Ein kleiner Hamster Rad Zähler, um etwas über das (nächtliche) Laufverhalten des Nagers zu erfahren. Website Das Projekt hat nen kleinen Webserver bekommen mit Live Statistiken Webserver nur IPv6 erreichbar Hardware Hamster Käfig Laufrad APU2/3/4 von PC Engines, kann natürlich auch ein Raspi / Aruduino oder sonstwas sein … DSUB 9 Pol (Conrad, Art: 2108931 - 62), oder einfach ein altes Kabel verschneiden Rolle Draht / Litze 2 Ader (Conrad, Art: 1567051 - 62) Positionssensor (Conrad, Art.