diff options
Diffstat (limited to 'configs/boot/natbox-netperf.rcS')
-rw-r--r-- | configs/boot/natbox-netperf.rcS | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/boot/natbox-netperf.rcS b/configs/boot/natbox-netperf.rcS index 5ec08c1a2..32a7371a0 100644 --- a/configs/boot/natbox-netperf.rcS +++ b/configs/boot/natbox-netperf.rcS @@ -11,7 +11,7 @@ ifconfig eth1 $INTIF txqueuelen 1000 echo "0" > /proc/sys/net/ipv4/tcp_timestamps echo "0" > /proc/sys/net/ipv4/tcp_sack echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid - +echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem @@ -21,7 +21,6 @@ echo "262143" > /proc/sys/net/core/rmem_default echo "262143" > /proc/sys/net/core/wmem_default echo "262143" > /proc/sys/net/core/optmem_max echo "100000" > /proc/sys/net/core/netdev_max_backlog - echo "1" > /proc/sys/net/ipv4/ip_forward echo "waiting for netserver..." @@ -47,6 +46,7 @@ $IPTABLES -A FORWARD -j LOG $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE echo "informing client..." +sleep 5 echo "server ready" | /usr/bin/netcat -c $CLIENT 8000 echo "starting bash..." |