Controls the Ethernet Firewall
net.firewall( [enable] )
net.firewall( n )
Parameter | Type | Description |
---|---|---|
enable |
boolean | Enable or disable |
n |
integer | Bit field of values. Add up the values below to control |
n value |
Description |
---|---|
1 | SYN |
2 | ICMP |
4 | UDP (except DNS response) |
8 | DNS response (do not use this normally!) |
e.g. net.firewall(2)
-- prevents PING
Pressing the front button for less that 10s will remove the Ethernet firewall