1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Port forwarding for VNC to work in a WDS

Discussion in 'Networking Issues' started by senhwei, Oct 22, 2005.

  1. senhwei

    senhwei Network Guru Member

    Hi everyone,

    I'm hoping you can help me with this. I have just set up a WDS involving a WRT54G (on Alchemy firmware) and a Belkin ADSL/Router/Modem in a WDS configuration like this :

    Belkin <=> WRT54G <=> PC (VNC Server)

    Internally, I can VNC into the PC using any PC connected to either side of this network using my DynDNS domain name.

    However, when I'm on an external network, I cannot VNC in. I have set the following ports to forward on the Belkin router - 5500, 5800, 5900 and the firewall is disabled on the WRT54G.

    I have tried to port forward directly to the PC's IP address (192.168.1.200) as well as to the WRT54G's IP address (192.168.1.2) and in both cases, VNC works internally but not externally.

    The VNC used to work just fine when the WRT54G was connected directly to the Internet via a cable modem. But in this WDS setup, I can't seem to get it to work.

    Any advice is greatly appreciated !

    thanks,

    Chris
     
  2. 4Access

    4Access Network Guru Member

    This should work. Are you sure the Belkin is successfully forwarding the ports? Can you get any port forwarding to work through the Belkin?

    Or maybe another possibility, could the external network you were using be blocking connections to VNC ports?
     
  3. senhwei

    senhwei Network Guru Member

    Hi 4Access,

    Thanks for your reply. I've tried accessing the VNC from a number of external networks but to no avail. I've tried it from work as a well from a friend's home connection.

    Other apps which I have port forwarded on the Belkin router are working fine. So I'm really stumped with this.

    thanks,

    Chris
     
  4. 4Access

    4Access Network Guru Member

    Just to clarify, you should configure the Belkin to forward the ports to the IP address of the PC, not the WRT.

    Also, I'm assuming you're using the LAN WDS option & don't have the WDS subnet option enabled...
     
  5. senhwei

    senhwei Network Guru Member

    I actually tried both ways - I've port forwarded initially to the IP address of the PC running the VNC server and no luck. Then I tried port forwarding to the Linksys router which is the WDS client that the PC/VNC is connected to. No luck either.

    However, under both alternatives, I can connect to the VNC internally via the DynDNS domain name.

    Unfortunately I'm a newbie at this. :) What's the difference between the LAN WDS and the WDS subnet option ?

    Here's how my WDS is setup :

    1. Belkin (WDS host)
    - IP 192.168.1.1
    - subnet 255.255.255.0
    - has an external IP address as well thru the ADSL connection

    2. Linkysys (WDS client)
    - IP 192.168.1.2 (DHCP assigned by Belkin)
    - subnet 255.255.255.128

    3. PC / VNC Server
    - IP 192.168.1.200 (DHCP assigned by Linksys)
    - subnet 255.255.255.128

    4. Laptop
    - IP 192.168.1.3 (DHCP assigned by Belkin)
    - subnet 255.255.255.0

    5. Mac
    - IP 192.168.1.4 (DHCP assigned by Belkin)
    - subnet 255.255.255.0

    From both the laptops and the Mac, I can connect to the PC which is on a different subnet.

    Chris
     
  6. 4Access

    4Access Network Guru Member

    [​IMG]
    For starters it's more complicated to get port forwarding to work with a subnetted WDS connection. ;)

    Unless you have a specific desire/need to have different subnets I'd suggest you make the following configuration changes:

    1. Statically assign the WRT a LAN IP address of 192.168.1.2 (Not required but best practice)
    2. Disable the DHCP server in the WRT
    3. Use the LAN WDS option in the WRT
    4. The VNC Server will now be getting it's DHCP address from the Belkin so you will either need to configure a DHCP reservation in the Belkin (so the VNC server always gets the same IP address) or statically configure the IP address on the VNC server.
    4. Configure the Belkin to forward the desired VNC ports to 192.168.1.200

    :thumb:
     
  7. senhwei

    senhwei Network Guru Member

    Hi 4Access,

    You're a champ !! I will give this a go and report back on the outcome. Your advice sounds very promising !

    The only reason why I went with a subnetted WDS was because I was following instructions on how to set up a WDS to the letter. :)

    thanks again !

    Chris
     
  8. senhwei

    senhwei Network Guru Member

    Hi 4Access,

    Your advice did the trick !! VNC works perfectly now. :thumbup:

    For anyone else wanting a more thorough walkthrough of the steps, go and download the Sveasoft Alchemy manual. There's two pages in there that outlines how to set up a WDS using their Alchemy firmware.

    Part of the steps there include setting up a LAN WDS as advised by 4Access.

    cheers,

    Chris
     
  9. senhwei

    senhwei Network Guru Member

    I spoke too soon ... it still doesn't work. My previous euphoria was from being able to successfully ping my VNC server from an external network (previously it wouldn't even respond to pings). But the VNC connection is still timing out.

    I've tried the following :

    1. Tried both RealVNC and UltraVNC - same result
    2. Checked the ports using a web based service and all the necessary ports are reported as being open
    3. Turned of Sygate Firewall - same result

    So what gives ?? Very frustrated ....

    Chris
     

Share This Page