<html><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yiv4573597921"><div id="yui_3_16_0_1_1437383622843_7866"><div style="color:#000;background-color:#fff;font-family:Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;" id="yui_3_16_0_1_1437383622843_7865"><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848">Hello, </div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848">A newbie question on routing.</div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr">I am prototyping a VPN configuration where smartphones send their traffic to a StrongSwan v5.1.2 VPN gateway. I wish to process the HTTP (non-secure traffic) through a user land HTTP proxy software. I do not intend to do anything with the HTTPS traffic. </div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr">Is there a way to make the HTTPS traffic appear to come from the original client IP address, and not from my VPN gw/internet gateway's IP address? For HTTP traffic, I could conceivably use the X-Forwarded-For header which is widely adopted.</div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr">Any pointers appreciated. </div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr">Thanks,</div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr">Siddharth<br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848" dir="ltr"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848"><br></div><div id="yiv4573597921yui_3_16_0_1_1437311390875_3848"><br></div></div></div></div></div></body></html>