This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# do it faster | |
quickleave | |
# unstream network, eth0 = VigorNIC | |
phyint eth0.8 upstream | |
# internal network | |
phyint br0 downstream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 4.14.10-gentoo-r1 Kernel Configuration | |
# | |
# | |
# Gentoo Linux | |
# | |
CONFIG_GENTOO_LINUX=y | |
CONFIG_GENTOO_LINUX_UDEV=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
duid | |
noipv6rs | |
waitip 6 | |
ipv6only | |
# dont run hooks | |
nohook resolv.conf, yp, hostname, ntp | |
interface ppp0 # WAN interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log { source(src); destination(d_extern); }; | |
destination d_extern { tcp("192.168.2.15"); }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source s_extern { | |
network( | |
transport("udp") | |
); | |
network( | |
transport("tcp") | |
); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
cp template.ovpn $1.ovpn | |
echo "<ca>" >>$1.ovpn | |
cat pki/ca.crt >>$1.ovpn | |
echo "</ca>" >>$1.ovpn | |
echo "<cert>" >>$1.ovpn | |
cat pki/issued/$1.crt >>$1.ovpn | |
echo "</cert>" >>$1.ovpn | |
echo "<key>" >>$1.ovpn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oxygen-system-vm ~ # fdisk -l /dev/sda | |
GPT PMBR size mismatch (41943039 != 62914559) will be corrected by w(rite). | |
Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: gpt | |
Disk identifier: 10B93AE8-1045-434C-A36E-F7801B17CE32 | |
Device Start End Sectors Size Type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for a in $(vim-cmd vmsvc/getallvms 2>&1 |grep invalid |awk '{print $4}'|cut -d \' -f2);do vim-cmd vmsvc/unregister $a;done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
# compress rotated log files. | |
compress | |
compresscmd lzma | |
uncompresscmd lzmadec | |
compressext .xz | |
delaycompress | |
# ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev vpn0 | |
port 5000 | |
tls-server | |
key /etc/openvpn/easy-rsa/pki/private/openvpn.key | |
cert /etc/openvpn/easy-rsa/pki/issued/openvpn.crt | |
ca /etc/openvpn/easy-rsa/pki/ca.crt | |
dh /etc/openvpn/easy-rsa/pki/dh.pem | |
tls-crypt /etc/openvpn/easy-rsa/pki/openvpn.tlsauth | |
crl-verify /etc/openvpn/easy-rsa/pki/crl.pem |