最后活跃于 1740240943

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's Avatar emanuelegori 修订了这个 Gist 1740240943. 转到此修订

没有任何变更

emanuelegori's Avatar emanuelegori 修订了这个 Gist 1740240899. 转到此修订

没有任何变更

emanuelegori's Avatar emanuelegori 修订了这个 Gist 1737060699. 转到此修订

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's Avatar emanuelegori 修订了这个 Gist 1736804367. 转到此修订

没有任何变更

emanuelegori's Avatar emanuelegori 修订了这个 Gist 1736803839. 转到此修订

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
上一页 下一页