Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - soutrikand

#1
General Discussion / Re: Gateway Switching
July 11, 2018, 07:30:10 AM
is there a way i can write some script to do the switching ?
or better to ask, can i write a script that will not be removed by opnsense on reboot?
#2
General Discussion / Gateway Switching
July 10, 2018, 03:31:07 PM
in my situation,
i have two gateways that are for Internet ( 2 isp gateways)
and 1 gateway to reach lan of VPN remote network
and 1 local gateway that has a static route to another network.

The problem i am facing is, when the internet is down, the default gateway is switched to one of the available gateways (usually selecting the last local gateway i have added).
Since the squid proxy sends outgoing traffic through default gateway and not gateway groups, the web surfing stops.
connections to all other ports that are not redirected to proxy are working great.

it would be good if there was a way to define gateways as WAN and Local .
and also if squid could direct all outgoing traffic through load balancing gateways.

any help is appreciated.

Thanks and regards.
#3
i have successfully configured squid with the opnsense.
The problem i face is that all traffic from squid uses the default gateway and not the load balancing group.
Traffic to all other ports are balanced properly but all http and https traffic are being routed through the default gateway only.
Please help me solve this.

i have manually tried changing the configuration to listen to lan address (192.168.28.1) only and no loop back addresses.
This doesnt help.

i have tried manually adding tcp_outgoing_address,\
somehow may be due to wrong configuration on my part, that doesnt help and shows proxy connection refused.

any help is appreciated.

Thanks a lot