install files for nextdns

This commit is contained in:
Ray Slakinski 2024-03-07 12:33:36 -05:00
parent ab1864bcbf
commit e506dec095
No known key found for this signature in database
GPG Key ID: D6E793433D81EEE4
3 changed files with 1159 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
pw
nextdns.conf

7
install.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
export NEXTDNS_PASSWORD=$(cat pw)
sshpass -p $NEXTDNS_PASSWORD scp nextdns_install.sh root@192.168.1.1:/root/nextdns_install.sh
sshpass -p $NEXTDNS_PASSWORD scp nextdns.conf root@192.168.1.1:/data/nextdns.conf
sshpass -p $NEXTDNS_PASSWORD ssh root@192.168.1.1 "chmod +x /root/nextdns_install.sh && /root/nextdns_install.sh install"

1150
nextdns_install.sh Executable file

File diff suppressed because it is too large Load Diff