also @ TechSpot: Asus' new lineup of Z87 Haswell motherboards revealed

RealVNC firewall troubles on 3Com officeconnect router

Discussion in 'Storage and Networking' started by t_v, Jan 27, 2008.

  1. t_v Newcomer, in training Posts: 16

    Hello.

    I have tried to open port 5900 - 5906 on my 3Com Officeconnect cable/DSL router in order to log into the VNC server running on my computer (from the Internet).

    I have selected port 5900-5906 and the (local) IP address of the computer hosting the VNC server using the "virtual server" option on the firewall settings. The VNC server does run un port 5900.

    However, I am not able to connect to the VNC server. Anyone have any ideas how to correct this error?
  2. Nodsu Newcomer, in training Posts: 9,431

    How and from where are you trying to connect? Many routers do not support loopback connections - you cannot connect to your own internet address from your internal network.

    Is the software firewall on the computer cofigured properly? Make sure that the VNC server is configured to accept connections from all remote addresses. Can you connect to the VNC server using another computer on the LAN?
  3. t_v Newcomer, in training Posts: 16

    Thanks for your fast reply :)

    I have disabled the SW firewall at the PC running the server when debugging. I'm connecting from another computer outside the LAN/WLAN using the Internet.

    I have tried 2 configurations:
    1. Connect the computer running VNC to the router using CAT5 cable. Connect from another computer oustide the LAN/WLAN using the Internet. This works perfectly fine! (10.0.0.X)
    2. Connect the computer running VNC to the router using the WLAN. Connect from another computer oustide the LAN/WLAN using the Internet. This does not work (192.168.10.X) (I get reply on PING)
  4. jobeard TS Ambassador Posts: 12,210   +118

    VPN software will by design disable access to a local LAN. This is important to
    the remote system security that you are connecting to.

    Consider: If LAN access were allowed while the VPN connection were active, then
    anything on the LAN could use the VPN link to access and corrupt the remote system.

    VPN usage is typically binary: you access the remote VPN site OR disconnect and
    access your LAN systems.
  5. t_v Newcomer, in training Posts: 16

    There must be something I don't understand....

    I have computer A and B connected to a 3Com gateway. They both have local IP addresses, but they share the same global IP address. Both are running VNC servers.

    Then, I have computer C running VNC viewer at a very different location.

    When I configure the viewer at C to connect to the global IP address of computer A&B, I'm able to connect to A as long as it also is wired to the router using a CAT5 cable. However, when A&B only are connected to the router using wirless, I'm unable to connect to A.

    What I don't understand is:
    1) Why am I able to connect to A (from C) when A is wired to the router, but not when A is not wired to the router?

    2) If I'm able to resolve 1). How do I select if a want to connect to A or B? (They both have the same global IP, which I configure at C...)

    I'm a little confused...
  6. jobeard TS Ambassador Posts: 12,210   +118

    I'll quote this ...
    VNC by default uses TCP ports 5900 through 5906, each port corresponding to a separate screen :)0 to :6). A Java viewer is available in many implementations such as RealVNC on ports 5800 through 5806, allowing clients to interact through, among other things, a Java-enabled web browser. Other ports can be used as long as both client and server are configured accordingly. Some operating systems, such as Windows XP, only support a single VNC session at a time[citation needed].

    Using VNC over the Internet works well if you have a broadband connection at both ends. However, it may require advanced NAT, firewall and router configuration such as port forwarding in order for the connection to go through. Some users may choose to use instant private networking applications such as Remobo or VPN applications such as Hamachi to make usage over the Internet much easier. Remobo also adds an additional layer of encryption for enhanced security.
     
  7. t_v Newcomer, in training Posts: 16

    Thanks your your information.

    I've also checked www.portforward.com. Seems like I have configured VNC / portforward at the router according to the guide. Still don't get any contact with the VNC server from Internet. Ping reply OK. OK when running VNC client on another computer inside the LAN/WLAN.
  8. tipstir TS Ambassador Posts: 3,668   +15

    I've tested this on wireless laptop at a different location about 20 to 30 miles from my network home. Try Ultra VNC it has more features looks like Radmin from Farmtech. But Ultra VNC is freeware and uses the java client. What I would do if I was you is get Ultra VNC install both client and server on the PCs you need to access.

    In you router point Port 5900 to 5999 TCP/UDP to your IP address you want to connect too.. If you don't have a domain setup you can use no-ip or dyndns.org and that will take your IP from your ISP and make it into a domain name but still using your IP. Kinda masking it in a way for free. If your router doesn't have the tools to keep this free service alive you need to download their software client to run.

    Example. http://tv_home.ip.net so instead of using 59.99.99.99 ISP IP assigned to you it would be now called http://tv_home.ip.net

    Now from any remote location you could VNC into the that by this way:

    http://tv_home.ip.net:5900

    user name
    password box you prompt you to get access to your remote network

    Also another way to do this some routers have VS (virtual server) that allows you to gain access to your netwok from the internet.

    Name of Service_Remote Access
    Port 5900
    Port 5999
    IP adddress of the system you want to connect to:
    always available
    schedule to shutdown or stay open from etc. etc..
  9. Nodsu Newcomer, in training Posts: 9,431

    When describing your successful and unsuccessful connections, you said that the wired network is 10.x.x.x and the wireless network is 192.168.x.x? Basic routers do not support several different LANs, but you are claiming that you have two different local networks. You either have an advanced business-class router or two router devices there or some messed up networking..

    Is your router the device that is providing wireless connectivity (does it have antennas attached!)? If no, then you have to take a look at this other thing that is dishing out 192.168 addresses.
  10. t_v Newcomer, in training Posts: 16

    I have a 3Com officeconnect wireless 11g Cable / DSL router.

    The antennas / WLAN provides the 192.x. network, the switch (included in the router) provides the 10.x network using CAT5 cable.

    I have now tried remote desktop. I enabled remote desktop (incudling the windows firewall) on the computer I would like to connect to. Then I configured port forwarding to the local 192.x IP address of this computer (port 3389)

    However - there is no response when I try to connect to the router / global IP address from the other computer (located outside the LAN/WLAN-Internet).....
  11. jobeard TS Ambassador Posts: 12,210   +118

    if the target system is on the 10.x.x.x net, then the secondary router needs port forwarding too.
  12. t_v Newcomer, in training Posts: 16

    thanks.

    I'm afraid the target system is on the 192.x
  13. Nodsu Newcomer, in training Posts: 9,431

    Well, try to figure out how your network is built. Obviously it is not a simple router sharing a broadband connection. See what exactly connects to what. (Including the fact that you may be connecting to an open wireless network across the street.)
  14. t_v Newcomer, in training Posts: 16

    Global IP: 80x

    3COM CABLE /DSL Router
    -> Connection 1: CAT 5/LAN, IP10x -> Computer 1
    -> Connection 2: WLAN, IP192x -> Computer 1
    -> Connection 3: WLAN, IP192x -> Computer 2

    if CAT5/LAN disconnected computer 1: Ping to 80x OK. VNC to 80x NOK. (from Internet)
    if CAT5/LAN connected computer 1: Ping to 80x OK. VNC to 80x OK. (from Internet)
    VNC between from computer 1 to computer 2 OK. (using 192x network)

    i.e. VNC is OK when computer 1 is connected to the 10x network (using CAT5). VNC is NOK when computer 1 is connected to 192x (using WLAN).
  15. t_v Newcomer, in training Posts: 16

    Please see attached JPG file

    Attached Files:

  16. Nodsu Newcomer, in training Posts: 9,431

    So, how do you know that this 192.168 IP came from your OfficeConnect router?

    Try this: go to the 3com's setup and disable wireless. See if A and B still get the same wifi connection.

    Also, the exact model of the router would help. OfficeConnect is a huge product line of different stuff.
  17. t_v Newcomer, in training Posts: 16

    There's no other wireless network in the area. (it's a remote location)

    I'll revert with the exact model of the router.
  18. Nodsu Newcomer, in training Posts: 9,431

    OK, assuming that you are indeed connecting to the correct router device (not even an ad-hoc connection advertised by another computer), you are still receiving the wrong IP configuration over DHCP. Could it be that there is a computer on your network that is set up to do internet connection sharing and it is sharing its wired connection to wireless, overriding the router's DHCP?

    Get the "ipconfig /all" output from the wired computer and the wireless one (paste here maybe).
  19. t_v Newcomer, in training Posts: 16

    Router model: 3 crwe554g72t
  20. Nodsu Newcomer, in training Posts: 9,431

    The router manual confirms that it's a simple device and has only one LAN network served by one DHCP server.

    Assuming that your wireless and wired networks are both connected to the same router, you either have misconfigured the client compters or you have two DHCP servers on your network.