1
17.7 Legacy Series / Re: OpenVPN Redirect Gateway - Option from Client
« on: May 23, 2018, 02:43:26 pm »
Were you be able to forward all traffic through your tunnel? did you find a way to indicate which traffic need to goes through the vpn?
I have OpenVPN on OPNsense installed and working with the Redirect Gateway option enabled in the server so all traffic from my clients (iPhone & Mac) is routed via the VPN connection. This is what I want when I'm connected to public Wi-Fi services etc. However I have another use case when I just want specific traffic to route via the VPN and other "Internet" traffic not not do this.
Is there any way to set this from the client side (I'm using the OpenVPN client on my iPhone & Viscosity on my Mac). I'm sure I could achieve this "manually" on Mac by manipulating the routing table but not on the iPhone?
One messy/alternative solution I thought of is having two OpenVPN servers configured on OPNsense, one configured each way.