1
0

Bootstrap ppp config

This commit is contained in:
clerie 2022-07-13 22:52:50 +02:00
parent d8e929181f
commit a7087402f0
3 changed files with 54 additions and 0 deletions

View File

@ -5,4 +5,30 @@
id = 101;
interface = "ens18";
};
networking.vlans."net-uplink-a.7" = {
id = 7;
interface = "net-uplink-a";
};
services.pppd = {
peers.uplink-a = {
config = ''
plugin rp-pppoe.so net-uplink-a.7
user "002742928961551138009163#0001@t-online.de"
ifname ppp-uplink-a
persist
maxfail 0
holdoff 5
noipdefault
lcp-echo-interval 20
lcp-echo-failure 3
mtu 1492
hide-password
defaultroute
+ipv6
debug
'';
};
};
}

View File

@ -5,4 +5,30 @@
id = 102;
interface = "ens18";
};
networking.vlans."net-uplink-b.7" = {
id = 7;
interface = "net-uplink-b";
};
services.pppd = {
peers.uplink-b = {
config = ''
plugin rp-pppoe.so net-uplink-b.7
user "002269158219551138009162#0001@t-online.de"
ifname ppp-uplink-b
persist
maxfail 0
holdoff 5
noipdefault
lcp-echo-interval 20
lcp-echo-failure 3
mtu 1492
hide-password
defaultroute
+ipv6
debug
'';
};
};
}

View File

@ -75,6 +75,8 @@
clerie.forward-filter.enable = true;
services.pppd.enable = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave