TYK forward proxy

Greetings,

I would like to ask whether TYK supports network forward proxy. We deploy TYK on K8S, and the default domain cannot access the Internet. I need to add forward proxy to access the Internet when REQUESTING.

Hi @ZhangDaShao and welcome to the community.

I am not sure I fully understand the question but I guess what you are looking for is https://tyk.io/docs/tyk-apis/tyk-gateway-api/api-definition-objects/proxy-settings/

不是的,TYK网关部署在内网,充当网关中心的作用,当定义一条API ,协议为TCP时候,网络无法链接,需要采用正向代理服务器的方法出去,请问TYK支持全局的网络正向代理吗?

Are you editing the API definition via JSON or via Dashboard UI? I have attached helpful screenshots below. Hope this helps

API Definition
image

Dashboard UI

非常感谢您的回答,经过测试,proxy_url只作用于协议为REST的情况,当协议为TCP或者TLS时,是不起作用的,我已经修改了源代码,使其支持TCP的正向代理。

1 Like