User Tools

Site Tools


securite_kernel

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
securite_kernel [2022/01/14 16:38]
154.54.249.206 old revision restored (2021/01/21 21:42)
securite_kernel [2024/04/25 02:49] (current)
47.128.16.188 old revision restored (2024/03/31 18:56)
Line 3: Line 3:
 Options kernels à utiliser pour restreindre des comportements de routage, ICMP... inutiles à proposer. Options kernels à utiliser pour restreindre des comportements de routage, ICMP... inutiles à proposer.
  
 +Backuper le fichier original mais ne pas le modifier.
 <code> <code>
 cp -p sysctl.conf sysctl.conf.orig cp -p sysctl.conf sysctl.conf.orig
Line 10: Line 11:
  
 <code> <code>
-vi /etc/sysctl.conf+vi /etc/sysctl.d/custom.conf
 </code> </code>
  
Line 17: Line 18:
 net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1
 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_syncookies = 1
-net.ipv4.ip_forward = #Inclus la ligne suivante : net.ipv4.conf.docker0.forwarding = 0+net.ipv4.ip_forward = #Inclus la ligne suivante : net.ipv4.conf.docker0.forwarding = 1
 net.ipv6.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0
 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.all.accept_redirects = 0
securite_kernel.1642178284.txt.gz · Last modified: 2022/01/14 16:38 by 154.54.249.206 · Currently locked by: 192.168.64.3,47.128.39.19