Hello All,
I have problem with Squid tcp_outgoing_address: I can access
Internet in two ways, directly from eth1 (default gateway) and
through VPN server that is located far away from me and is accessed
through VPN over Internet. I have setup Squid correcty and is working
fine except for some sites. I have - tcp_outgoing_address 172.xxx.xxx.xxx
in squid.conf but for some sites Squid makes first request to destination
web server through VPN and then all data exchanged between Squid and
destination web server is directly through eth1 (default gateway) not
over VPN. Can someone give me advise how to setup Squid always to use
VPN and not to use eth1 (default gateway) for exchanging data with
web servers.
Many thanks in advance.
p.s. hope this diagram explain my routing.
+---------+ +------------+
|Internet |<--| VPN server |
+---------+ +------------+
^
|
|
+---------------------+
| eth1 62.xxx.xxx.xxx |<--------------------------+
| | ppp0 172.xxx.xxx.xxx |
| deafult gateway | |
|---------------------| VPN (tunneling with pptp) |
| ----------------------------|
| Linux router |
| kernel 2.2.19 |
| Squid/2.1.PATCH2 |
| |
|----------------------| |
| eth0 192.168.xxx.xxx | |
+-------------------------------------------------+
^
|
|
Internal network
Best Regards,
/ R. Petkov /
__________________________________
12MB-POP3-WAP-SMS---TOBA-E-mail.bG
----------------------------------
" Ako uckame u Bue agpec B mail.bg
ugeme myk: http://www.mail.bg/new/ "
Received on Sat Jun 08 2002 - 07:51:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:36 MST