fix: properly set up the routes

This commit is contained in:
silver 2023-09-16 00:30:45 +01:00
parent ef6096e6e0
commit 9f42b60940

View file

@ -15,7 +15,7 @@ let
name = "skynet"; name = "skynet";
# DMZ that ITD provided # DMZ that ITD provided
ip_pub = "193.1.96.165"; ip_pub = "193.1.96.165";
ip_int = "193.1.99.79"; ip_int = "193.1.99.81";
hostname = "${name}.skynet.ie"; hostname = "${name}.skynet.ie";
in { in {
@ -58,7 +58,8 @@ in {
]; ];
routes = [ routes = [
{ {
address = "193.1.99.64"; # need to be able to get to the dns server
address = "193.1.99.120";
prefixLength = 26; prefixLength = 26;
via = "193.1.99.65"; via = "193.1.99.65";
} }