Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | |||
knowledge_base:useful_software:s2svpn_wg [2024/11/21 17:38] – specified config information julian.lemmerich | knowledge_base:useful_software:s2svpn_wg [2024/11/21 17:40] (aktuell) – add PSK julian.lemmerich | ||
---|---|---|---|
Zeile 46: | Zeile 46: | ||
ListenPort = 31037 # this port is the port that should be listened on. | ListenPort = 31037 # this port is the port that should be listened on. | ||
PrivateKey = 6GcJf56i5dY30t7tyuGExlJFl/ | PrivateKey = 6GcJf56i5dY30t7tyuGExlJFl/ | ||
+ | # PresharedKey = < | ||
PostUp = iptables -A FORWARD -i %i -j ACCEPT | PostUp = iptables -A FORWARD -i %i -j ACCEPT | ||
Zeile 61: | Zeile 62: | ||
[Interface] | [Interface] | ||
Address = 10.99.x.2/ | Address = 10.99.x.2/ | ||
+ | #ListenPort = 51820 # If ListenPort is not set, a random port is chosen. For example for a Client behind NAT this is not needed | ||
PrivateKey = qEX8Ag5QmckFHRGX8Cg308N1XXzfp3VXE2MKYPlA2Eo= | PrivateKey = qEX8Ag5QmckFHRGX8Cg308N1XXzfp3VXE2MKYPlA2Eo= | ||
- | # If ListenPort is not set, a random port is chosen. For example for a Client behind NAT this is not needed | + | #PresharedKey = < |
PostUp = iptables -A FORWARD -i %i -j ACCEPT | PostUp = iptables -A FORWARD -i %i -j ACCEPT |