Networking Forums

Networking Forums > Network Hardware > Home Networking > VNC via VPN

Reply
 
 
Geoff Lane
Guest
Posts: n/a

 
      04-01-2005, 07:56 PM
I want to set up VNC to work via a remote ADSL that has a VPN
connection.

No luck so far although both computers will connect using
VNC when actually on the same network.

Am I correct in assuming that once a VPN connection is made that
effectively it is as though they are on the same local network and
that routers should not be a problem.

I am using the VPN server on my Draytek Vigor 2600 router and the
other computer is operating behind a Linksys WAG 54G router.

Geoff Lane

 
Reply With Quote
 
 
 
 
David Wade
Guest
Posts: n/a

 
      04-02-2005, 09:06 AM

"Geoff Lane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I want to set up VNC to work via a remote ADSL that has a VPN
> connection.
>
> No luck so far although both computers will connect using
> VNC when actually on the same network.
>


Do other things work on the VPN?

> Am I correct in assuming that once a VPN connection is made that
> effectively it is as though they are on the same local network and
> that routers should not be a problem.
>


Are you using the same private network (192.168.1.0) at both ends? Remember
to find the network address ( as opposed to the machine IP address use the
NETMASK to split the IP into the network and machine address). If so I bet
you need to change one. The machine opening the VPN connection now looks
like it is connected to two networks. The local network via its NIC and the
remote network via the VPN. If the networks both have the same IP address it
does not know which interface to send the packets to.

> I am using the VPN server on my Draytek Vigor 2600 router and the
> other computer is operating behind a Linksys WAG 54G router.
>
> Geoff Lane
>



 
Reply With Quote
 
Geoff Lane
Guest
Posts: n/a

 
      04-02-2005, 10:01 AM
On Sat, 2 Apr 2005 10:06:06 +0100, "David Wade" <(E-Mail Removed)>
wrote:

>> I want to set up VNC to work via a remote ADSL that has a VPN
>> connection.
>>
>> No luck so far although both computers will connect using
>> VNC when actually on the same network.


>Do other things work on the VPN?


Yes, I can view (explore) the other computer.

>> Am I correct in assuming that once a VPN connection is made that
>> effectively it is as though they are on the same local network and
>> that routers should not be a problem.
>>

>
>Are you using the same private network (192.168.1.0) at both ends?


Initially making that mistake I changed the network address of one
machine, one remains at 192.168.1.1 and the other I've changed to
192.168.10.1

Geoff Lane

 
Reply With Quote
 
David Wade
Guest
Posts: n/a

 
      04-03-2005, 07:15 PM

"Geoff Lane" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Sat, 2 Apr 2005 10:06:06 +0100, "David Wade" <(E-Mail Removed)>
> wrote:
>
> >> I want to set up VNC to work via a remote ADSL that has a VPN
> >> connection.
> >>
> >> No luck so far although both computers will connect using
> >> VNC when actually on the same network.

>
> >Do other things work on the VPN?

>
> Yes, I can view (explore) the other computer.
>
> >> Am I correct in assuming that once a VPN connection is made that
> >> effectively it is as though they are on the same local network and
> >> that routers should not be a problem.
> >>

> >
> >Are you using the same private network (192.168.1.0) at both ends?

>
> Initially making that mistake I changed the network address of one
> machine, one remains at 192.168.1.1 and the other I've changed to
> 192.168.10.1
>
> Geoff Lane
>

And I assume you are connectin via IP address?


 
Reply With Quote
 
Geoff Lane
Guest
Posts: n/a

 
      04-03-2005, 07:33 PM
On Sun, 3 Apr 2005 20:15:41 +0100, "David Wade" <(E-Mail Removed)>
wrote:

>> >> I want to set up VNC to work via a remote ADSL that has a VPN
>> >> connection.
>> >>
>> >> No luck so far although both computers will connect using
>> >> VNC when actually on the same network.


>> >Are you using the same private network (192.168.1.0) at both ends?

>>
>> Initially making that mistake I changed the network address of one
>> machine, one remains at 192.168.1.1 and the other I've changed to
>> 192.168.10.1


>And I assume you are connectin via IP address?


Yes, I used my router's facilities to find out which IP address had
been issued to the VPN connected computer and used that IP address to
attempt the connection.

Only thing is, the remote computer would also have its own local IP
address so I'm wondering if there is something else I should do.

Geoff Lane

 
Reply With Quote
 
David Wade
Guest
Posts: n/a

 
      04-05-2005, 10:42 PM

"Geoff Lane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Sun, 3 Apr 2005 20:15:41 +0100, "David Wade" <(E-Mail Removed)>
> wrote:
>
> >> >> I want to set up VNC to work via a remote ADSL that has a VPN
> >> >> connection.
> >> >>
> >> >> No luck so far although both computers will connect using
> >> >> VNC when actually on the same network.

>
> >> >Are you using the same private network (192.168.1.0) at both ends?
> >>
> >> Initially making that mistake I changed the network address of one
> >> machine, one remains at 192.168.1.1 and the other I've changed to
> >> 192.168.10.1

>
> >And I assume you are connectin via IP address?

