Hi all, I am suffering for this issue for a long time. I would like to connect to the machine behind the OpenVPN server unfortunitely fail, hope somebody can help on this.
OpenVPN server IP: 192.168.1.1, setup in router OpenWRT
OpenVPN server tun subnet: 10.8.0.0
Machine behind the Server subject: 192.168.1.32
I turn off the firewall in OpenVPN server for testing purpose in order to ensure not related to any firewall issues.
I successfully connect OpenVPN server from public IP using mydomain.com 1194 udp
Result:
😀OpenVPN client can accces 192.168.1.1
😖OpenVPN client fail to access 192.168.1.32
Configuration summary:
Please advise the any missing steps, thank you very much.
OpenVPN server IP: 192.168.1.1, setup in router OpenWRT
OpenVPN server tun subnet: 10.8.0.0
Machine behind the Server subject: 192.168.1.32
I turn off the firewall in OpenVPN server for testing purpose in order to ensure not related to any firewall issues.
I successfully connect OpenVPN server from public IP using mydomain.com 1194 udp
Result:
😀OpenVPN client can accces 192.168.1.1
😖OpenVPN client fail to access 192.168.1.32
Configuration summary:
OpenVPN server config (server.conf) | OpenVPN client config (client.ovpn) |
user nobody group nogroup dev tun port 1194 proto udp server 10.8.0.0 255.255.255.0 client-to-client keepalive 10 60 persist-tun persist-key push "route 10.8.0.0 255.255.255.0" push "dhcp-option DNS 192.168.1.1" push "dhcp-option DOMAIN lan" push "redirect-gateway def1" push "persist-tun" push "persist-key"​ |
user nobody group nogroup dev tun nobind client remote mydomain.com 1194 udp​ |
Comment