Creating a Core Transit WireGuard Config File


Some routing platforms like Unifi and GL.inet require a WireGuard configuration file or a wg.conf file.  This file contains the details that Core Transit provides you for your WireGuard session, including keys, IP addresses, server IP address, UDP, etc.  A template file is included here for your convenience.  Simply replace the values in brackets with the details you need for your tunnel. 

 

[Interface]
PrivateKey = <your private key>
Address = <the IPv4 address provided by Core Transit>,<the IPv6 address provided by Core Transit>
DNS = 4.2.2.2,8.8.8.8 #optional

[Peer]
PublicKey = <the public key provided by Core Transit>
AllowedIPs = 0.0.0.0/0  #This is important for carrying internet traffic
Endpoint = <Core Transit tunnel server IP>:<Core Transit tunnel port number>

Paste this raw text into a blank unformatted text document (exit with notepad, etc not a rich text editor) and replace with your values.  Note, you will need to generate your private/public key pair and share the public key with Core Transit so we can configure side of the tunnel.  Save this file as wg.conf and upload it to your system under Wire Guard client configuration.  

Je li Vam ovaj odgovor pomogao? 1 Korisnici koji smatraju članak korisnim (1 Glasovi)

Powered by WHMCompleteSolution