I've thought that it's kinda helpful to share with others interesting parts of your kernel's configs. Especially with comments!
Let's start with me
PS. May be create thread with some useful sysctl's with comments?
Let's start with me
Code:
#Yeah, project evil, but it works with my WiFi
options NDISAPI
device ndis
#IPFW
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
#By default it's deny so i prefer to add this to kernel in case i forgot to add rule in config to be able to connect after restart.
options IPFIREWALL_DEFAULT_TO_ACCEPT
#Forwarding, divert and shaping. Useful for gateways
options IPFIREWALL_FORWARD
options IPDIVERT
options DUMMYNET
#This is allows me to use big resolution in console
#line
# allscreens_flags="-g 132x60 MODE_279"
#in /etc/rc.conf
options VESA
options SC_PIXEL_MODE
#Disables Ctrl+Alt+Del reboot
options SC_DISABLE_REBOOT
#changes default console colors
options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_KERNEL_CONS_ATTR=(FG_YELLOW|BG_BLACK)
#Allows veeeeery long scroll on console
options SC_HISTORY_SIZE=8192
#This is for FAST_IPSEC
device crypto
device cryptodev
options IPSEC
#Various pseudo interfaces very usefull for servers
device vlan
device tap #Virtual Ethernet driver
device gre #IP over IP tunneling
device if_bridge #Bridge interface
device carp #Common Address Redundancy Protocol
device enc #IPsec interface
device lagg #Link aggregation interface
#Yes, Use two firewalls. i.ve just love pf's NAT
device pf #PF OpenBSD packet-filter firewall
device pflog #logging support interface for PF
#Synchronization between redundant firewalls with carp
device pfsync #synchronization interface for PF
#ALTQ for pf
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
#Good for http servers. See tuning(7) to know how to use it.
options ACCEPT_FILTER_DATA
options ACCEPT_FILTER_HTTP
#NetGraph for VPN server/client
options NETGRAPH
options NETGRAPH_BPF
options NETGRAPH_IFACE
options NETGRAPH_KSOCKET
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_SOCKET
options NETGRAPH_TCPMSS
#This is for polling(4)
options HZ=1000
options DEVICE_POLLING
PS. May be create thread with some useful sysctl's with comments?