How to .conf 'route 0.0.0.0 0.0.0.0 vpn_gateway' from command line?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
User avatar
bs27975-1
OpenVpn Newbie
Posts: 12
Joined: Mon Jan 27, 2014 11:13 pm
Location: K-W, Ontario, Canada

How to .conf 'route 0.0.0.0 0.0.0.0 vpn_gateway' from command line?

Post by bs27975-1 » Mon Aug 29, 2016 3:30 am

Kubuntu 14.04

If I have:
route 0.0.0.0 0.0.0.0 vpn_gateway

in a .conf (.ovpn) file, the expected happens.

If I '--route 0.0.0.0 0.0.0.0 vpn_gateway' from the command line, the expected does not happen.

How can I get 'vpn_gateway' properly substituted/interpreted by openvpn from the command line?

TIA.

Post Reply