Skip to content

Instantly share code, notes, and snippets.

WAN addr: 81.167.4.214
eth0 = LAN
$ ipv6calc --action 6rd_local_prefix --6rd_prefix 2a01:79c::/30 --6rd_relay_prefix 213.167.115.92/0 81.167.4.214
2a01:79d:469c:1358::/62
sudo ip tunnel add 6rdtun mode sit local 81.167.4.214 ttl 64
sudo ip tunnel 6rd dev 6rdtun 6rd-prefix 2a01:79c::/30
sudo ip link set 6rdtun up
@PixnBits
PixnBits / md5.js
Last active May 27, 2022 07:51 — forked from jhoff/md5.js
invalid reference fix
/*
* http://www.myersdaily.org/joseph/javascript/md5-text.html
*/
(function (global) {
var md5cycle = function (x, k) {
var a = x[0],
b = x[1],
c = x[2],
d = x[3];