I’ve 1 inner community and 1 exterior community (public ip enabled). I wish to direct the site visitors from my exterior community to my inner community utilizing reverse proxy and ip routing. I am utilizing openvpn for my inner community. My configuration labored for a while however now it exhibits me error – learn UDPv4 [EHOSTUNREACH]: No path to host (fd=5,code=113)
.
My server configuration is –
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
native
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
consumer no one
group nogroup
persist-key
persist-tun
standing openvpn-status.log
log-append /var/log/openvpn.log
verb 3
my consumer configuration is –
consumer
dev tun
proto udp
distant 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /and many others/openvpn/ca.crt
cert /and many others/openvpn/client-mysql.crt
key /and many others/openvpn/client-mysql.key
remote-cert-tls server
cipher AES-256-CBC
verb 3
And the standing of the openvpn consumer –
TCP/UDP: Preserving lately used distant deal with: [AF_INET]:1194
Sep 29 08:19:32 horizon-forum ovpn-client[15322]: Socket Buffers: R=[212992->212992] S=[212992->212992]
Sep 29 08:19:32 horizon-forum ovpn-client[15322]: UDPv4 hyperlink native: (not certain)
Sep 29 08:19:32 horizon-forum ovpn-client[15322]: UDPv4 hyperlink distant: [AF_INET]:1194
Sep 29 08:19:32 horizon-forum ovpn-client[15322]: learn UDPv4 [EHOSTUNREACH]: No path to host (fd=5,code=113)
Sep 29 08:19:35 horizon-forum ovpn-client[15322]: learn UDPv4 [EHOSTUNREACH]: No path to host (fd=5,code=113)
Sep 29 08:19:39 horizon-forum ovpn-client[15322]: learn UDPv4 [EHOSTUNREACH]: No path to host (fd=5,code=113)
IPtables on the server are –
Chain INPUT (coverage ACCEPT)
goal prot decide supply vacation spot
ACCEPT udp -- anyplace anyplace udp dpt:openvpn
Chain FORWARD (coverage ACCEPT)
goal prot decide supply vacation spot
Chain OUTPUT (coverage ACCEPT)
goal prot decide supply vacation spot
Journalctl for openvpn on server and consumer don’t have any errors.
how do I guarantee correct connectivity between the networks?