Open Firewall for bgp and ospf
This commit is contained in:
parent
aff98955f3
commit
fe6791d424
@ -45,6 +45,12 @@
|
||||
#ip -6 rule add from fd56:4902:eca0::/48 to all unreachable prio 20000
|
||||
#'';
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
179
|
||||
];
|
||||
networking.firewall.extraCommands = "ip6tables -A INPUT -p ospfigp -j ACCEPT";
|
||||
networking.firewall.extraCommands = "iptables -A INPUT -p ospfigp -j ACCEPT";
|
||||
|
||||
services.bird2.enable = true;
|
||||
services.bird2.config = ''
|
||||
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
||||
|
Loading…
Reference in New Issue
Block a user