Skip to content

Port forwarding #39

Answered by Luicosas
Luicosas asked this question in Q&A
Sep 21, 2024 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

Oh I see, thanks, the workaround worked! got my remote backup working and checked that it can't access the internet. Sorry about not checking the podman discussions first, I thought it was a compose2nix specific issue 😅.

Posting my final working compose in case anyone else stumbles on this thread.

name: 
  wg-easy
services:
  wg-easy:
    environment:
      - LANG=en
      - WG_HOST=<some-domain-name>
      - WG_ALLOWED_IPS=10.8.1.0/24
      - WG_DEFAULT_DNS=
      - WG_PERSISTENT_KEEPALIVE=25
      - WG_DEFAULT_ADDRESS=10.8.0.x
      - PORT=51821
      - WG_PORT=51820
    image: ghcr.io/wg-easy/wg-easy
    container_name: wg-easy
    volumes:
      - /nixos-data/wg-easy-data:/etc/wiregua…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@aksiksi
Comment options

@Luicosas
Comment options

@aksiksi
Comment options

@Luicosas
Comment options

Answer selected by aksiksi
@aksiksi
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
2 participants