File tree 4 files changed +51
-2
lines changed
4 files changed +51
-2
lines changed Original file line number Diff line number Diff line change 1
- mounts /
1
+ mounts /bitcoin /*
2
+ mounts /monero /*
3
+ mounts /lightning /*
4
+ mounts /wireguard /*
5
+ ! mounts /wireguard /wg0.conf.template
Original file line number Diff line number Diff line change
1
+ # Client
2
+ [Interface]
3
+ PrivateKey = <CLIENT_SECKEY>
4
+ Address = 10.50.0.50/32
5
+
6
+ # VPN Server
7
+ [Peer]
8
+ PublicKey = <VPN_PUBKEY>
9
+ AllowedIPs = 0.0.0.0/0
10
+ Endpoint = IP-ADDRESS:51820
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if "${INSTALL_VPN}" == "true"; then
28
28
ip addr
29
29
30
30
echo -e " \n## EXTERNAL IP"
31
- echo " You will connect to the network via $( curl -s ifconfig.me) "
31
+ echo " You will connect to the network via IP $( curl -s ifconfig.me) "
32
32
fi
33
33
34
34
echo -e " \n## About to start service ..."
Original file line number Diff line number Diff line change
1
+ echo '
2
+ :--====--:
3
+ -+************+-
4
+ -******************-
5
+ +*+-+************+-+*+
6
+ =**+ -+********+- +**+
7
+ .***+ -+****+- +***:
8
+ :***+ . -++- . +***-
9
+ .***+ :*= =*- +***:
10
+ :::: :***= =***- ::::
11
+ ....-**********=.....
12
+ -******************=
13
+ -+************+-
14
+ :-==++==-: '
15
+
16
+ # TODO: setup DNS over VPN
17
+ if " ${INSTALL_VPN} " == " true" ; then
18
+ echo -e " \n## VPN enabled, setting up routes..."
19
+ ip route del default
20
+ ip route add default via 10.50.0.10
21
+
22
+ echo -e " \n## IP ROUTE:"
23
+ ip route show
24
+
25
+ echo -e " \n## IP ADDRESS:"
26
+ ip addr
27
+
28
+ echo -e " \n## EXTERNAL IP"
29
+ echo " You will connect to the network via IP $( curl -s ifconfig.me) "
30
+ fi
31
+
32
+ echo -e " \n## About to start service ..."
33
+ sleep 5
34
+
35
+ monero/monerod ${CLI_ARGS}
You can’t perform that action at this time.
0 commit comments