From a01776a85c73430511e4288e05c29c43642c9ed8 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 1 Nov 2014 08:10:34 -0700 Subject: [PATCH] Updated Configure Shadowsocks with Supervisor (markdown) --- Configure-Shadowsocks-with-Supervisor.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Configure-Shadowsocks-with-Supervisor.md b/Configure-Shadowsocks-with-Supervisor.md index feace24..cd169c7 100644 --- a/Configure-Shadowsocks-with-Supervisor.md +++ b/Configure-Shadowsocks-with-Supervisor.md @@ -74,4 +74,8 @@ sudo chkconfig --add supervisord sudo chkconfig supervisord on service supervisor start supervisorctl reload -``` \ No newline at end of file +``` + +Edit `/etc/sysconfig/iptables`, add + + -A INPUT -m state --state NEW -m tcp -p tcp --dport your_server_port -j ACCEPT \ No newline at end of file