mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 14:50:12 -04:00
feat(server): add wireguard gateway with LAN access for VPN clients
This commit is contained in:
parent
2bab2759e6
commit
f0b0371de6
2 changed files with 111 additions and 1 deletions
|
|
@ -19,6 +19,10 @@
|
|||
frigate.enable = true;
|
||||
immich.enable = true;
|
||||
webdav.enable = false;
|
||||
wireguard = {
|
||||
enable = true;
|
||||
peers = [ ];
|
||||
};
|
||||
# bitcoin = {
|
||||
# enable = true;
|
||||
# electrum.enable = true;
|
||||
|
|
@ -172,7 +176,7 @@
|
|||
cache-size = 1000;
|
||||
|
||||
# Camera network DHCP (isolated - no gateway = no internet)
|
||||
interface = "enp2s0f1";
|
||||
interface = [ "enp2s0f1" "wg0" ];
|
||||
bind-interfaces = true;
|
||||
dhcp-range = "192.168.1.100,192.168.1.200,24h";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue