I have installed OpenVPN in OpenWRT 22.03.2 through this tutorial:
I have followed the exact steps and it works, I can use OpenVPN to connect to my network and I do have internet. But I can't reach the other ip addresses within my network.
The IP range on my network is 192.168.1.x and the OpenVPN clients get 192.168.8.x
I want to be able to connect to my NAS or tv box through OpenVPN when I'm not home. But now it doesn't let me, as 8.x can't connect to 1.x
I have tried multiple things, followed many topics, but none of them helped me out. Internet works perfect, but internally I can't do anything.
My config is exactly as mentioned in the link. I did try to disable masquerade on the VPN > LAN firewall setting. I have tried to accept forwarding from VPN > LAN.
I have removed "nobind" from the client .ovpn file
server.conf is now:
user nobody
group nogroup
dev tun
port 1194
proto udp
server 192.168.8.0 255.255.255.0
topology subnet
client-to-client
keepalive 10 60
persist-tun
persist-key
push "dhcp-option DNS 192.168.8.1"
push "dhcp-option DOMAIN lan"
push "redirect-gateway def1"
push "persist-tun"
push "persist-key"
(and the certificates)
What can I do?