help disabling redirect-gateway

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 12, 2017 11:52 pm

help disabling redirect-gateway

Post by cTurtle98 » Wed Sep 13, 2017 12:00 am

Code: Select all

port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS"
push "dhcp-option DNS"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
status openvpn-status.log
verb 3
crl-verify crl.pem
Thats my config,

I want to disable redirect-gateway because im trying to setup the server so I have remote access to my computers not so that I can forward my connection

i have tried commenting out the push redirect-gateway line (with a #) and restarting my server then reconnecting my client but then nothing works on the client and chrome tells me that a dns server could not be found

ps i used this tutorial to install my server:

Post Reply