I have used Titanium-Web-Proxy for reverse proxy. where i can specify server back-end Ip Address?. I have added end point and also the service started with endpoint. But it could not connect with backend IP Address. Titanium-Web-Proxy
public void StartProxy()
{
proxyServer.BeforeRequest += OnRequest;
proxyServer.BeforeResponse += OnResponse;
proxyServer.ServerCertificateValidationCallback += OnCertificateValidation;
proxyServer.ClientCertificateSelectionCallback += OnCertificateSelection;
var transparentEndPoint = new TransparentProxyEndPoint(IPAddress.Parse("x.x.x.x"), 5001, true)
{
GenericCertificateName = "test"
};
proxyServer.UpStreamHttpProxy = new ExternalProxy() { HostName = "x.x.x.x", Port = 5000};
proxyServer.AddEndPoint(transparentEndPoint);
proxyServer.Start();
}
please any one help me to add backend IP and provide a samples to authenticate backend IP.
Thanks,
Selva