p4gefau1t / trojan-go

Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/
GNU General Public License v3.0
7.54k stars 1.64k forks source link

how to using WARP proxy for outbound like xray core? #508

Open beskooitpedar opened 1 year ago

beskooitpedar commented 1 year ago

Hi. I get a Google 403 error on my servers. problem solved by using WARP proxy in this solution: https://github.com/Musixal/Marzban-Tools/tree/main/WARP in Xray core, we have an outbound section to send traffic through it like the picture: https://user-images.githubusercontent.com/124933548/229277954-17cfa0e8-6997-4510-9ab3-1f77f23b8185.png what we should do in Trojan Go?

CXwudi commented 1 year ago

Use forwarding https://p4gefau1t.github.io/trojan-go/advance/forward/

lidotcircle commented 10 months ago

you can use forward_proxy in config file

{
  "run_type": "server",
...
  "forward_proxy": {
    "enabled": true,
    "proxy_addr": "<socks5-address>",
    "proxy_port": "<socks5-port>",
    "username": "<optional>",
    "password": "<optional>"
  }
}
beskooitpedar commented 4 months ago

tnx.any way to proxy a special site with proxy from geo file? example: proxy google with warp but other sites use a server ip...