diff options
| author | a3nm <a3nm@a3nm.net> | 2017-12-11 08:44:34 +0100 |
|---|---|---|
| committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2017-12-11 08:44:34 +0100 |
| commit | 28566d7f29046e6cc958121aab0ffec9572bf1cb (patch) | |
| tree | 623e3e5712afcb04b3d9343faca91d491a93c62d /README.md | |
| parent | 82d6b7ea2812c09cc68e0916301fb25d19aaf9f0 (diff) | |
document firewall rules (#6)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -63,3 +63,17 @@ ssh root@rpi3 # Enter password “raspberry” ``` +Note that the default firewall rules only allow SSH access from the local +network. If you wish to enable SSH access globally, first change your root +password using `passwd`. Next, issue the following commands as root to remove +the corresponding firewall rules: + +```shell +iptables -F INPUT +ip6tables -F INPUT +``` + +This will allow SSH connections globally until the next reboot. To make this +persistent, remove the lines containing "REJECT" in `/etc/iptables/rules.v4` and +`/etc/iptables/rules.v6`. + |
