added more instructions
This commit is contained in:
parent
b7459cfee3
commit
6517baed2c
17
README.md
17
README.md
@ -379,6 +379,23 @@ $ /etc/init.d/firewall restart
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Enable user iptable script:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$ vi vi /etc/firewall.user
|
||||||
|
|
||||||
|
|
||||||
|
iptables -t nat -A prerouting_wan -p tcp --dport 22 -j ACCEPT
|
||||||
|
iptables -A input_wan -p tcp --dport 22 -j ACCEPT
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$ /etc/init.d/firewall restart
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
#### Configure open ssh service
|
#### Configure open ssh service
|
||||||
|
|
||||||
Add the line below in your dropbear config
|
Add the line below in your dropbear config
|
||||||
|
Loading…
Reference in New Issue
Block a user