>
> Yes, I used my router's facilities to find out which IP address had
> been issued to the VPN connected computer and used that IP address to
> attempt the connection.
>


You put the address of the router into the VPN connection,,,

> Only thing is, the remote computer would also have its own local IP
> address so I'm wondering if there is something else I should do.
>


And the local PC address should go into the VNC connection....
Rather than use VPN you could use NAT or a "virtual server". If so you need
to map external port 5900 on the remote router..

> Geoff Lane
>



 
Reply With Quote
 
Geoff Lane
Guest
Posts: n/a

 
      04-06-2005, 05:08 PM
On Tue, 5 Apr 2005 23:42:48 +0100, "David Wade" <(E-Mail Removed)>
wrote:

>You put the address of the router into the VPN connection,,,


I use an address set up via www.dyndns.org

>> Only thing is, the remote computer would also have its own local IP
>> address so I'm wondering if there is something else I should do.


>And the local PC address should go into the VNC connection....
>Rather than use VPN you could use NAT or a "virtual server". If so you need
>to map external port 5900 on the remote router..


Yes, I have done that some months ago assisting a friend with a
computer problem, very handy it was too.

Now my daughter has adsl I am trying to use VNC via a VPN connection
so that I can assist with any problems she gets; trouble is we are
both behind a NAT router and that is probably the problem.

Although, as we've made a successful VPN connection I don't think
router settings are relevant.

Geoff Lane

 
Reply With Quote
 
David Wade
Guest
Posts: n/a

 
      04-07-2005, 08:45 PM
"Geoff Lane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Tue, 5 Apr 2005 23:42:48 +0100, "David Wade" <(E-Mail Removed)>
> wrote:
>
> >You put the address of the router into the VPN connection,,,

>
> I use an address set up via www.dyndns.org
>


That should be OK but NTL have been updating IP addresses often to........

> >> Only thing is, the remote computer would also have its own local IP
> >> address so I'm wondering if there is something else I should do.

>
> >And the local PC address should go into the VNC connection....
> >Rather than use VPN you could use NAT or a "virtual server". If so you

need
> >to map external port 5900 on the remote router..

>
> Yes, I have done that some months ago assisting a friend with a
> computer problem, very handy it was too.
>
> Now my daughter has adsl I am trying to use VNC via a VPN connection
> so that I can assist with any problems she gets; trouble is we are
> both behind a NAT router and that is probably the problem.
>


The VPN should "Punch through" the NAT and make both networks look
connected.
How do make te VPN connection...

> Although, as we've made a successful VPN connection I don't think
> router settings are relevant.


Router settuings may be relevant. Note that you need to make sure packets
can be routed from both ends.

>
> Geoff Lane
>



 
Reply With Quote
 
Geoff Lane
Guest
Posts: n/a

 
      04-08-2005, 05:10 PM
On Thu, 7 Apr 2005 21:45:48 +0100, "David Wade" <(E-Mail Removed)>
wrote:


>> Now my daughter has adsl I am trying to use VNC via a VPN connection
>> so that I can assist with any problems she gets; trouble is we are
>> both behind a NAT router and that is probably the problem.
>>

>
>The VPN should "Punch through" the NAT and make both networks look
>connected.
>How do make te VPN connection...


My router has a VPN server so I set up a user account and my daughter
uses XP's connection wizard from her end to connect to my system. She
uses the dynamic address via www.dyndns.org and it all connects ok

>> Although, as we've made a successful VPN connection I don't think
>> router settings are relevant.

>
>Router settuings may be relevant. Note that you need to make sure packets
>can be routed from both ends.


I was under the impression that as the VPN connection was successful
then no further settings are needed for VNC. It could be my ZoneAlarm
software FW; I have tried turning the FW off, I tink the effect is
immediate.

Geoff Lane

 
Reply With Quote
 
David Wade
Guest
Posts: n/a

 
      04-08-2005, 06:34 PM

"Geoff Lane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Thu, 7 Apr 2005 21:45:48 +0100, "David Wade" <(E-Mail Removed)>
> wrote:
>
>
> >> Now my daughter has adsl I am trying to use VNC via a VPN connection
> >> so that I can assist with any problems she gets; trouble is we are
> >> both behind a NAT router and that is probably the problem.
> >>

> >
> >The VPN should "Punch through" the NAT and make both networks look
> >connected.
> >How do make te VPN connection...

>
> My router has a VPN server so I set up a user account and my daughter
> uses XP's connection wizard from her end to connect to my system. She
> uses the dynamic address via www.dyndns.org and it all connects ok
>
> >> Although, as we've made a successful VPN connection I don't think
> >> router settings are relevant.

> >


Can you do an IP config on the machine from which you make the connection?
Does the connection to the VPN show a remote IP address?

> >Router settuings may be relevant. Note that you need to make sure packets
> >can be routed from both ends.

>
> I was under the impression that as the VPN connection was successful
> then no further settings are needed for VNC. It could be my ZoneAlarm
> software FW; I have tried turning the FW off, I tink the effect is
> immediate.
>


If your router has a firewall it may be blocking the VNC ports, though as
you say I would have expected that once the VPN connection was up, the PC
should look like its on the remote network.

> Geoff Lane
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11