I have the following scenario:
Server C and Server D can connect just fine to Server A and Server B , but Server B and Server A can not connect to Server C and Server D.
I found some people having the same problem, but not a fix for it.
This is my openvpn client config:
auth-nocache
ca /etc/openvpn/client/ca.crt
cert /etc/openvpn/client/client.crt
cipher AES-256-CBC
client
comp-lzo no
dev tun0
group nogroup
key /etc/openvpn/client/client.key
nobind
persist-key
persist-tun
proto udp
pull-filter ignore "redirect-gateway"
remote REDACTED
remote-cert-tls server
reneg-sec 86400
user nobody
verb 3
This is my server config:
ca /etc/openvpn/keys/ca/pki/ca.crt
cert /etc/openvpn/keys/server/client.crt
cipher AES-256-CBC
comp-lzo no
dev tun0
dh /etc/openvpn/keys/ca/pki/dh.pem
ifconfig-pool-persist /tmp/ipp_udp.txt
keepalive 5 15
key /etc/openvpn/keys/server/client.key
local REDACTED
max-clients 10
mute 10
persist-key
persist-tun
port 1149
proto udp
push "redirect-gateway def1 bypass-dhcp"
push "route 172.16.254.0 255.255.255.0"
rcvbuf 0
reneg-sec 86400
server 172.19.0.0 255.255.255.0
user nobody
verb 3
If I connect to the openvpn server and try to ping the tun0 ip of the openvpn client it works, but if i try to ping the 172.16.0.1 ( another IP on the openvpn client ) it fails, and the strange part is that I do not even see the ICMP packet coming in from the tun0 interface on the openvpn client.
I'd be really glad if someone could help me with this config.