I followed the instructions for setting up an OpenVPN server here (https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04). Everything seems to be working fine but there is a question that I have regarding the way that the VPN server is working.
I used the
push "redirect-gateway def1 bypass-dhcp"
configuration to make sure that all ip traffic from my computer is routed through the VPN, however when I visit 192.168.1.254 (my router's ip address) I am presented with my routers login page. Also things like airplay and chrome cast are still working. I can also print on the local network.
My understanding is that if all of the network traffic from my machine is being routed through the VPN tunnel then I should not be able to access any of these resources on my local network, rather my computer should be looking for those local addresses on the VPN.
What am I missing here?