Bootstrap ppp config
This commit is contained in:
parent
d8e929181f
commit
a7087402f0
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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. It‘s perfectly fine and recommended to leave
|
||||
|
Loading…
Reference in New Issue
Block a user