From d4e9a4f098749bc6d68ee3d4f162c4e450447687 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Wed, 30 Aug 2017 10:56:04 +0800 Subject: [PATCH] shadowsocks-libev: more common default config Signed-off-by: Yousong Zhou --- net/shadowsocks-libev/Makefile | 2 +- net/shadowsocks-libev/files/shadowsocks-libev.config | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile index a34d1d312..bdf58948e 100644 --- a/net/shadowsocks-libev/Makefile +++ b/net/shadowsocks-libev/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk # PKG_NAME:=shadowsocks-libev PKG_VERSION:=3.0.8 -PKG_RELEASE:=13 +PKG_RELEASE:=14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION) diff --git a/net/shadowsocks-libev/files/shadowsocks-libev.config b/net/shadowsocks-libev/files/shadowsocks-libev.config index 9b3fe0852..93768e971 100644 --- a/net/shadowsocks-libev/files/shadowsocks-libev.config +++ b/net/shadowsocks-libev/files/shadowsocks-libev.config @@ -40,7 +40,8 @@ config ss_rules 'ss_rules' option disabled 1 option redir_tcp 'hi' option redir_udp 'hi' - option src_default 'bypass' + option src_default 'checkdst' + option dst_default 'bypass' option local_default 'checkdst' list src_ips_forward '192.168.1.4' list dst_ips_forward '8.8.8.8'