diff --git a/SETUP.md b/SETUP.md index b6d4e28..0a86b53 100644 --- a/SETUP.md +++ b/SETUP.md @@ -9,9 +9,10 @@ us us hostname: alpi -ip: 192.168.2.22/24 +ip: 192.168.2.2/24 gateway: router (192.168.2.254) netmask 255.255.255.0 +dns nameservers: 1.1.1.1 Europe/Amsterdam chrony @@ -22,7 +23,7 @@ github.com/YOURUSERNAME.keys openssh y -mmcblk0 +mmcblk0 / sda sys y reboot diff --git a/installation/podman.sh b/installation/podman.sh index bb2496c..f69847e 100644 --- a/installation/podman.sh +++ b/installation/podman.sh @@ -6,7 +6,7 @@ rc-update add cgroups rc-service cgroups start # Rootless mode -adduser -D podman +adduser -DH podman modprobe tun echo tun >> /etc/modules echo podman:100000:65536 > /etc/subuid diff --git a/services/firewall/rules.nft b/services/firewall/rules.nft index 0f6886e..15c498c 100644 --- a/services/firewall/rules.nft +++ b/services/firewall/rules.nft @@ -5,7 +5,7 @@ define wan = eth0 define vpn = wg0 define vpn_net = 10.0.0.0/24 define lan_net = 192.168.2.0/24 -define self = 192.168.2.22 +define self = 192.168.2.2 # delegated prefix is 2a02:a45e:ce93::/48 define lan_net6 = 2a02:a45e:ce93:0::/64 diff --git a/services/wireguard/install.sh b/services/wireguard/install.sh index 2e3c0a8..49cf516 100644 --- a/services/wireguard/install.sh +++ b/services/wireguard/install.sh @@ -12,7 +12,6 @@ cat < /etc/wireguard/wg0.conf PrivateKey = $(cat /etc/wireguard/server_priv.key) Address = 10.0.0.1/24 # Server has IP in the wg network ListenPort = 51820 -DNS = 192.168.2.22 # AdGuard DNS server IP EOF # Kernel module diff --git a/setup-alpine.answerfile b/setup-alpine.answerfile index 2b7c5eb..4463c4e 100644 --- a/setup-alpine.answerfile +++ b/setup-alpine.answerfile @@ -13,7 +13,7 @@ iface lo inet loopback auto eth0 iface eth0 inet static - address 192.168.2.22 + address 192.168.2.2 netmask 255.255.255.0 gateway 192.168.2.254 "