systems:secure_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
systems:secure_server [2021/07/24 12:54] – [Lockdown usage of passwords] peter | systems:secure_server [2021/07/24 12:57] (current) – [Stop Pings] peter | ||
---|---|---|---|
Line 167: | Line 167: | ||
</ | </ | ||
+ | <WRAP info> | ||
**NOTE:** Make the following changes: | **NOTE:** Make the following changes: | ||
- | * Port - change | + | * Port: Change |
- | * AddressFamily inet - change to only allow ipv4. | + | * AddressFamily inet: Only allow ipv4. |
- | * PermitRootLogin | + | * PermitRootLogin: Change |
- | * PasswordAuthentication yes - change | + | * PasswordAuthentication yes: Change |
- | </code> | + | |
+ | </WRAP> | ||
---- | ---- | ||
Line 245: | Line 248: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: Press **y**. | + | **NOTE:** Press **y**. |
</ | </ | ||
Line 286: | Line 289: | ||
</ | </ | ||
- | Add a new line above this: | + | * Add a new line above this: <file bash / |
- | + | ||
- | <file bash / | + | |
->ok icmp codes for input | ->ok icmp codes for input | ||
</ | </ | ||
Line 295: | Line 296: | ||
ufw-before-input -p icmp --icmp-type echo-request -j DROP | ufw-before-input -p icmp --icmp-type echo-request -j DROP | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Reload UFW ==== | ||
<code bash> | <code bash> |
systems/secure_server.1627131253.txt.gz · Last modified: 2021/07/24 12:54 by peter