example firewall data
This commit is contained in:
parent
2cc20a1d62
commit
bbea1428e5
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue