Skip to content

Nordlynx on Synology NAS #41

Answered by b-kamphorst
b-kamphorst asked this question in Q&A
Discussion options

You must be logged in to vote

After a pleasant joint troubleshooting effort with @ginodesilva, we have come to the following configuration for Synology NAS (Wireguard installed):

services:
  nordlynx:
    image: ghcr.io/bubuntux/nordlynx:2022-03-01
    container_name: nordlynx
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    cap_add:
      - NET_ADMIN
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1  # Recommended if using ipv4 only
    environment:
      - PRIVATE_KEY=[INSERT_YOUR_KEY]=
      - ALLOWED_IPS=0.0.0.0/1,128.0.0.0/1
      - NET_LOCAL=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
      - "POST_UP=ip -4 route add $$(wg | awk -F'[: ]' '/endpoint/ {print $$5}') via $$(ip route |…

Replies: 9 comments 48 replies

Comment options

You must be logged in to vote
11 replies
@milopalmer
Comment options

@ginodesilva
Comment options

@milopalmer
Comment options

@ginodesilva
Comment options

@b-kamphorst
Comment options

Comment options

You must be logged in to vote
9 replies
@ginodesilva
Comment options

@b-kamphorst
Comment options

@ginodesilva
Comment options

@b-kamphorst
Comment options

@b-kamphorst
Comment options

Comment options

You must be logged in to vote
17 replies
@ginodesilva
Comment options

@styggiti
Comment options

@ginodesilva
Comment options

@styggiti
Comment options

@egrofalnoraa
Comment options

Answer selected by b-kamphorst
Comment options

You must be logged in to vote
2 replies
@b-kamphorst
Comment options

@Hex-99
Comment options

Comment options

You must be logged in to vote
2 replies
@bubuntux
Comment options

@589290
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jarlbrak
Comment options

Comment options

You must be logged in to vote
6 replies
@jarlbrak
Comment options

@appleimperio
Comment options

@jarlbrak
Comment options

@wiston81
Comment options

@jarlbrak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet