diff options
Diffstat (limited to 'configs/boot/natbox-spec-surge.rcS')
-rw-r--r-- | configs/boot/natbox-spec-surge.rcS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/boot/natbox-spec-surge.rcS b/configs/boot/natbox-spec-surge.rcS index 0aac5d3b6..8b84b1a35 100644 --- a/configs/boot/natbox-spec-surge.rcS +++ b/configs/boot/natbox-spec-surge.rcS @@ -11,6 +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 @@ -48,6 +49,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..." |