Server config (version 2.4.6 on fedora):
mode server
tls-server
local vpn.bpk2.com
port 1194
management 127.0.0.1 7505
proto udp
dev tap0
script-security 2
#up TapUp.sh
ca ca.crt
cert vpn.crt
key vpn.key
tls-auth tls-auth.key 0
dh dh2048.pem
cipher AES-256-CBC
#keysize 256
auth sha256
server-bridge
push "redirect-gateway def1"
#push "route-gateway dhcp"
passtos
keepalive 10 120
comp-lzo
fast-io
user nobody
group nobody
ping-timer-rem
persist-tun
persist-key
verb 4
mute 20
Client config (version 2.4.6 on fedora):
client
dev tap
proto udp
remote host.domain.tld
port 1194
resolv-retry infinite
keepalive 10 120
ping-timer-rem
persist-tun
persist-key
ca /home/brendan/Documents/OpenVPN/ca.crt
cert /home/brendan/Documents/OpenVPN/laptop.crt
key /home/brendan/Documents/OpenVPN/laptop.key
tls-auth tls-auth.key 1
remote-cert-tls server
cipher AES-256-CBC
auth sha256
route-delay 10
script-security 2
up "up.sh"
down "down.sh"
pull
comp-lzo
verb 4
mute 20
explicit-exit-notify 2
Logs info from the client:
Sun Jul 1 12:28:10 2018 us=245098 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,route-gateway dhcp,ping 10,ping-restart 120,peer-id 0,cipher AES-256-GCM'
...
Determining IP information for tap0...Sun Jul 1 12:28:20 2018 us=412378 NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing
where is this going wrong? the client is clearly getting the "route-gateway dhcp" flags from the PUSH, but says it isnt. i commented out the specific push "route-gateway dhcp" line in the server config because the server-bridge directive sends it, and the specific directive sends a duplicate directive. the routes on the client are not being modified, either. what am i missing?