Skip to content

Commit

Permalink
microsocks: fix firewall settings
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Jan 6, 2023
1 parent c13c06a commit 7e6f8d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/microsocks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=microsocks
PKG_VERSION:=1.0.3
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/rofl0r/microsocks/tar.gz/v$(PKG_VERSION)?
Expand Down
2 changes: 1 addition & 1 deletion net/microsocks/files/microsocks.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
config microsocks 'config'
option enabled '0'
option bindaddr ''
option listenip '127.0.0.1'
option listenip '::'
option port '1080'
option user ''
option password ''
Expand Down
1 change: 0 additions & 1 deletion net/microsocks/files/microsocks.init
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ start_service() {
json_add_string type rule
json_add_string name "Allow-access-microsocks-at-$_port"
json_add_string src "*"
[ -z "$_bindaddr" ] || json_add_string dest_ip "$_bindaddr"
json_add_string dest_port "$_port"
json_add_string proto tcp
json_add_string target ACCEPT
Expand Down

0 comments on commit 7e6f8d7

Please sign in to comment.