Development discussion of WireGuard
 help / color / mirror / Atom feed
* Wireguard to route server traffic on same machine
@ 2020-05-19 17:45 -.-
  0 siblings, 0 replies; only message in thread
From: -.- @ 2020-05-19 17:45 UTC (permalink / raw)
  To: wireguard

Dear all,

I am trying to configure WG to run in a docker, maybe through portainer to route all the traffic of a nextcloud server on the same machine (raspberry pi 4).

I have managed to have the sever, the containers with WG running (?) on it. Can i ask you support on the .yaml config (server or client) and the config of WG per se?

script.yaml used:

version: "2.1"

services:

wireguard:

image: linuxserver/wireguard

container_name: wireguard

cap_add:

- NET_ADMIN

- SYS_MODULE

environment:

- PUID=1000(pi)

- PGID=1000(pi)

- SERVERURL=   "Address of my server, the same of raspberry"

- SERVERPORT=51820

- PEERS=1

- PEERDNS=[ ]"Address of my server, the same of raspberry"

volumes:

- /path/to/appdata/config:/config

- /lib/modules:/lib/modules

ports:

- 51820:51820/udp

sysctls:

- net.ipv4.conf.all.src_valid_mark=1

restart: unless-stopped

thanks in advance,
sincerily.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-21  1:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 17:45 Wireguard to route server traffic on same machine -.-

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git