1
0
Fork 0

remote setup

This commit is contained in:
Sebastien Bourdeauducq 2022-12-10 19:17:22 +08:00
parent f518eb1470
commit dbc9f4c68d
2 changed files with 5 additions and 3 deletions

View File

@ -106,6 +106,7 @@ in
# Static IPv4s to make port redirections work
dhcp-host=chiron,192.168.1.201
dhcp-host=old-nixbld,192.168.1.202
# Google can't do DNS geolocation correctly and slows down websites of everyone using
# their shitty font cloud hosting. In HK, you sometimes get IPs behind the GFW that you
@ -119,6 +120,7 @@ in
internalInterfaces = [ netifLan netifWifi ];
forwardPorts = [
{ sourcePort = 2201; destination = "192.168.1.201:22"; proto = "tcp"; }
{ sourcePort = 2202; destination = "192.168.1.202:22"; proto = "tcp"; }
];
extraCommands = ''
iptables -w -N block-lan-from-wifi

View File

@ -1,7 +1,7 @@
$TTL 7200
@ SOA 42-200-147-171.static.imsbiz.com. sb.m-labs.hk. (
2022120602
2022121001
7200
3600
86400
@ -42,7 +42,7 @@ rpi-2 AAAA 2001:470:f821:1:ba27:ebff:fef0:e9e6
rpi-3 AAAA 2001:470:f821:1:dea6:32ff:fe14:fd67
rpi-4 AAAA 2001:470:f821:1:dea6:32ff:fe14:fce9
rpi-ext AAAA 2001:470:f821:1:dea6:32ff:fe95:2fcf
zeus AAAA 2001:470:f821:1:9a72:a418:5466:0b9a
hera AAAA 2001:470:f821:1:8406:1390:2110:5825
chiron AAAA 2001:470:f891:1:7f02:9ebf:bee9:3dc7
old-nixbld AAAA 2001:470:f891:1:a07b:f49a:a4ef:aad9
aux A 94.190.212.123