summaryrefslogtreecommitdiffstats
path: root/systems
diff options
context:
space:
mode:
Diffstat (limited to 'systems')
-rw-r--r--systems/zoppo/mbim-reconnect.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/systems/zoppo/mbim-reconnect.nix b/systems/zoppo/mbim-reconnect.nix
index 00145e9f..baa08868 100644
--- a/systems/zoppo/mbim-reconnect.nix
+++ b/systems/zoppo/mbim-reconnect.nix
@@ -157,13 +157,17 @@
echo "$(basename "$sys_device")" > "$sys_driver"/bind || :
'';
in {
- tv.iptables.extra6.filter.INPUT = [
- "-p ipv6-icmp --icmpv6-type router-advertisement -m hl --hl-eq 255 -j ACCEPT"
- "-p ipv6-icmp --icmpv6-type neighbour-solicitation -m hl --hl-eq 255 -j ACCEPT"
- "-p ipv6-icmp --icmpv6-type neighbour-advertisement -m hl --hl-eq 255 -j ACCEPT"
- "-p ipv6-icmp --icmpv6-type packet-too-big -j ACCEPT"
- # -p icmp -m icmp --icmp-type echo-request -j ACCEPT is done elsewhere
- ];
+ hrm.nftables.tables.filter.chains.input.rules = {
+ mbim-nd = {
+ order = 1500;
+ text = "icmpv6 type { nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert } ip6 hoplimit 255 accept";
+ };
+ mbim-packet-too-big = {
+ order = 1500;
+ icmpv6.type = [ "packet-too-big" ];
+ verdict = "accept";
+ };
+ };
users.users.root.packages = [
pkgs.libmbim
];
[cgit] Unable to lock slot /tmp/cgit/a6000000.lock: Permission denied (13)