l archprism.r: new hfos ip

This commit is contained in:
lassulus 2018-11-10 18:49:05 +01:00
parent 6416e26376
commit df660ff2fa
2 changed files with 12 additions and 12 deletions

View File

@ -36,10 +36,10 @@ with import <stockholm/lib>;
# TODO write function for proxy_pass (ssl/nonssl) # TODO write function for proxy_pass (ssl/nonssl)
krebs.iptables.tables.filter.FORWARD.rules = [ krebs.iptables.tables.filter.FORWARD.rules = [
{ v6 = false; precedence = 1000; predicate = "-d 192.168.122.92"; target = "ACCEPT"; } { v6 = false; precedence = 1000; predicate = "-d 192.168.122.179"; target = "ACCEPT"; }
]; ];
krebs.iptables.tables.nat.PREROUTING.rules = [ krebs.iptables.tables.nat.PREROUTING.rules = [
{ v6 = false; precedence = 1000; predicate = "-d 46.4.114.243"; target = "DNAT --to-destination 192.168.122.92"; } { v6 = false; precedence = 1000; predicate = "-d 46.4.114.243"; target = "DNAT --to-destination 192.168.122.179"; }
]; ];
} }
{ {

View File

@ -14,16 +14,16 @@
}; };
}; };
# TODO use this network config # TODO use this network config
#networking.interfaces.et0.ipv4.addresses = [ networking.interfaces.eth0.ipv4.addresses = [
# { {
# address = config.krebs.build.host.nets.internet.ip4.addr; address = config.krebs.build.host.nets.internet.ip4.addr;
# prefixLength = 27; prefixLength = 27;
# } }
# { {
# address = "46.4.114.243"; address = "46.4.114.243";
# prefixLength = 27; prefixLength = 27;
# } }
#]; ];
#networking.defaultGateway = "46.4.114.225"; #networking.defaultGateway = "46.4.114.225";
#networking.nameservers = [ #networking.nameservers = [
# "8.8.8.8" # "8.8.8.8"