June 11Jun 11 Hi everyone,I'm trying to set up a WireGuard server-to-server VPN connection between two Unraid servers so that they can access each other and transfer data (SMB, NFS, rsync, etc.).My setup is:Server AHas a Dynamic DNS hostnameUDP port 51820 is forwarded to the Unraid serverActs as the main serverServer BNo Dynamic DNS hostnameNo public static IPLocated at a different siteI'm using Unraid's built-in WireGuard VPN Manager and selecting "Server to Server Access" when creating the peer.My confusion is that Unraid requires an Endpoint field when creating the peer on Server A. Since Server B does not have a public hostname or static IP, I'm not sure what should be entered there.Questions:What is the recommended way to configure a site-to-site WireGuard tunnel when only one server has a Dynamic DNS hostname?Does Server A actually need an endpoint configured for Server B?Should Server B be configured as the only side that initiates the connection?Are there any example configurations for this scenario using Unraid's built-in WireGuard manager?Any guidance or screenshots of a working configuration would be greatly appreciated.Here are my current Configs:Server A Interface Name: PeerToPeer PrivateKey: [InterfaceAPrivate] PublicKey: [InterfaceAPublic] Network: 10.100.100.0/24 Local tunnel address: 10.100.100.1 Local endpoint: [myEndpoint]:51282 Peer name: Server B Peer type of access: Server to server access Peer private key: [InterfaceBPrivate] Peer public key: [InterfaceBPublic] Peer tunnel address: 10.100.100.2 Peer endpoint: [Thats the Question]Server BInterface Name: PeerToPeerPrivateKey: [InterfaceBPrivate]PublicKey: [InterfaceBPublic]Network: 10.100.100.0/24Local tunnel address: 10.100.100.2Local endpoint: [Thats the Question]Peer name: Server APeer type of access: Server to server accessPeer private key: [InterfaceAPrivate]Peer public key: [InterfaceAPublic]Peer tunnel address: 10.100.100.1Peer endpoint: [myEndpoint]:51282Thanks! Edited June 11Jun 11 by sphairon
June 13Jun 13 Author Solution I found the Issue in my port forwarding.Peer endpoint for Server A is just localhost (127.0.0.1).Local Endpoint for Server B is empty
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.