meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:vpn:wireguard [2024/12/20 21:08] – niziak | linux:vpn:wireguard [2025/01/07 20:42] (current) – niziak | ||
---|---|---|---|
Line 2: | Line 2: | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== routing ===== | ||
+ | |||
+ | * sending: list of allowed IPs behaves as routing table | ||
+ | * receiving: list of allowed IPs behaves as ACL | ||
+ | |||
+ | ==== mesh ==== | ||
+ | |||
+ | Duplicated peer IPS (allowed IPs): | ||
+ | * not allowed | ||
+ | * technically wg is working but traffic is directed only to last connected peer ??? | ||
+ | |||
+ | The same peer IP (allowed IPs) on 2 or more wg interfaces: | ||
+ | * allowed | ||
+ | * kernel routing makes decision | ||
+ | |||
+ | Best and clear option: | ||
+ | * P2P wg links | ||
+ | * OSPF or other dynamic routing protocol | ||
+ | |||
+ | ==== working example ==== | ||
''/ | ''/ | ||
Line 9: | Line 31: | ||
Tested on '' | Tested on '' | ||
All peers were in one ''/ | All peers were in one ''/ | ||
+ | |||
+ | NOTE: trying to '' | ||
+ | |||
===== Setup ===== | ===== Setup ===== |