<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;"></div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:squid3@treenet.co.nz">Amos Jeffries</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎12/‎31/‎2015 2:42 PM</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [squid-users] Assign multiple IP Address to squid</span><br><br></div>On 2015-12-31 21:55, Reet Vyas wrote:<br>> Hi all<br>> <br>> Thanks for reply.  I have this squid setup and I am using squid as my<br>> router and my requirement is like  I have one local webserver and I<br>> want to access it from home and I want to  nat external ip to internal<br>> ip so that I can access my local machine from outside network.  My ISP<br>> gave 10 external ip and one i am using with squid and rest 9 are<br>> unused so I tried to create alias on external inferface and gave one<br>> public ip to it and nat that external ip to localip , but I cant<br>> access machine( with webserver) using external ip, its shows access<br>> denied<br><br>You need Squid setup with this virtual hosting configuration:<br><http://wiki.squid-cache.org/ConfigExamples/Reverse/VirtualHosting><br><br><br>Notice how this has nothing to do with IP addresses. Whether you have 1 <br>or 10 pointing at the Squid does not matter. You can even have the <br>router point *only* port 80 (and/or 443) to Squid and the rest of the <br>ports elsewhere.<br><br>Amos<br><br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>http://lists.squid-cache.org/listinfo/squid-users<br></body></html>