Media Server Pt 3
This commit is contained in:
parent
66a3787ac1
commit
d1fd57a034
14
network/99-wg0.netdev
Normal file
14
network/99-wg0.netdev
Normal file
@ -0,0 +1,14 @@
|
||||
[NetDev]
|
||||
Name=wg0
|
||||
Kind=wireguard
|
||||
|
||||
[WireGuard]
|
||||
PrivateKey=<your private key>
|
||||
ListenPort=51820
|
||||
|
||||
[WireGuardPeer]
|
||||
PublicKey=t2x4A+F04hKfxIHMcY2RswaVyj3XHelTT8Q1FAwBIj4=
|
||||
AllowedIPs=0.0.0.0/0
|
||||
AllowedIPs=::/0
|
||||
Endpoint=199.229.250.53:51820
|
||||
RouteTable=download
|
15
network/99-wg0.network
Normal file
15
network/99-wg0.network
Normal file
@ -0,0 +1,15 @@
|
||||
[Match]
|
||||
Name=wg0
|
||||
|
||||
[Network]
|
||||
Address=<VPN IP address assigned to you>
|
||||
DNS=<DNS server given by your VPN provider>
|
||||
|
||||
[Route]
|
||||
Gateway=0.0.0.0
|
||||
Destination=0.0.0.0/0
|
||||
Table=download
|
||||
|
||||
[RoutingPolicyRule]
|
||||
Table=download
|
||||
User=10005-10006
|
2
network/networkd.conf
Normal file
2
network/networkd.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[Network]
|
||||
RouteTable=download:1000
|
Loading…
Reference in New Issue
Block a user