hulisang / port-forwarding Goto Github PK
View Code? Open in Web Editor NEW各种端口转发
各种端口转发
第一种:gost监听国内鸡666端口,转发到国外鸡的443端口,再经由国外鸡将443端口收到的数据本地转发给55R所在的2333端口
国内鸡:
{
"Debug": true,
"Retries": 0,
"ServeNodes": [
"tcp://:666",
"udp://:666"
],
"ChainNodes": [
"relay+mtls://xxx:[email protected]:443"
]
}
国外鸡:
{
"Debug": true,
"Retries": 0,
"ServeNodes": [
"relay+mtls://xxx:xxx@:443/127.0.0.1:2333"
]
}
第二种:第二种配置我不是很能理解……是否是在国内鸡建立666端口到国外鸡55R的2333端口的转发,然后将这个请求转发给国外鸡443端口?
国内鸡:
{
"Debug": true,
"Retries": 0,
"ServeNodes": [
"udp://0.0.0.0:666/1.1.1.1.1:2333",
"tcp://0.0.0.0:666/1.1.1.1.1:2333"
],
"ChainNodes": [
"relay+tls://xxx:[email protected]:443"
]
}
国外鸡
{
"Debug": true,
"Retries": 0,
"ServeNodes": [
"relay+tls://xxx:[email protected]:443"
]
}
两种配置貌似达到的作用是一致的,但感觉好像哪里不太一样,还望大佬教我。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.