Re: [squid-users] Assign multiple IP Address to squid

2015-12-31 Thread Amos Jeffries

On 2015-12-31 21:55, Reet Vyas wrote:

Hi all

Thanks for reply.  I have this squid setup and I am using squid as my
router and my requirement is like  I have one local webserver and I
want to access it from home and I want to  nat external ip to internal
ip so that I can access my local machine from outside network.  My ISP
gave 10 external ip and one i am using with squid and rest 9 are
unused so I tried to create alias on external inferface and gave one
public ip to it and nat that external ip to localip , but I cant
access machine( with webserver) using external ip, its shows access
denied


You need Squid setup with this virtual hosting configuration:



Notice how this has nothing to do with IP addresses. Whether you have 1 
or 10 pointing at the Squid does not matter. You can even have the 
router point *only* port 80 (and/or 443) to Squid and the rest of the 
ports elsewhere.


Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Assign multiple IP Address to squid

2015-12-31 Thread Reet Vyas
Hi all

Thanks for reply.  I have this squid setup and I am using squid as my
router and my requirement is like  I have one local webserver and I want to
access it from home and I want to  nat external ip to internal ip so that I
can access my local machine from outside network.  My ISP gave 10 external
ip and one i am using with squid and rest 9 are unused so I tried to create
alias on external inferface and gave one public ip to it and nat that
external ip to localip , but I cant access machine( with webserver) using
external ip, its shows access denied

On Tue, Dec 29, 2015 at 5:35 PM, Reet Vyas  wrote:

> Hi
>
> I have working squid3.5.4 configuration with ssl bump, I am using this
> squid machine as router and have external IP to it and have a leased line
> connection but with leased line I have 10 extra IP address and I want to
> NAT those external ip to local ip on same network, like we do in our
> router, so that I can assign those IP ip my machines having webservers.
>
> Please suggest me way to configure it.
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Assign multiple IP Address to squid

2015-12-29 Thread Eliezer Croitoru

Rather then non squid it would be the iptables and routing related things.
However if you are intercepting https or http connections your might 
want to add some exceptions in the iptables to avoid the additional web 
servers traffic being intercepted by squid.


Eliezer

On 29/12/2015 14:43, Eugene M. Zheganin wrote:

This has nothing to do with squid.

Eugene.


___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Assign multiple IP Address to squid

2015-12-29 Thread Leonardo Rodrigues

Em 29/12/15 10:43, Eugene M. Zheganin escreveu:

Hi.

On 29.12.2015 17:05, Reet Vyas wrote:

Hi

I have working squid3.5.4 configuration with ssl bump, I am using this
squid machine as router and have external IP to it and have a leased
line connection but with leased line I have 10 extra IP address and I
want to NAT those external ip to local ip on same network, like we do
in our router, so that I can assign those IP ip my machines having
webservers.

Please suggest me way to configure it.


This has nothing to do with squid.



Well, it can be squid-related as 'machines having webservers' is 
given by the OP. Yes, squid cannot be used to to port-forwarding as 
routers usually can do, but it can work as reverse-proxy 'publishing' 
internal-ip webservers to the world.


You didnt specified if you're using squid for general proxy or 
reverse proxy. SSL-Bump, as far as i know, can be used for both.


Maybe you wanna google or search the mailing list archives for 
reverse proxy setups, that's what you're looking for. But keep in mind 
if will work only for HTTP and HTTPS connections. If you want general 
port-forwarding, than Eugene is right, it's a not squid-related subject.





--


Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br

Minha armadilha de SPAM, NÃO mandem email
gertru...@solutti.com.br
My SPAMTRAP, do not email it



___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Assign multiple IP Address to squid

2015-12-29 Thread Eugene M. Zheganin
Hi.

On 29.12.2015 17:05, Reet Vyas wrote:
> Hi
>
> I have working squid3.5.4 configuration with ssl bump, I am using this
> squid machine as router and have external IP to it and have a leased
> line connection but with leased line I have 10 extra IP address and I
> want to NAT those external ip to local ip on same network, like we do
> in our router, so that I can assign those IP ip my machines having
> webservers.
>
> Please suggest me way to configure it.
>
This has nothing to do with squid.

Eugene.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] Assign multiple IP Address to squid

2015-12-29 Thread Reet Vyas
Hi

I have working squid3.5.4 configuration with ssl bump, I am using this
squid machine as router and have external IP to it and have a leased line
connection but with leased line I have 10 extra IP address and I want to
NAT those external ip to local ip on same network, like we do in our
router, so that I can assign those IP ip my machines having webservers.

Please suggest me way to configure it.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users