Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. root@helio : ~
  2. [0] # cat /etc/rc.conf
  3. clear_tmp_enable="YES"
  4. # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
  5. dumpdev="NO"
  6. zfs_enable="YES"
  7.  
  8. ###############################################################################
  9. # Networking
  10. hostname="helio.home."
  11. ipv6_activate_all_interfaces="NO"
  12. ifconfig_igb0="SYNCDHCP"
  13. ifconfig_igb1="inet 172.18.19.254 netmask 255.255.255.0"
  14. # Jail ip addresses
  15. ifconfig_igb1_alias0="inet 172.18.19.253 netmask 255.255.255.255" # unifijail
  16. ifconfig_igb1_alias1="inet 172.18.19.252 netmask 255.255.255.255" # ircjail
  17. ifconfig_igb1_alias2="inet 172.18.19.251 netmask 255.255.255.255" # downloadjail
  18. ifconfig_igb1_alias3="inet 172.18.19.250 netmask 255.255.255.255" # nethack
  19. gateway_enable="YES"
  20. ipv6_gateway_enable="NO"
  21.  
  22. ###############################################################################
  23. # Services
  24. microcode_update_enable="YES"
  25. syslogd_flags="-ss"
  26. sendmail_enable="NONE"
  27. powerd_enable="YES"
  28. powerd_flags="-a hiadaptive"
  29. ntpd_enable="YES"
  30. ntpd_sync_on_start="YES"
  31. sshd_enable="YES"
  32. sshd_flags="-4"
  33. smartd_enable="YES"
  34. ezjail_enable="YES"
  35. named_enable="YES"
  36. named_flags="-4"
  37. netatalk_enable="YES"
  38. samba_server_enable="YES"
  39. dhcpd_enable="YES" # dhcpd enabled?
  40. dhcpd_flags="-q" # command option(s)
  41. dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file
  42. dhcpd_ifaces="igb1" # ethernet interface(s)
  43. dhcpd_withumask="022" # file creation mask
  44. dhcpd_chuser_enable="YES" # runs w/o privileges?
  45. dhcpd_withuser="dhcpd" # user name to run as
  46. dhcpd_withgroup="dhcpd" # group name to run as
  47. dhcpd_chroot_enable="YES" # runs chrooted?
  48. dhcpd_devfs_enable="YES" # use devfs if available?
  49. dhcpd_rootdir="/var/db/dhcpd" # directory to run in
  50. strongswan_enable="YES"
  51. mdnsresponderposix_enable="YES"
  52. mdnsresponderposix_flags="-f /usr/local/etc/mdnsresponderposix.conf"
  53.  
  54. ###############################################################################
  55. # PacketFilter and security related related settings
  56. pf_enable="YES"
  57. pf_rules="/etc/pf.conf"
  58. pflog_enable="NO"
  59. pflog_logfile="/var/log/pflog"
  60.  
  61.  
  62. root@helio : ~
  63. [0] #
  64.  
  65. root@helio : ~
  66. [0] # cat /etc/sysctl.conf
  67. # $FreeBSD: releng/12.0/sbin/sysctl/sysctl.conf 337624 2018-08-11 13:28:03Z brd $
  68. #
  69. # This file is read when going to multi-user and its contents piped thru
  70. # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
  71. #
  72.  
  73. # Uncomment this to prevent users from seeing information about processes that
  74. # are being run under another UID.
  75. #security.bsd.see_other_uids=0
  76. security.bsd.see_other_uids=0
  77. security.bsd.see_other_gids=0
  78. security.bsd.unprivileged_read_msgbuf=0
  79. security.bsd.unprivileged_proc_debug=0
  80. kern.randompid=THIS I WILL KEEP PRIVATE ;-)
  81. security.bsd.stack_guard_page=1
  82. # ZFS
  83. vfs.zfs.min_auto_ashift="12" # 4K blocks
  84. vfs.zfs.scrub_delay=0
  85. vfs.zfs.top_maxinflight=128
  86. vfs.zfs.resilver_min_time_ms=5000
  87. vfs.zfs.resilver_delay=0
  88. #
  89. #net.inet.tcp.cc.algorithm=htcp
  90. #net.inet.tcp.cc.htcp.adaptive_backoff=1
  91. #net.inet.tcp.cc.htcp.rtt_scaling=1
  92. net.inet.tcp.abc_l_var=44
  93. kern.random.fortuna.minpoolsize=256
  94. net.inet.icmp.drop_redirect=1
  95. net.inet.ip.check_interface=1
  96. net.inet.ip.portrange.first=2500
  97. net.inet.ip.portrange.randomcps=999
  98. net.inet.ip.portrange.randomtime=1
  99. net.inet.ip.random_id=1
  100. net.inet.ip.redirect=0
  101. net.inet.sctp.blackhole=2
  102. net.inet.tcp.blackhole=2
  103. net.inet.udp.blackhole=1
  104. net.inet.tcp.drop_synfin=1
  105. net.inet.tcp.path_mtu_discovery=0
  106.  
  107. root@helio : ~
  108. [0] #
  109.  
  110. root@helio : ~
  111. [0] # cat /boot/loader.conf
  112. kern.geom.label.disk_ident.enable="0"
  113. kern.geom.label.gptid.enable="0"
  114. vfs.zfs.min_auto_ashift=12
  115. zfs_load="YES"
  116. vfs.zfs.arc_max="10737418240"
  117. autoboot_delay="1"
  118. #
  119. hw.igb.num_queues=4
  120. hw.igb.rxd="2048"
  121. hw.igb.txd="2048"
  122. pf_load="YES"
  123. #cc_htcp_load="YES"
  124.  
  125. root@helio : ~
  126. [0] #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement