Hardware Reference
In-Depth Information
Discussion
The first iptables command says to drop all access from the outside world. The second
line then lists an exception, allowing any IP address beginning with 137.112 to have ac-
cess. The /16 says to let the last 16 bits of the IP have any value. If I wanted to limit ac-
cess to only those on my subnet, I could use 137.112.41.0/8 . Now, only the last 8 bits
can be anything.
You can remove an exception by using the following command:
bone# iptables -D INPUT -s 137.112.0.0/16 -j ACCEPT
Or just reboot. You have to rerun iptables every time you boot your Bone.
Search WWH ::




Custom Search