diff --git a/SourceCode/arduino/lib/Firewall/Firewall.cpp b/SourceCode/arduino/lib/Firewall/Firewall.cpp index c756b31..c60622e 100644 --- a/SourceCode/arduino/lib/Firewall/Firewall.cpp +++ b/SourceCode/arduino/lib/Firewall/Firewall.cpp @@ -7,6 +7,8 @@ ESPFirewall::ESPFirewall(int port) log_i("Starting Firewall-API on %i", port); this->firewall_api = new WebServer(port); this->setup_routing(); + this->add_rule_to_firewall("192.168.0.1", "192.168.0.10", "TCP", "DROP"); + this->add_rule_to_firewall("192.168.0.2", "192.168.0.15", "UDP", "REJECT"); } void ESPFirewall::setup_routing()