Update NETWORKING.md

This commit is contained in:
mayfrost
2018-10-14 00:28:51 +00:00
committed by GitHub
parent 2993da8141
commit 0820707117

View File

@@ -33,7 +33,7 @@ You can save either example in a script to activate the Wi-Fi whenever you want.
## Next ## Next
### using ufw ### ufw
sudo ufw status sudo ufw status
sudo ufw enable sudo ufw enable
sudo ufw disable sudo ufw disable
@@ -114,6 +114,6 @@ PermitRootLogin without-password # change "without-password" to "no"
AllowUsers USER_NAME # by allowing a specific user it restricts the others AllowUsers USER_NAME # by allowing a specific user it restricts the others
* restart "ssh" service to activate changes * restart "ssh" service to activate changes
## /etc/network/interfaces
# use last 8 octets for hosts * use last 8 octets for hosts
255.255.255.0 255.255.255.0