1: #!/bin/sh
2: #
3: # elwix sysctl.conf
4: #
5: # $Id: sysctl.conf,v 1.2 2011/10/18 09:02:07 misho Exp $
6:
7: sysctl -w net.inet.ip.forwarding=1
8: sysctl -w net.inet.ip.fastforwarding=1
9: sysctl -w kern.maxfilesperproc=4096
10:
11: #kern.ipc.maxsockbuf=16777216
12: #net.inet.tcp.recvbuf_max=16777216
13: #net.inet.tcp.sendbuf_max=16777216
14: #net.inet.tcp.sendspace=65536
15: #net.inet.tcp.recvspace=65536
16: #net.inet.udp.recvspace=65536
17:
18: #net.inet.tcp.mssdflt=1452
19: #net.inet.tcp.hostcache.expire=1
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>