This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vpn-wireguard [2025/09/15 03:28] – [Peer Parameters] -Reorder Forwarrd all peer traffic explanation hogwild | vpn-wireguard [2025/09/16 17:14] (current) – [Import Config from file] hogwild | ||
---|---|---|---|
Line 66: | Line 66: | ||
===== Wireguard Configuration ===== | ===== Wireguard Configuration ===== | ||
- | WireGuard uses virtual network adapters (or " | + | WireGuard uses virtual network adapters (or " |
- | WireGuard allows you to create 3 separate | + | WireGuard allows you to create 3 separate network |
\\ | \\ | ||
Line 89: | Line 89: | ||
===== Interface ===== | ===== Interface ===== | ||
- | Settings here are used to configure the router' | + | Settings here are used to configure the router' |
\\ | \\ | ||
Line 226: | Line 226: | ||
===== Peer Parameters ===== | ===== Peer Parameters ===== | ||
- | In this area, you can manually configure Peer settings. Some fields populate automatically if you import a configuration file instead of/in addition to manually entering settings. | + | Here, you can manually configure Peer settings. Some fields populate automatically if you import a configuration file instead of/in addition to manually entering settings. |
**Router behind NAT** - sets whether/how often keepalive packets are sent from the router to defined peers. | **Router behind NAT** - sets whether/how often keepalive packets are sent from the router to defined peers. | ||
Line 246: | Line 246: | ||
**Allowed IPs** - here, enter the IP address ranges to be routed through the particular peer. | **Allowed IPs** - here, enter the IP address ranges to be routed through the particular peer. | ||
- | Outgoing packets bound for addresses in the " | + | Outgoing packets bound for addresses in the " |
\\ | \\ | ||
Line 276: | Line 276: | ||
(As set in the Network menu). | (As set in the Network menu). | ||
- | | + | |
- | + | ||
- | **Forward all peer traffic** - adding an Allowed IP of " | + | |
\\ | \\ | ||
Line 295: | Line 293: | ||
===== Import Config from file ===== | ===== Import Config from file ===== | ||
- | Available since r2025.3, this lets you quickly and easily import a pre-generated WireGuard configuration file. This file can come from an external VPN provider, or other source, such as another WireGuard endpoint. Files must be compatible with the wg-quick format (usually ending in " | + | Available since r2025.3, this lets you quickly and easily import a pre-generated WireGuard configuration file. This file can come from an external VPN provider, or another WireGuard endpoint. Files must be compatible with the wg-quick format (usually ending in " |
Typically, with an external VPN provider, you choose appropriate settings on their website for the configuration you want. The VPN provider then generates a corresponding configuration file to import. For most providers, this will be a wg-quick compatible file. | Typically, with an external VPN provider, you choose appropriate settings on their website for the configuration you want. The VPN provider then generates a corresponding configuration file to import. For most providers, this will be a wg-quick compatible file. | ||
- | While FreshTomat' | + | Even though FreshTomato |
+ | |||
+ | For example, | ||
+ | |||
+ | "nvram show|grep wg0_" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | The only exception occurs when you copy a configuration file to a folder on the router and enter a path to that file in the //Config File// field. In that case, that file will be saved as a configuration file, in wg-quick format. | ||
\\ | \\ | ||
- | {{:: | + | {{:: |
{{:: | {{:: | ||
Line 408: | Line 414: | ||
\\ | \\ | ||
- | **Source IP Filtering for Incoming Traffic:** It acts as an access control filter for incoming traffic from that peer. WireGuard will only accept packets from the peer if their source IP address matches one of the specified " | + | **Source IP Filtering for Incoming Traffic** |
+ | |||
+ | WireGuard will only accept packets from the peer if its source IP address matches one of the specified " | ||
\\ | \\ |