Im having trouble getting my openVPN server working after i switched to a pi-hole docker for DNS.
My main network is 10.10.124.1/24
my DNS server is 10.10.124.4
my openVPN server runs on 10.10.124.5
Here is my openVPN config:
config openvpn 'vpnserver'
option proto 'udp'
option port '1194'
option dev_type 'tun'
option dev 'ovpns0'
option server '10.10.125.0 255.255.255.0'
option route '10.10.124.1 255.255.255.0'
option ca '/etc/openvpn/ca.crt'
option cert '/etc/openvpn/my-server.crt'
option key '/etc/openvpn/my-server.key'
option dh '/etc/openvpn/dh2048.pem'
option tls_auth '/etc/openvpn/tls-auth.key 0'
option tun_mtu '1500'
option keepalive '10 120'
option tls_server '1'
option topology 'subnet'
option log '/tmp/openvpn.log'
option client_to_client '1'
option persist_key '1'
option persist_tun '1'
list push 'route 10.10.124.0 255.255.255.0'
list push 'dhcp-option DNS 10.10.124.4'
option enabled '1'
When i connect to the VPN from my laptop, i can see the router (10.10.124.1), the vpn server (10.10.125.1). But i cannot see anything else on the 10.10.124.x subnet.
Here is the relevant route on the client machine:
10.10.124.0 255.255.255.0 10.10.125.1 10.10.125.2 291
Does anyone have any idea whats going on here?
Thanks
-A