litewait
I have a OpenVPN server configured to push a bunch of routes at the clients to route all access to certain IPs through the VPN. I have an OSX client configuration that is working fine. However, with Ubuntu, I can't access those routes unless I set redirect-gateway. The goal here is to have all traffic not to those IPs routed out through the default gateway. redirect-gateway of course takes over the default route, which is not what I want. A guidance would be appreciated.
**** THIS IS RELEVANT ENTRIES THAT route REPORTS WITHOUT redirect-gateway ***
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
10.9.100.0 10.9.100.89 255.255.255.0 UG 0 0 0 tun0
10.9.100.89 * 255.255.255.255 UH 0 0 0 tun0
...
XXX.73.0.0 10.9.100.89 255.255.0.0 UG 0 0 0 tun0 <--- ONE OF THE PUSH ROUTES
192.168.1.0 * 255.255.255.0 U 9 0 0 wlan0
**** THIS IS THE OVPN FILE ****
client
dev tun0
proto tcp
remote XX.1XX.11X.233 1194
resolv-retry infinite
nobind
comp-lzo
verb 3
pull
#redirect-gateway # WHY IS THIS REQUIRED?
auth-nocache
auth-user-pass login.conf
<ca>
-----BEGIN CERTIFICATE-----
MIIEzTCCA7WgAwIBAgIJANRFgSSCYcrDMA0GCSqGSIb3DQEBCwUAMIGfMQswCQYD
...
</ca>