Commit f258de36 authored by Max Lv's avatar Max Lv

update ulimit -n

parent e71db216
......@@ -402,6 +402,7 @@ class ShadowsocksNatService extends Service with BaseService {
val init_sb = new ArrayBuffer[String]
val http_sb = new ArrayBuffer[String]
init_sb.append("ulimit -n 4096")
init_sb.append(Utils.getIptables + " -t nat -F OUTPUT")
val cmd_bypass = Utils.getIptables + CMD_IPTABLES_RETURN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment