Update README.md
This commit is contained in:
@@ -474,6 +474,7 @@ sudo opendkim-testkey -d domain -s mail -vvv
|
|||||||
|
|
||||||
# TEST ADRESSES
|
# TEST ADRESSES
|
||||||
DNS Checker -> https://mxtoolbox.com/DNSLookup.aspx
|
DNS Checker -> https://mxtoolbox.com/DNSLookup.aspx
|
||||||
|
DNS Checker -> https://dnscheck.tools/
|
||||||
Validate your DKIM and SPF DNS records. -> https://dmarcdkim.com/tools/check-dkim-record?domain=domain
|
Validate your DKIM and SPF DNS records. -> https://dmarcdkim.com/tools/check-dkim-record?domain=domain
|
||||||
Mail Tester -> https://www.mail-tester.com/
|
Mail Tester -> https://www.mail-tester.com/
|
||||||
MX Records and Blacklist check -> https://mxtoolbox.com/SuperTool.aspx
|
MX Records and Blacklist check -> https://mxtoolbox.com/SuperTool.aspx
|
||||||
@@ -946,17 +947,13 @@ dig google.com
|
|||||||
|
|
||||||
|
|
||||||
## Restrict DNS access to WireGuard clients
|
## Restrict DNS access to WireGuard clients
|
||||||
localhost
|
sudo nft -a list chain inet filter input
|
||||||
Expected result:
|
Expected result:
|
||||||
|
|
||||||
✔ Localhost -> ACCEPT
|
✔ Localhost -> ACCEPT
|
||||||
✔ WireGuard (10.8.0.0/24) -> ACCEPT
|
✔ WireGuard (10.8.0.0/24) -> ACCEPT
|
||||||
✔ Everyone else -> DROP
|
✔ Everyone else -> DROP
|
||||||
|
|
||||||
sudo nft -a list chain inet filter input
|
|
||||||
>WireGuard DNS → ACCEPT
|
|
||||||
>Localhost DNS → ACCEPT
|
|
||||||
>Public DNS → DROP
|
|
||||||
|
|
||||||
add
|
add
|
||||||
(Client / PC)
|
(Client / PC)
|
||||||
@@ -984,6 +981,7 @@ NetworkManager will manage DNS automatically.
|
|||||||
|
|
||||||
(Client / PC)
|
(Client / PC)
|
||||||
Delete DNS = 10.8.0.1
|
Delete DNS = 10.8.0.1
|
||||||
|
If you use NetworkManager, remove the DNS = 10.8.0.1 line from the WireGuard configuration. NetworkManager will manage the DNS settings instead.
|
||||||
|
|
||||||
Eski bağlantı varsa sil
|
Eski bağlantı varsa sil
|
||||||
nmcli connection delete wg0
|
nmcli connection delete wg0
|
||||||
@@ -1030,11 +1028,17 @@ nmcli connection show wg0
|
|||||||
|
|
||||||
|
|
||||||
## Verify the VPN tunnel (Client / PC)
|
## Verify the VPN tunnel (Client / PC)
|
||||||
|
Open the VPN
|
||||||
```
|
```
|
||||||
ping 10.8.0.1
|
ping 10.8.0.1
|
||||||
```
|
```
|
||||||
>0% packet loss
|
>0% packet loss
|
||||||
|
|
||||||
|
## Verify Internet Routing (Client / PC)
|
||||||
|
curl -4 ifconfig.me
|
||||||
|
When the VPN is enabled, the output should be the public IPv4 address of the VPS.
|
||||||
|
When the VPN is disabled, the output should return to the public IP address of the local internet connection.
|
||||||
|
|
||||||
## Verify AdGuard (VPS)
|
## Verify AdGuard (VPS)
|
||||||
```
|
```
|
||||||
dig @10.8.0.1 google.com
|
dig @10.8.0.1 google.com
|
||||||
@@ -1048,7 +1052,16 @@ dig google.com
|
|||||||
```
|
```
|
||||||
>SERVER: 10.8.0.1#53
|
>SERVER: 10.8.0.1#53
|
||||||
|
|
||||||
## Verify WireGuard(Server)
|
## Verify the AdGuard Home Dashboard
|
||||||
|
Open the AdGuard Home dashboard and go to: Query Log
|
||||||
|
|
||||||
|
Refresh a few websites on the client device.
|
||||||
|
|
||||||
|
Expected result:
|
||||||
|
New DNS queries from the WireGuard client should appear in the Query Log.
|
||||||
|
The client address should normally be shown as a WireGuard address such as 10.8.0.3.
|
||||||
|
|
||||||
|
## Verify WireGuard(VPS)
|
||||||
sudo wg
|
sudo wg
|
||||||
>latest handshake:
|
>latest handshake:
|
||||||
|
|
||||||
@@ -1058,6 +1071,13 @@ dig @SERVER_PUBLIC_IP google.com
|
|||||||
>or
|
>or
|
||||||
>connection timed out
|
>connection timed out
|
||||||
|
|
||||||
|
## Mail DNS
|
||||||
|
dig @10.8.0.1 MX srv1.mail-tester.com
|
||||||
|
>status: NOERROR
|
||||||
|
|
||||||
|
dig @127.0.0.1 MX srv1.mail-tester.com
|
||||||
|
>... timed out
|
||||||
|
|
||||||
|
|
||||||
Disable uBlock Origin, AdGuard Browser Extension, Brave Shields, or any other third-party content blocker if the login page does not load correctly
|
Disable uBlock Origin, AdGuard Browser Extension, Brave Shields, or any other third-party content blocker if the login page does not load correctly
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user