Intial commit

This commit is contained in:
2023-05-29 19:51:46 +02:00
commit e0c7ce3fca
3 changed files with 34 additions and 0 deletions

9
set-ip-routes.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Update IP routes after connecting to VPN
[Service]
Type=oneshot
ExecStart=/usr/sbin/ip route del default dev wg0
ExecStart=/usr/sbin/ip route add 192.168.0.63 dev wg0
ExecStart=/usr/sbin/ip route add 192.168.3.0/24 dev wg0
ExecStart=/storage/libreelec-conf/set-resolv-conf.sh