![]() ![]() | ![]() |
Initial revision
#!/bin/sh # # elwix sysctl.conf # # $Id: sysctl.conf,v 1.1 2011/07/05 23:43:00 misho Exp $ sysctl -w net.inet.ip.forwarding=1 sysctl -w net.inet.ip.fastforwarding=1 #kern.ipc.maxsockbuf=16777216 #net.inet.tcp.recvbuf_max=16777216 #net.inet.tcp.sendbuf_max=16777216 #net.inet.tcp.sendspace=65536 #net.inet.tcp.recvspace=65536 #net.inet.udp.recvspace=65536 #net.inet.tcp.mssdflt=1452 #net.inet.tcp.hostcache.expire=1