wg-quick conf file :: add include keyword

2019-05-07 Thread Adrian Sevcenco

Hi! Would be possible to add the include keyword?
something like :
include full_path_to_dir/*.conf
or
include dir/*.conf
where dir would be search for in the location of the configuration file.

This, together with a pair of systemd .path and .service
files would allow dynamical addition and removal of peers (and other 
settings)


Thank you!
Adrian
___
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard


Re: Deploy a wireguard on 2 raspberry pi to connect 2 remote lan - Lan2Lan

2019-05-07 Thread Christopher Bachner
You have to tell the gateway (router) on each side where to route the IP
range of the other side. Usually you route it over the VPN computer, which
you have to configure to allow routing.

- Chris

On Mon, May 6, 2019, 22:42 Paulo Lopes  wrote:

> Hi all!!!
>
> First, let me thank for the amazing vpn protocol that Wireguard is
>
> I need your advise. As you can see on the picture attach, I have 2
> raspberry pi. One as a vpn server and the other as a vpn client to connect
> 2 remote Lan.
>
> Can you point me what I need to do, if I want to replace the openvpn for
> the wireguard?
>
> I can connect 2 rpi with wireguard, but, the others ip machinies on the
> server and client side can´t see each other.
>
> With openvpn I needed to inser iroute and add a static route on both
> routers. What I need to with the wireguard?
>
> Once again many tahnks for all the help you can give me😉
>
> ___
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
___
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard