[no ci] fix: ssh comes at teh cost of the http access
This commit is contained in:
parent
c5c0df3f5e
commit
4938aee412
1 changed files with 18 additions and 7 deletions
|
@ -60,15 +60,26 @@ in {
|
||||||
networking = {
|
networking = {
|
||||||
hostName = name;
|
hostName = name;
|
||||||
# needed to use the dmz first
|
# needed to use the dmz first
|
||||||
defaultGateway = lib.mkForce "193.1.96.161";
|
# defaultGateway = lib.mkForce "193.1.96.161";
|
||||||
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
eth0.ipv4.addresses = [
|
eth0.ipv4 = {
|
||||||
|
addresses = [
|
||||||
{
|
{
|
||||||
address = ip_priv;
|
address = ip_priv;
|
||||||
prefixLength = 26;
|
prefixLength = 26;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
# routes = [
|
||||||
|
# {
|
||||||
|
# address = "193.1.99.64";
|
||||||
|
# prefixLength = 26;
|
||||||
|
# via = "193.1.99.65";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# primary ip for logging in
|
# primary ip for logging in
|
||||||
eth1.ipv4.addresses = [
|
eth1.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue