OpenVPN and VNC without Port Forwarding

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
dpw95
DD-WRT Novice


Joined: 21 Jul 2019
Posts: 7

PostPosted: Fri Feb 14, 2020 17:49    Post subject: OpenVPN and VNC without Port Forwarding Reply with quote
In the past, I have been able to connect to my router's OpenVPN server service with my iPhone, and then remotely connect to a PC on my home network via a VNC server running on it by using the internal network address (192.168.x.x). I did not have port-forwarding turned on for this to work.

Following a recent update to a newer build of DD-WRT, I can no longer do this. I have to enable port forwarding in order to connect.

Any pointers for how I might change a setting to allow the connection method I originally was able to use? Nothing in the settings is leaping out at me, unfortunately.

Thank you in advance for any pointers to consider!
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4846
Location: Netherlands

PostPosted: Sat Feb 15, 2020 10:47    Post subject: Reply with quote
Read the Openvpn server setup guide in my signature.
Especially the chapter about the CVE 14899 Patch.
That is the culprit

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
dpw95
DD-WRT Novice


Joined: 21 Jul 2019
Posts: 7

PostPosted: Sun Feb 16, 2020 16:19    Post subject: Reply with quote
Thanks egc!

I will try the firewall rule outlined in your guide.

The entry I have had in there until now was: iptables -t nat -I POSTROUTING -o $(nvram get wan_iface) -j MASQUERADE
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum