[GH-ISSUE #398] flag --blocked --direct not supported for subcommand sps #309

Closed
opened 2026-02-27 23:16:25 +03:00 by kerem · 4 comments
Owner

Originally created by @rocaltair on GitHub (Sep 11, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/398

/tmp/proxy --version
free_10.0

block and direct files are both supported for http socks

I wonder why they are not supported for sps?

it's a little inconvenient to use --redir mode on router.

Originally created by @rocaltair on GitHub (Sep 11, 2020). Original GitHub issue: https://github.com/snail007/goproxy/issues/398 <!--- Provide a general summary of the issue in the Title above --> ``` /tmp/proxy --version free_10.0 ``` `block` and `direct` files are both supported for `http` `socks` I wonder why they are not supported for `sps`? it's a little inconvenient to use `--redir` mode on router.
kerem closed this issue 2026-02-27 23:16:26 +03:00
Author
Owner

@snail007 commented on GitHub (Sep 11, 2020):

because of sps forward all traffic to upstream, no direct access.

<!-- gh-comment-id:690868288 --> @snail007 commented on GitHub (Sep 11, 2020): because of sps forward all traffic to upstream, no direct access.
Author
Owner

@rocaltair commented on GitHub (Sep 11, 2020):

I see...

so we need run two process on router to use transparent proxy locally, one for redirect, and the other for real proxy to communicate with proxy server on VPS.

I guess theres's much cost to run two processes in golang for low end routers.

thirst for this feature.

at last, I should say, goproxy is the most powerful proxy tool I've seen.

<!-- gh-comment-id:690883199 --> @rocaltair commented on GitHub (Sep 11, 2020): I see... so we need run two process on router to use transparent proxy locally, one for redirect, and the other for real proxy to communicate with proxy server on VPS. I guess theres's much cost to run two processes in golang for low end routers. thirst for this feature. at last, I should say, goproxy is the most powerful proxy tool I've seen.
Author
Owner

@snail007 commented on GitHub (Sep 11, 2020):

it's actually two processes need more memory than one, but if possible, you can run a goproxy as upstream on other PC forward traffic to vps, only sps on router.

<!-- gh-comment-id:690886906 --> @snail007 commented on GitHub (Sep 11, 2020): it's actually two processes need more memory than one, but if possible, you can run a goproxy as upstream on other PC forward traffic to vps, only sps on router.
Author
Owner

@rocaltair commented on GitHub (Sep 11, 2020):

got it, thx~

<!-- gh-comment-id:690895405 --> @rocaltair commented on GitHub (Sep 11, 2020): got it, thx~
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#309
No description provided.