wsl: update
This commit is contained in:
parent
7d41f0ad81
commit
166fa01d14
@ -1,9 +1,9 @@
|
|||||||
## Force DNS Usage inside VPN
|
## Force DNS Usage inside VPN
|
||||||
|
|
||||||
### Bash script
|
### Bash script
|
||||||
|
Save file into /bin/vpn-dns swith 755 permissions
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cat /bin/vpn-dns
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Getting current DNS servers, this takes a couple of seconds"
|
echo "Getting current DNS servers, this takes a couple of seconds"
|
||||||
@ -39,7 +39,7 @@ WantedBy=multi-user.target
|
|||||||
|
|
||||||
#### OpenRC
|
#### OpenRC
|
||||||
|
|
||||||
Save file into /etc/init.d/vpn-dn swith 755 permissions
|
Save file into /etc/init.d/vpn-dns with 755 permissions
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user