Closed ocixe closed 3 months ago
Have you ever looked at 'tunnel' ? https://wiki.metacubex.one/en/config/tunnels/ Sounds like work for u?
Have you ever looked at 'tunnel' ? https://wiki.metacubex.one/en/config/tunnels/ Sounds like work for u?
It seems just make a forwarding with proxy to new localhost port.
From facebook group discussion I discovered this.
server:
- &address1 myserver.com
- &address2 1.2.3.4
ws: &ws
port: 443
type: trojan
password: premium
network: ws
skip-cert-verify: true
udp: true
sni: nasa.gov
ws-opts:
path: /trojan
headers:
Host: nasa.gov
proxies:
#formatws
- name: *address1
server: *address1
<<: *ws
- name: *address2
server: *address2
<<: *ws
Maybe this is what I want, I need read more from this doc https://wiki.metacubex.one/en/config/syntax/#references
That file will provide one proxy group, I need help for working like this.
Proxy Groups [ GATEWAY ] : [ 1.1.1.1 ] [ 2.2.2.2 ] [ 3.3.3.3 ] Proxy Groups [ PROXY ] : [ myserver-a.com ] [ myserver-b.com ] [ myserver-c.com ]
When select [ 2.2.2.2 ] in [ GATEWAY ], all connection in the [ PROXY ] ( I mean overide server
) should use from gateway.
I was wondering also there support for override server
port
etc, seems key is hardcoded, why not if in the current proxy provider has key match in override section then override it, else ignore, would be great if can set like that.
Thankyou.
override: # 覆写节点加载时的一些配置项
skip-cert-verify: true
udp: true
@lexavey Not supported
Replacing non-generic items such as server is inappropriate behavior.
@lexavey If you need to change the IP for specific servers, please use the hosts.
Verify steps
Description
I live in some planet which depends on cloudflare IP, they only give me access to specific IP, the IP is not persistent, always change some time.
As example today is ip 1.2.3.4 next 30 day is 2.3.4.5 or 5.6.7.8
In order to use vmess or trojan I must change IP by edit proxy provider file.
Not only me but 10k+ people in my planet maybe have same problem.
I'm already use proxy type http, unfortunatelly only available CONNECT method by default.
What I want to request is create a new proxy type
redirect
, the main function is replace server and port, or maybe sni.something like that. how I can achieve ?
i want build my self but im really zero golang. maybe someone give me clue how to do it ( create myself proxies type then build it ) i will do it with copilot.
Possible Solution
No response