آخر نشاط 1 month ago

file /etc/wireguard/wg0.conf del Client Ubuntu. Questa configurazione permette al VPS che faccia da gateway per accedere alla rete locale dietro NAT tramite un PC locale che funge da client wiregurad

emanuelegori عدّل هذا المقطع 1 year ago. الانتقال إلى التعديل

لا توجد تغييرات

emanuelegori عدّل هذا المقطع 1 year ago. الانتقال إلى التعديل

لا توجد تغييرات

emanuelegori عدّل هذا المقطع 1 year ago. الانتقال إلى التعديل

لا توجد تغييرات

emanuelegori عدّل هذا المقطع 1 year ago. الانتقال إلى التعديل

1 file changed, 2 insertions, 2 deletions

wg0.conf

@@ -1,11 +1,11 @@
1 1 [Interface]
2 - PostUp = wg set %i private-key /etc/wireguard/%i.key
3 2 Address = 10.13.13.2/31
3 + PostUp = wg set %i private-key /etc/wireguard/%i.key
4 4 ListenPort = 51820
5 5
6 6 [Peer]
7 7 # alfa site
8 8 PublicKey = /m4J1nIK4z2voC5qkk1krKV7Lwb4qJtt++XIhNGSskY=
9 - AllowedIPs = 0.0.0.0/0
9 + AllowedIPs = 10.13.13.0/31
10 10 Endpoint = 51.255.50.17:51820
11 11 PersistentKeepalive = 25

emanuelegori عدّل هذا المقطع 1 year ago. الانتقال إلى التعديل

لا توجد تغييرات

emanuelegori عدّل هذا المقطع 1 year ago. الانتقال إلى التعديل

1 file changed, 11 insertions

wg0.conf(تم إنشاء الملف)

@@ -0,0 +1,11 @@
1 + [Interface]
2 + PostUp = wg set %i private-key /etc/wireguard/%i.key
3 + Address = 10.13.13.2/31
4 + ListenPort = 51820
5 +
6 + [Peer]
7 + # alfa site
8 + PublicKey = /m4J1nIK4z2voC5qkk1krKV7Lwb4qJtt++XIhNGSskY=
9 + AllowedIPs = 0.0.0.0/0
10 + Endpoint = 51.255.50.17:51820
11 + PersistentKeepalive = 25
أحدث أقدم