You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 2 networks here. When the client has the green network turned on, all traffic will be
23
+
routed through =server1=, whereas the blue network will route all traffic through =server2=. This
24
+
means that the sites that you visit will see the IP address of =server1= rather than the public IP
25
+
address of =client1=.
26
+
18
27
Second, you should generate the =wg-quick=-compatible configurations using:
19
28
20
29
#+begin_src sh
@@ -34,7 +43,7 @@ could use [[https://dyne.org/software/tomb/][tomb]] to have a single file which
34
43
move that file around as you would any other file. You can also version control the configurations
35
44
to ensure that you don't end up making some change to the configuration which you can't revert.
36
45
37
-
Third, you should write the =hosts= file which will be used by =wireguard-ansible=, if you plan to
46
+
Third, you should write the =hosts= file which will be used by [[https://github.com/icyflame/wireguard-ansible][=ansible-wireguard=]][fn:2], if you plan to
38
47
use that to set up any of the supported operating systems. You can use the [[file:hosts.example]] as a
39
48
sample. The network names and server identifiers in this file should match those in the JSON
40
49
configuration file.
@@ -53,6 +62,8 @@ configuration generator.
53
62
54
63
* Footnotes
55
64
65
+
[fn:2] This repository is not public on GitHub.
66
+
56
67
[fn:1] I run a CoreDNS-based DNS server with the [[https://github.com/icyflame/blocker][blocker]] plugin, which blocks most domains which
57
68
serve only advertisements. By combining the adblocking DNS server and Wireguard, I can block ads
58
69
even on mobile data on an iPhone, where addons like uBlock Origin can't be installed. Without
0 commit comments