Mikrotik – WireGuard ทำความเข้าใจและลองคอนฟิกด้วยตัวเองแบบง่ายๆ

 [Interface]
PrivateKey = <Client_Private_Key>
Address = 192.168.88.2/24
DNS = 8.8.8.8

[Peer]
PublicKey = <MikroTik_Public_Key>
Endpoint = 203.0.113.1:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25

 
 [Interface]
PrivateKey = <Client_Private_Key>
Address = 192.168.88.2/24
DNS = 8.8.8.8

[Peer]
PublicKey = <MikroTik_Public_Key>
Endpoint = 203.0.113.1:51820
AllowedIPs = 192.168.88.0/24,10.2.2.0/24
PersistentKeepalive = 25

 

Leave a Reply

อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น ช่องข้อมูลจำเป็นถูกทำเครื่องหมาย *