Skip to content

Commit ccb53c8

Browse files
committed
track monero run.sh and track sample wg0.conf
1 parent 72e79a9 commit ccb53c8

File tree

4 files changed

+51
-2
lines changed

4 files changed

+51
-2
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
mounts/
1+
mounts/bitcoin/*
2+
mounts/monero/*
3+
mounts/lightning/*
4+
mounts/wireguard/*
5+
!mounts/wireguard/wg0.conf.template

mounts/wireguard/wg0.conf.template

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

services/bitcoin/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if "${INSTALL_VPN}" == "true"; then
2828
ip addr
2929

3030
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)"
3232
fi
3333

3434
echo -e "\n## About to start service ..."

services/monero/run.sh

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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}

0 commit comments

Comments
 (0)