OpenVPN to access mi Home Network from Internet

Started by hpm65, June 06, 2021, 04:22:13 PM

Previous topic - Next topic
Hi, I'm trying to access my LAN through a VPN from the Internet.
I have configured OpenVPN correctly, and I can connect locally, however from the Internet I cannot.
The firewall has 2 interfaces, one LAN and the other WAN. The WAN connects with the Movistar Router. Now, how should I redirect ports on the router so that I can access my LAN from outside my house?

I haven't set up OpenVPN on OPNsense (I used to run it on another server), but you don't need to forward ports, just push routes to your LAN. In understand on OPNsense that is through the Local Networks option. Have you checked out the docs? https://wiki.opnsense.org/manual/how-tos/sslvpn_client.html

You will also need firewall rules on the OpenVPN interface to allow access to the LAN

I don't know the Movistar Box, but if this is a router and not just a modem you DO need to add a port forwarding rule

Under NAT/Port forwarding: add Port 1194 UDP and TCP > forward to your opensene WAN IP address