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 [2024/04/28 06:44]
3.131.110.169 old revision restored (2021/11/12 04:07)
securite_kernel [2024/05/27 02:48] (current)
47.128.35.0 old revision restored (2024/04/05 19:06)
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.1714286672.txt.gz · Last modified: 2024/04/28 06:44 by 3.131.110.169 · Currently locked by: 192.168.64.3,18.219.244.12