mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-28 02:11:46 +00:00
Update NETWORKING.md
This commit is contained in:
parent
2993da8141
commit
0820707117
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user