Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9581e6eacb | |||
| 90e2bbe0a6 | |||
| 7b5ba95938 |
+4
-2
@@ -21,7 +21,8 @@ RUN apk add linux-headers build-base go git && \
|
|||||||
cd amneziawg-go && \
|
cd amneziawg-go && \
|
||||||
make && \
|
make && \
|
||||||
cd ../amneziawg-tools/src && \
|
cd ../amneziawg-tools/src && \
|
||||||
make
|
make && \
|
||||||
|
sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' ./wg-quick/linux.bash
|
||||||
|
|
||||||
FROM docker.io/library/node:krypton-alpine AS build-libsql
|
FROM docker.io/library/node:krypton-alpine AS build-libsql
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -62,7 +63,8 @@ RUN apk add --no-cache \
|
|||||||
kmod \
|
kmod \
|
||||||
iptables-legacy \
|
iptables-legacy \
|
||||||
wireguard-go \
|
wireguard-go \
|
||||||
wireguard-tools
|
wireguard-tools && \
|
||||||
|
sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' /usr/bin/wg-quick
|
||||||
|
|
||||||
RUN mkdir -p /etc/amnezia
|
RUN mkdir -p /etc/amnezia
|
||||||
RUN ln -s /etc/wireguard /etc/amnezia/amneziawg
|
RUN ln -s /etc/wireguard /etc/amnezia/amneziawg
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
@@ -0,0 +1,63 @@
|
|||||||
|
{
|
||||||
|
"fill" : {
|
||||||
|
"automatic-gradient" : "display-p3:0.48853,0.13220,0.12335,1.00000"
|
||||||
|
},
|
||||||
|
"groups" : [
|
||||||
|
{
|
||||||
|
"layers" : [
|
||||||
|
{
|
||||||
|
"fill" : {
|
||||||
|
"automatic-gradient" : "srgb:1.00000,1.00000,1.00000,1.00000"
|
||||||
|
},
|
||||||
|
"image-name" : "wireguard-logo.png",
|
||||||
|
"name" : "wireguard-logo",
|
||||||
|
"position" : {
|
||||||
|
"scale" : 0.5,
|
||||||
|
"translation-in-points" : [
|
||||||
|
255.828125,
|
||||||
|
-225.5
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fill-specializations" : [
|
||||||
|
{
|
||||||
|
"value" : {
|
||||||
|
"automatic-gradient" : "srgb:1.00000,1.00000,1.00000,1.00000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"appearance" : "dark",
|
||||||
|
"value" : {
|
||||||
|
"automatic-gradient" : "display-p3:0.48853,0.13220,0.12335,1.00000"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"image-name" : "ticket.png",
|
||||||
|
"name" : "ticket",
|
||||||
|
"position" : {
|
||||||
|
"scale" : 1.2,
|
||||||
|
"translation-in-points" : [
|
||||||
|
-119.91562499999998,
|
||||||
|
165.65625
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"shadow" : {
|
||||||
|
"kind" : "neutral",
|
||||||
|
"opacity" : 0.5
|
||||||
|
},
|
||||||
|
"translucency" : {
|
||||||
|
"enabled" : true,
|
||||||
|
"value" : 0.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"supported-platforms" : {
|
||||||
|
"circles" : [
|
||||||
|
"watchOS"
|
||||||
|
],
|
||||||
|
"squares" : "shared"
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 663 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
Reference in New Issue
Block a user