OpenVPN to access mi Home Network from Internet

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
hpm65
OpenVpn Newbie
Posts: 1
Joined: Sun Jun 06, 2021 2:17 pm

OpenVPN to access mi Home Network from Internet

Post by hpm65 » Sun Jun 06, 2021 2:27 pm

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 Router. Now, how should I redirect ports on the router so that I can access my LAN from outside my house?
192.168.32.0/24 <- LAN=192.168.32.101 Firewall WAN=192.168.1.101 -> Router=192.168.1.1 (router also has a DDNS)

chilinux
OpenVPN Power User
Posts: 156
Joined: Thu Mar 28, 2013 8:31 am

Re: OpenVPN to access mi Home Network from Internet

Post by chilinux » Sun Jun 06, 2021 3:38 pm

Easiest way to expose your OpenVPN server regardless of how you have it configured is to set the server's IP address to be the router's DMZ host.

Otherwise, what you should redirect on the router depends on the OpenVPN server configuration you are using.

You may want to try redirecting UDP port 1194 and if that doesn't work then try TCP port 1194.

Post Reply