View Single Post
  #9   (View Single Post)  
Old 17th October 2011
wlm2 wlm2 is offline
Port Guard
 
Join Date: Jun 2011
Posts: 32
Default

# vi /etc/sysctl.conf
Code:
#       $OpenBSD: sysctl.conf,v 1.49 2011/02/16 10:37:45 mikeb Exp $
#
# This file contains a list of sysctl options the user wants set at
# boot time.  See sysctl(3) and sysctl(8) for more information on
# the many available variables.

net.inet.ip.forwarding=1         1=Permit forwarding (routing) of IPv4 packets
#net.inet.ip.mforwarding=1      # 1=Permit forwarding (routing) of IPv4 multicas
t packets
#net.inet.ip.multipath=1        # 1=Enable IP multipath routing
#net.inet.icmp.rediraccept=1    # 1=Accept ICMP redirects
#net.inet6.icmp6.rediraccept=0  # 0=Don't accept IPv6 ICMP redirects
#net.inet6.ip6.forwarding=1     # 1=Permit forwarding (routing) of IPv6 packets
#net.inet6.ip6.mforwarding=1    # 1=Permit forwarding (routing) of IPv6 multicas
t packets
#net.inet6.ip6.multipath=1      # 1=Enable IPv6 multipath routing
#net.inet6.ip6.accept_rtadv=1   # 1=Permit IPv6 autoconf (forwarding must be 0)
#net.inet.tcp.rfc1323=0         # 0=Disable TCP RFC1323 extensions (for if tcp i
s slow)
#net.inet.tcp.rfc3390=0         # 0=Disable RFC3390 for TCP window increasing
#net.inet.esp.enable=0          # 0=Disable the ESP IPsec protocol
#net.inet.ah.enable=0           # 0=Disable the AH IPsec protocol
#net.inet.esp.udpencap=0        # 0=Disable ESP-in-UDP encapsulation
/etc/sysctl.conf: unmodified: line 1



# vi /etc/rc.conf
#!/bin/sh -
#
#       $OpenBSD: rc.conf,v 1.141 2011/02/12 11:21:01 ajacoutot Exp $

# set these to "NO" to turn them off.  otherwise, they're used as flags
ldpd_flags=NO           # for normal use: ""
ripd_flags=NO           # for normal use: ""
mrouted_flags=NO        # for normal use: "", if activated
                        # be sure to enable multicast_router below.
dvmrpd_flags=NO         # for normal use: ""
ospfd_flags=NO          # for normal use: ""
ospf6d_flags=NO         # for normal use: ""
bgpd_flags=NO           # for normal use: ""
rarpd_flags=NO          # for normal use: "-a"
bootparamd_flags=NO     # for normal use: ""
rbootd_flags=NO         # for normal use: ""
sshd_flags=""           # for normal use: ""
named_flags=NO          # for normal use: ""
nsd_flags=NO            # for normal use: ""
rdate_flags=NO          # for normal use: [RFC868-host] or [-n RFC2030-host]
timed_flags=NO          # for normal use: ""
ldattach_flags=NO       # for normal use: "[options] linedisc cua-device"
ntpd_flags=NO           # for normal use: ""
/etc/rc.conf: unmodified: line 1

Last edited by J65nko; 17th October 2011 at 05:00 PM. Reason: code tags
Reply With Quote