Restrict access using Wireguard (wg-easy docker container)

Associate
Joined
1 Dec 2002
Posts
1,083
Location
Swindon
Hi,

Im trying to set up a Wireguard connection between 2 sites - the connection itself it fine.. What I am struggling with is how to restrict access on the remote site (Site #2, the side running Wireguard Server). Default is that I can access everything on Site 2, be it internet and everything on their LAN..

What I would like to be able to do is restrict to Internet (WAN) access Only on Site #2, so that I can not see anything on their LAN. (Im using the Wireguard to get around geo-location so only interested in using their Internet connection)

Both Client and Server are running on Synology, and we are both using wg-easy docker container as the wg GUI.
 
In the end I had a play with iptables inside the wg-easy docker and restricted access that way.. I now have a Wireguard connection that only allows traffic to the internet, no LAN destinations allowed.
 
Back
Top Bottom