I'm fairly new to OpenVPN but have some networking experience in general
Yesterday and today I have setup OpenVPN on a few different client's Windows servers following the guide here https://community.openvpn.net/openvpn/w ... dows_Guide. I haven't really been able to get it to even ping the server it is installed on without setting it to bridge mode and bridging the TAP adapter and the Ethernet adapter of the server, but doing that seems to let me be able to ping the server.
Yesterday afternoon I was even able to ping other devices on the network over the VPN and setup one of the employees to print into the office printer from home. Today nothing will ping except the server the OpenVPN software is actually running on. This includes both the original server and one more that I bridged the Ethernet adapter in.
I've gone through the config file and tried a few different settings, then reset it and just done what seem to be normal settings and nothing lets me connect to anything except the server.
I've run out of ideas, hoping someone here has run into a similar problem or has some idea where else I can look to trace the problem. Thanks for taking the time to look at this.
server config:
server config
local 192.168.1.2
port 1194
# TCP or UDP server?
;proto tcp
proto udp
dev tap
;dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
topology subnet
;server 192.168.200.0 255.255.255.0
;ifconfig-pool-persist ipp.txt
server-bridge 192.168.200.4 255.255.255.0 192.168.200.50 192.168.200.100
;server-bridge
push "route 192.168.1.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"
duplicate-cn
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
;log-append openvpn.log
verb 3
# Silence repeating messages. At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20
# Notify the client that when the server restarts so it
# can automatically reconnect.
explicit-exit-notify 1
port 1194
# TCP or UDP server?
;proto tcp
proto udp
dev tap
;dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
topology subnet
;server 192.168.200.0 255.255.255.0
;ifconfig-pool-persist ipp.txt
server-bridge 192.168.200.4 255.255.255.0 192.168.200.50 192.168.200.100
;server-bridge
push "route 192.168.1.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"
duplicate-cn
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
;log-append openvpn.log
verb 3
# Silence repeating messages. At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20
# Notify the client that when the server restarts so it
# can automatically reconnect.
explicit-exit-notify 1
client config
client
dev tap
;dev tun
;proto tcp
proto udp
remote remote.myclient.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert Office-VPN.crt
key VOffice-VPN.key
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
# Set log file verbosity.
verb 3
# Silence repeating messages
;mute 20