Avatar of beer9
Flag for India

asked on 

How to send all network traffic generated by tomcat/app_server to a proxy_host:port

I am using a appserver/tomcat in the AWS (amazon web service) which is in private subnet. There is code inside appserver which talk with external authentication service. Now I have a proxy/NAT server (proxy:port) which has direct connectivity to external services.

Using iptables, How can I send all the network traffic request generated by tomcat/appserver via proxy:port so that tomcat/appserver can reach external authentication services?

Linux NetworkingSoftware Firewalls

Avatar of undefined
Last Comment

8/22/2022 - Mon