User Tools

Site Tools


systems:secure_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
systems:secure_server [2021/07/24 12:54] – [Lockdown usage of passwords] petersystems:secure_server [2021/07/24 12:57] (current) – [Stop Pings] peter
Line 167: Line 167:
 </code> </code>
  
 +<WRAP info>
 **NOTE:** Make the following changes: **NOTE:** Make the following changes:
  
-  * Port - change from 22 to 717 +  * Port:  Change from 22 to 717 
-  * AddressFamily inet - change to only allow ipv4. +  * AddressFamily inet:  Only allow ipv4. 
-  * PermitRootLogin - change to no +  * PermitRootLogin:  Change to **no**. 
-  * PasswordAuthentication yes - change to no +  * PasswordAuthentication yes:  Change to **no**. 
-</code>+ 
 +</WRAP> 
  
 ---- ----
Line 245: Line 248:
  
 <WRAP info> <WRAP info>
-**NOTE: Press **y**.+**NOTE:** Press **y**.
 </WRAP> </WRAP>
  
Line 286: Line 289:
 </code> </code>
  
-Add a new line above this: +  * Add a new line above this: <file bash /etc/ufw/before.rules>
- +
-<file bash /etc/ufw/before.rules>+
 ->ok icmp codes for input ->ok icmp codes for input
 </file> </file>
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
 </code> </code>
 +
 +----
 +
 +==== Reload UFW ====
  
 <code bash> <code bash>
systems/secure_server.1627131253.txt.gz · Last modified: 2021/07/24 12:54 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki