mirror of
https://salsa.debian.org/raspi-team/image-specs
synced 2026-05-30 06:38:09 +02:00
document firewall rules (#6)
This commit is contained in:
14
README.md
14
README.md
@@ -63,3 +63,17 @@ ssh root@rpi3
|
|||||||
# Enter password “raspberry”
|
# 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`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user