- Contact Us
I'm pretty sure this has nothing to do with DynDNS but since I use it every day and it works perfectly and therre probably are a few guys/gals here that might have the answer I thought I'd ask..
Today I've got a mediaserver/HTPC at home that I remote control with pretty much everything over the LAN/WAN.. I connect to it using VNC from work, I've got an FTP server running on it, I control uTorrent, XBMC, Spotify and so on using my HTC Desire (Android phone) and all this is can be done from anywhere in the world using this great DynDNS service.. It just couldn't be any better.. My DynDNS is controlled by my Linksys router so I don't even have to worrie about beeing logged out..
Until I connect to StrongVPN to be able to watch Hulu, Fox, BBC and stuff like that.. Then my PC obviously get's an additional IP address, which makes all the remote tools I've got totally useless...
If I'm at home I can still connect to 192.168.1.xxx and the HTC Desire can control the HTPC but if I decide to connect the VPN from the outside I'm thrown straight out and can connect from the outside until I get home and disconnects the VPN..
How come I can't connect to xxxx.dyndns.org:port and still get in to the HTPC?? The HTPC still has the 192.168.1.xxx also..
Is there anything I can do??
Answer by Cry Havok · Jan 04, 2011 at 02:08 PM
You're saying that your Linksys router is the only device performing updates of your DynDNS hostname? That is your ISP connected device? Your DynDNS hostname doesn't have it's IP changed at that point?
I'm guessing if so that the problem is that because your PC's default gateway has changed with the VPN that your route to (and from) it no longer allows you access to it from outside of your LAN.
To work around that problem you'd need to connect to a device on your LAN and then from there to your HTPC. Does your Linksys device have VPN termination capabilities? What model (and revision) is it?
Answer by user-5264 (google) · Jan 06, 2011 at 10:51 AM
Yeah, I haven't installed the DYNDNS updater on any pc at home so that's the only one that can update it.. My IP is almost static anyway (hasn't changed the last 3 months) but it might so that's why I use DynDNS..
Yeah, my Linksys WRT54G v.1 is connected to my DSL modem.
No, the DynDNS haven't changed 'cause I can always access the router using the DynDNS address..
Yeah you could be right that the VPN changes the default gw of the PC, haven't checked it but that's kinda what it should do so.. But I still have the 192.168.0.xxx IP active 'cause I can use for example VNC to connect to it using IP 192.168.1.xxxx::5900 What I want is to be be able to use the DynDNS address to make it possible to use the 192.168.1.xxx address even though I'm on the outside. Do I need to setup a route in the Linksys router to make it happen or what am I missing here?? I thought that as long as I connect to the right port on the router it should connect it to the 192.168.1.xxx address...
In the router I've opened for example port 5900 for VNC.. with target ip for my HTPC.. Shouldn't I be able to connect to my DynDNS address : port# and then get routed to the htpc:s port??
Answer by Cry Havok · Jan 06, 2011 at 11:10 AM
You're missing the point - as soon as you connect the HTPC to the VPN then all traffic to and from it, that goes outside your local network (ie beyond the Linksys) goes down the VPN.
For example, you send a packet to it on the VNC port, through the DSL modem, through the Linksys to the HTPC. The HTPC responds on it's default gateway - the VPN. That packet then enters the Internet via StrongVPN, reaches your PC which ignores it since it doesn't related to any ongoing connection.
To put it into human terms, you send an email to your friend who has a
gmail.com address. You never hear back from them, but you do get an apparently unrelated message from some stranger at
example.com. Obviously that message is spam so you delete it without looking at the content.
To resolve this you'll need to set up another VPN - between your remote computer and the Linksys (or another device on the LAN, other than your HTPC). To do that you may want to reflash your Linksys with DD-WRT's OpenVPN build. The process isn't complicated and I've done it many times without problems, just take the time to read their Peacock Thread (FAQ) before you begin. If you follow the instructions then you can't go wrong.
Linksys SSL-VPN 1 Answer