I'm trying to achieve something which is possibly a little unusual.
I've got the OpenVPN client connecting to a 3rd-party VPN but I don't want all my traffic forced through the VPN, so I'm using the
pull-filter ignore "redirect-gateway" directive in my client config. That works fine.
The unusual part is, I want to set up a local Squid proxy, using its
tcp_outgoing_address directive to force all proxied traffic through the VPN interface. That way I can selectively route specific applications through the VPN by configuring them to use the the proxy.
The Squid proxy itself works fine, but the proxied traffic only gets through the VPN to its destination if I
remove the
pull-filter ignore "redirect-gateway" from my OpenVPN client config. Therefore, I think I must be missing something in my OpenVPN client config to properly route the proxied traffic.
Any suggestions what that could be?