Squid + 5 VPN conection on one WAN
reza3sw last edited by reza3sw
I have a pfsense vm with spec below:
Version 2.4.3-RELEASE-p1 (amd64)
Wan : [My Wan IP]
Lan : 192.168.1.0/24
5 VPN conection on WAN (VPN1,VPN2,VPN3,VPN4,VPN5) To pass traffic from client
I have defined gatwaye group ( VPN1,VPN2,VPN3,VPN4,VPN5 ) by name "VPNLoadBalancing" in same tire1
Overall I have 7 interfaces on pfsense
Squid + SquidGuard
I used several scenarios :
I read About Squid on pfsense forum and squid forum and I know squid pass traffic from default gateway ( In my scenario squid pass my traffic from WAN).
in custom option Squid I define tcp_outgoing_address 127.0.0.1 and create Floating rule (Pass - WAN - Out - any-any - port 80 ) to gateway "VPNLoadBalancing"
and I have defined NAT Outbound for VPN Corectly
but in log pfsense say "CLOSED:SYN_SENT" and any pages Don't work
also I checked my VPN conection without SQUID and everything is OK and work
This scenario Doesn't Work......
I created Virtual interface (fake) and set Ip to 188.8.131.52/32 and set squid tcp_outgoing_address 184.108.40.206 and I defined NAT outbound for all VPN pass 220.127.116.11/32
In fake interface rule I created rule (pass-any-any-any-VPNLoadBalancing).
But no results...
I created OpenVPN server on LAN and WAN and I created Openvpn Client
In this scenarios pfsense Conect to itself with Openvpn with Tunnel 192.168.4.0/24
I Assign OpenVPN client interface and get IP 192.168.4.4 and defined NAT outbound and rule and I set tcp_outgoing_address 192.168.4.4.
I created rul in OpenVPN (pass-any-any-any)to gateway "VPNLoadBalancing".
I defined NAT outbound for all VPN pass 192.168.4.0/24
But again Error in log CLOSED:SYN_SENT
Does anyone have any solution?
Thanks in advance
that was insane. and you did not mention what is your goal.
if i am going to bleed my mind out, i think what you want to do is do squid proxy for your vpn connection.
reza3sw last edited by
This post is deleted!
reza3sw last edited by
@ravegen Hello my friend
My goal :
set proxy (SquidGuard-Cach server-Control Bandwidth with squid ) on VPN conection with LoadBalancing
And I have One wan conection and 5 VPN conection on WAN
This very simle ... I want pass traffic from VPN (LoadBalancing gateway (5vpn conection)) . also I want to have Squid proxy and SquidGuard ... But squid not compatible with loadbalancing very simple..I want tcp_outgoing_address to another interface and create rule for my traffic
Did you realize what I mean?