Comments (2)
你可以增加一个节点,通过bypass将需要重定向的流量分流到此节点上,由节点来处理。
from gost.
再次请教下,对于非法请求没有进入到指定服务里。也就是配置里的 127.0.0.1:7001。
127.0.0.1:7001 这个服务是一个web服务,用于接收用户的非法请求并进行重定向。
当浏览器使用代理 :8080 端口时,访问非法域名也就是 *.taobai.com 会被直接阻断,也没有请求进入到 127.0.0.1:7001这个服务里,访问正常的域名浏览器报错 “此站点的连接不安全”
我使用的配置
services:
- name: service-0
addr: ":8080"
handler:
type: http
chain: chain-0
listener:
type: tcp
chains:
- name: chain-0
hops:
- name: hop-0
nodes:
- name: node-0
addr: :8002
connector:
type: http
dialer:
type: tcp
- name: node-1
addr: 127.0.0.1:7001
bypass: bypass-0
connector:
type: tcp
dialer:
type: tcp
bypasses:
- name: bypass-0
matchers:
- "*.taobao.com"
from gost.
Related Issues (20)
- iOS 上的小火箭(shadowrocket)该如何设置 wss(websocket)? HOT 6
- To support mieru protocol
- tun over icmp6 not work(在组合使用tun与icmp6时候出现了麻烦) HOT 2
- sshd:// 客户端的时候能支持读取ssh-agent的 SSH_AUTH_SOCK 认证吗?
- 使用quic通道做http转发不成功
- [Help/Question] About routing traffic from iptables to gost HOT 4
- socks5 UDP ASSOCIATE 能支持fullclone环境吗?现在很多云服务都是使用内网ip的。 HOT 1
- 关于由客户端动态注册host做反向代理隧道如何实现? HOT 2
- 私有隧道无法转发UDP流量 HOT 2
- gost v3版本有没有请求控制, HOT 1
- 在同一个虚拟子接口同时监听 IPv4/IPv6 进行端口转发的一些疑问。
- reverse proxy 中怎样预设原始Host 头。 HOT 5
- Releases中linux_arm64版本从v3.0.0-nightly.20240806开始,默认证书是否有变化?报错x509
- Linux上的串口转发路径问题 HOT 1
- 软路由 iStore docker 运行报错 HOT 1
- "http: TLS handshake error from XXXXXXXX:PPPP: tls: client didn't provide a certificat"
- 请问windows7可以使用吗? HOT 2
- V3 bypass CIDR规则不支持端口匹配 可以怎麼做? HOT 3
- [Feature Request] Tunnel entrypoint 增加端口复用 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gost.