Skip to content

Commit

Permalink
was missing important snippets for raw tcp/udp link containers in the…
Browse files Browse the repository at this point in the history
… last commit.
  • Loading branch information
zacharylott94 committed Apr 7, 2024
1 parent e19b87c commit 4b3cf22
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/create-link/link-compose-snippet-tcp-udp.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
EXPOSE=${SERVICE}:${BACK_PORT}
GATEWAY_ENDPOINT=${GATEWAY_ENDPOINT}
GATEWAY_LINK_WG_PUBKEY=${GATEWAY_LINK_WG_PUBKEY}
LINK_DOMAIN=${LINK_DOMAIN}
GATEWAY_CLIENT_WG_PRIVKEY=${WG_PRIVKEY}
FORWARD_ONLY=${FORWARD_ONLY}
NEW_FORWARDING_BEHAVIOR: true
BACK_PORT: ${BACK_PORT}
CENTER_PORT: ${CENTER_PORT}
SERVICE: ${SERVICE}
22 changes: 22 additions & 0 deletions src/create-link/link-compose-snippet-tcp-udp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
link:
image: fractalnetworks/gateway-client:latest
environment:
LINK_DOMAIN: ${LINK_DOMAIN}
EXPOSE: ${SERVICE}:${BACK_PORT}
GATEWAY_CLIENT_WG_PRIVKEY: ${WG_PRIVKEY}
GATEWAY_LINK_WG_PUBKEY: ${GATEWAY_LINK_WG_PUBKEY}
GATEWAY_ENDPOINT: ${GATEWAY_ENDPOINT}
# Remove following to disable basic authentication
BASIC_AUTH: admin:admin
# Remove following line to get certs from Let's Encrypt
TLS_INTERNAL: true
# CADDY_TLS_PROXY: true
# CADDY_TLS_INSECURE: true
FORWARD_ONLY: ${FORWARD_ONLY}
NEW_FORWARDING_BEHAVIOR: true
BACK_PORT: ${BACK_PORT}
CENTER_PORT: ${CENTER_PORT}
SERVICE: ${SERVICE}
restart: unless-stopped
cap_add:
- NET_ADMIN
3 changes: 1 addition & 2 deletions src/create-link/link-compose-snippet.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ GATEWAY_ENDPOINT=${GATEWAY_ENDPOINT}
GATEWAY_LINK_WG_PUBKEY=${GATEWAY_LINK_WG_PUBKEY}
LINK_DOMAIN=${LINK_DOMAIN}
GATEWAY_CLIENT_WG_PRIVKEY=${WG_PRIVKEY}
FORWARD_ONLY=${FORWARD_ONLY}
NEW_FORWARDING_BEHAVIOR: true
FORWARD_ONLY=${FORWARD_ONLY}

0 comments on commit 4b3cf22

Please sign in to comment.