mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #381] How and how can I forward specific domains to an upstream proxy? #291
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @elico on GitHub (Jul 14, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/381
I am pretty new to GoProxy and was wondering how would I be able to forward all intercepted traffic of *.youtube.com and *.ytimg.com to a specific upstream proxy which bumps/decrypts the connections?
I am currently running the proxy with the command:
/usr/bin/proxy http -t tcp -p ":18443"
on a Linux server and I am intercepting these connections using iptables:
iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 18443I want to bump/decrypt traffic only for specific domains while all the others will be passed directly.
The proxy I am using to decrypt the TLS traffic is:
https://github.com/andybalholm/redwood/
@snail007 commented on GitHub (Jul 15, 2020):
use function sps instead and use --hosts argument
@dorsegal commented on GitHub (Mar 28, 2024):
Can it be done the other way around? Can I specify domain names that will not go though the proxy?
i.e google.com should be fowled directly while YouTube.com will use proxy?
@snail007 commented on GitHub (Mar 29, 2024):
goproxy commercial edition API Auth feature can do it.