Media Server Pt 3

This commit is contained in:
Andreas S. Turriff 2024-06-13 02:06:36 -07:00
parent 66a3787ac1
commit d1fd57a034
3 changed files with 31 additions and 0 deletions

14
network/99-wg0.netdev Normal file
View 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
View 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
View File

@ -0,0 +1,2 @@
[Network]
RouteTable=download:1000