Removed commit history
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
commit
b1335a3628
199 changed files with 36930 additions and 0 deletions
10
root/etc/NetworkManager/30-wg0.network
Normal file
10
root/etc/NetworkManager/30-wg0.network
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Match]
|
||||
Name = wg0
|
||||
|
||||
[Network]
|
||||
Address = 10.0.0.3/32
|
||||
DNS = 10.0.0.1
|
||||
|
||||
[Route]
|
||||
Gateway = 10.0.0.1
|
||||
Destination = 10.0.0.0/24
|
2
root/etc/NetworkManager/conf.d/rc-manager.conf
Normal file
2
root/etc/NetworkManager/conf.d/rc-manager.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[main]
|
||||
rc-manager=resolvconf
|
4
root/etc/NetworkManager/conf.d/wifi_backend.conf
Executable file
4
root/etc/NetworkManager/conf.d/wifi_backend.conf
Executable file
|
@ -0,0 +1,4 @@
|
|||
[device]
|
||||
wifi.backend=iwd
|
||||
match-device=interface-name:wlp1s0
|
||||
managed=1
|
6
root/etc/NetworkManager/dispatcher.d/10-tzupdate.sh
Executable file
6
root/etc/NetworkManager/dispatcher.d/10-tzupdate.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
status=$2
|
||||
case $status in
|
||||
up)
|
||||
/usr/bin/tzupdate
|
||||
esac
|
8
root/etc/NetworkManager/dispatcher.d/11-ssh-tunnel.sh
Executable file
8
root/etc/NetworkManager/dispatcher.d/11-ssh-tunnel.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
if [[ "$2" == "up" ]] || [ "$2" == "vpn-up"]]; then
|
||||
su - reekymarko -c 'ssh -f -N -R 8123:localhost:22 teapot sleep 10'
|
||||
fi
|
||||
|
||||
if [[ "$2" == "down" ]] || [ "$2" == "vpn-up"]];then
|
||||
killall ssh
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue