unable redirect default gateway

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

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

Post Reply
zerofreedom
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 04, 2012 10:01 am

unable redirect default gateway

Post by zerofreedom » Wed Jan 04, 2012 10:08 am

hello i have a problem with my openvpn

i unchecked default gateway, then connect to vpn but show a error message
here is error message

Code: Select all

NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
here is my config file

Code: Select all

auth-user-pass pass.txt
client
dev tun
proto tcp
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
remote xxxx 443
resolv-retry infinite
redirect-gateway def1
route-method exe
route-delay 2
route-metric 512
route 0.0.0.0 0.0.0.0
ping 0
ping-restart 0
nobind
persist-key
persist-tun
persist-remote-ip
mute-replay-warnings
ca xxx.crt
ns-cert-type server
cipher AES-256-CBC
comp-lzo
verb 2
anyone have solution for my problem ???

mttj44
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 04, 2012 12:16 pm

Re: unable redirect default gateway

Post by mttj44 » Wed Jan 04, 2012 12:21 pm

Hello,
I seem to face the same problem, can somone please advice? :?

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: unable redirect default gateway

Post by Mimiko » Sat Jan 07, 2012 5:58 pm

Run the OpenVPN with elevated privileges.

Post Reply