Advertisement
Guest User

Untitled

a guest
Feb 7th, 2015
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. root@gw:/etc/network# cat /etc/sysctl.conf
  2. net.ipv4.conf.default.rp_filter=1
  3. net.ipv4.conf.all.rp_filter=1
  4. #net.ipv4.tcp_syncookies=1
  5. net.ipv4.ip_forward=1
  6. net.ipv4.conf.all.accept_redirects = 0
  7. net.ipv4.conf.all.send_redirects = 0
  8. net.ipv4.conf.all.accept_source_route = 0
  9.  
  10.  
  11. #IPV6
  12. net.ipv6.conf.all.forwarding=1
  13. net.ipv6.conf.all.accept_ra = 0
  14. net.ipv6.conf.all.accept_redirects = 0
  15. net.ipv6.conf.all.accept_ra_defrtr = 0
  16. net.ipv6.conf.all.accept_ra_pinfo = 0
  17. net.ipv6.conf.all.accept_ra_rtr_pref = 0
  18. net.ipv6.conf.all.accept_ra_rt_info_max_plen = 0
  19. net.ipv6.conf.all.accept_source_route = 0
  20. net.ipv6.conf.all.accept_dad = 0
  21. net.ipv6.conf.default.accept_ra = 0
  22. net.ipv6.conf.default.accept_redirects = 0
  23. net.ipv6.conf.default.accept_ra_defrtr = 0
  24. net.ipv6.conf.default.accept_ra_pinfo = 0
  25. net.ipv6.conf.default.accept_ra_rtr_pref = 0
  26. net.ipv6.conf.default.accept_ra_rt_info_max_plen = 0
  27. net.ipv6.conf.default.accept_source_route = 0
  28. net.ipv6.conf.default.accept_dad = 0
  29. net.ipv6.conf.lo.accept_ra = 0
  30. net.ipv6.conf.lo.accept_redirects = 0
  31. net.ipv6.conf.lo.accept_ra_defrtr = 0
  32. net.ipv6.conf.lo.accept_ra_pinfo = 0
  33. net.ipv6.conf.lo.accept_ra_rtr_pref = 0
  34. net.ipv6.conf.lo.accept_ra_rt_info_max_plen = 0
  35. net.ipv6.conf.lo.accept_source_route = 0
  36. net.ipv6.conf.lo.accept_dad = -0
  37. net.ipv6.conf.eth0.accept_ra = 0
  38. net.ipv6.conf.eth0.accept_redirects = 0
  39. net.ipv6.conf.eth0.accept_ra_defrtr = 0
  40. net.ipv6.conf.eth0.accept_ra_pinfo = 0
  41. net.ipv6.conf.eth0.accept_ra_rtr_pref = 0
  42. net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0
  43. net.ipv6.conf.eth0.accept_source_route = 0
  44. net.ipv6.conf.eth0.accept_dad = 0
  45. net.ipv6.conf.all.autoconf = 0
  46. net.ipv6.conf.default.autoconf = 0
  47. net.ipv6.conf.lo.autoconf = 0
  48. net.ipv6.conf.eth0.autoconf = 0
  49.  
  50. root@gw:/etc/network#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement