Koozali.org: home of the SME Server

vnc/pcanywhere help needed

jor70

vnc/pcanywhere help needed
« on: February 10, 2004, 04:45:03 PM »
Hi, I recently found e-smith distro and I just installed sme 6beta3. I have the serverwith 2 ethernet cards (1 for my cablemodem internet conection) and 2 win98 stations. all works great,   the internet proxy,  the mail server (I install openwebmail ) and the i-bays
I all also install the awefomse contribs from here (fetchmail, spam assassin, mgrt, sysmon) you really done a great job with them

last, I need the access from one of the win98 stations a vnc server and a pcanwhere host outside my network via the internet
I cant find a way to configure the iptables (?) or something else from the server-manager
any guide with this will be appreciatted
thks in advance

jok11n

Re: vnc/pcanywhere help needed
« Reply #1 on: February 11, 2004, 03:52:22 AM »
Quote from: "jor70"
Hi, I recently found e-smith distro and I just installed sme 6beta3. I have the serverwith 2 ethernet cards (1 for my cablemodem internet conection) and 2 win98 stations. all works great,   the internet proxy,  the mail server (I install openwebmail ) and the i-bays
I all also install the awefomse contribs from here (fetchmail, spam assassin, mgrt, sysmon) you really done a great job with them

last, I need the access from one of the win98 stations a vnc server and a pcanwhere host outside my network via the internet
I cant find a way to configure the iptables (?) or something else from the server-manager
any guide with this will be appreciatted
thks in advance


First thing you should be using version 6 final for best results, there are known issues with beta3. Can you give an accurate description of what you want to do. I have set up multiple instances of version 6 with pc anywhere, terminal server, windows remote desktop etc and the configuration is quite straightforward. I'm sure if you give some more info of what you are wanting to achieve I can help.

Anonymous

Re: vnc/pcanywhere help needed
« Reply #2 on: February 11, 2004, 10:59:03 AM »
Quote from: "jok11n"
First thing you should be using version 6 final for best results, there are known issues with beta3. Can you give an accurate description of what you want to do. I have set up multiple instances of version 6 with pc anywhere, terminal server, windows remote desktop etc and the configuration is quite straightforward. I'm sure if you give some more info of what you are wanting to achieve I can help.


Hi, I install 6 final, I have the server with 2 cards (eth0 for the internal network 192.168.0.x and eth1 for the cablemodem of my ISP)
the linux server-gateway (192.168.0.1) have 2 win98 clients ( 192.168.0.2 & 3)
both clients can already surf the internet, use mail (I install openwebmail on the linux server) and i-bays.
what I need is that the win98 clients (192.168.0.2 & 3) could use a vnc client (or pcanywhere remote) to reach a vnc server (or pcanywhere host) that are in the internet, that is, outside my network
please help me
thanks!

jok11n

vnc/pcanywhere help needed
« Reply #3 on: February 11, 2004, 12:43:29 PM »
There is no tricks to getting out of the box to the outside world, it's only when you want to come in that port forwarding is required. I would suggest double checking all your settings, If however you want to access your win98 machines that are inside your network from the outside world then you need to configure the port forwarding. If you are using fixed ip's on the machines have you also added the gateway details in the network config? You might want to set the ip's to auto assigned by dhcp and see what effect that has too.

Anonymous

vnc/pcanywhere help needed
« Reply #4 on: February 11, 2004, 08:51:00 PM »
Quote from: "jok11n"
There is no tricks to getting out of the box to the outside world, it's only when you want to come in that port forwarding is required. I would suggest double checking all your settings, If however you want to access your win98 machines that are inside your network from the outside world then you need to configure the port forwarding. If you are using fixed ip's on the machines have you also added the gateway details in the network config? You might want to set the ip's to auto assigned by dhcp and see what effect that has too.


Awesome!, thanks for this, I just forgot to put default gateway on windozes,  vnc works great!

Offline del

  • *
  • 765
  • +0/-0
vnc/pcanywhere help needed
« Reply #5 on: February 12, 2004, 02:24:05 AM »
Hi jok11n,
What ports need to be forwared to use vnc (or pcanywhere) from outside the local network? Is this a secure as vpn? Thanks.
Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Bob

vnc/pcanywhere help needed
« Reply #6 on: February 12, 2004, 04:20:55 AM »
VNC users 590x where x is the session number. If you have a PC on 192.168.0.1 running VNCserver, then you should forward 5901 TCO to that destination.

PCAnywhere needs 5631 and 5632. I do TCP and UDP on both and it works.

jor70

vnc/pcanywhere help needed
« Reply #7 on: February 12, 2004, 02:30:10 PM »
Quote from: "Bob"
VNC users 590x where x is the session number. If you have a PC on 192.168.0.1 running VNCserver, then you should forward 5901 TCO to that destination.

PCAnywhere needs 5631 and 5632. I do TCP and UDP on both and it works.


Hi, can you please show me how to do this ?  I have the server with 2 cards (eth0 for the internal network 192.168.0.x and eth1 for the cablemodem of my ISP)  the linux server-gateway (192.168.0.1) have 2 win98 clients ( 192.168.0.2 & 3)
Suppose the pca is inside the box at 192.168.0.3
thks in advance

Anonymous

vnc/pcanywhere help needed
« Reply #8 on: February 12, 2004, 05:30:11 PM »
This used to work for me:

ssh -l userid -L 5901:192.168.0.3:5900 external_ip_of_sme_server

Given 192.168.0.3 is the machine you want to access on your internal network.  Then fire off VNC (while ssh is still running) and connect to 192.168.0.3:0

Hope this helps...
[/quote]

oregonbob

vnc/pcanywhere help needed
« Reply #9 on: February 14, 2004, 09:41:16 PM »
The above reply from guest using ssh should work OK. I have clients who use standard PCA with PCA encryption, so they don't need any other Windows software other than PCA. You should have the "Port Forwarding" panel in your Server-Manager.

In the Port-forward module, create two new rules. Say your PCA host is on 192.168.0.10. You would add two rules:

   Protocol SourcePort DestinationIP Dest-Port
   -------- ---------- ------------- ---------
   TCP        5631      192.168.0.10   5631
   UDP        5632      192.168.0.10   5632

Reboot your SME server. After that, anyone on the Internet with PCA can start a PCA remote to your SME server and the server will "forward" traffic to the destination PC, in our example 192.168.0.10 running PCA Host.

jor70

vnc/pcanywhere help needed
« Reply #10 on: February 15, 2004, 01:11:13 PM »
Quote from: "oregonbob"
The above reply from guest using ssh should work OK. I have clients who use standard PCA with PCA encryption, so they don't need any other Windows software other than PCA. You should have the "Port Forwarding" panel in your Server-Manager.

In the Port-forward module, create two new rules. Say your PCA host is on 192.168.0.10. You would add two rules:

   Protocol SourcePort DestinationIP Dest-Port
   -------- ---------- ------------- ---------
   TCP        5631      192.168.0.10   5631
   UDP        5632      192.168.0.10   5632

Reboot your SME server. After that, anyone on the Internet with PCA can start a PCA remote to your SME server and the server will "forward" traffic to the destination PC, in our example 192.168.0.10 running PCA Host.


Thanks! I havent port fwd in my server manager, could someone point me to the rpm ?

Jason

Need help in locating SME v6.0 Final
« Reply #11 on: February 15, 2004, 03:12:49 PM »
Hi,

Can give me the SME v6.0 Final URL ? Had tried to search the site but all is beta version...

Thanks in advance

Jason

Need help in locating SME v6.0 Final
« Reply #12 on: February 15, 2004, 03:13:28 PM »
Hi,

Can give me the SME v6.0 Final URL ? Had tried to search the site but all is beta version...

Thanks in advance

Offline del

  • *
  • 765
  • +0/-0
vnc/pcanywhere help needed
« Reply #13 on: February 15, 2004, 03:50:48 PM »
Hi Jason,
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/releases/6.0/iso/
Should be the Final Release.
Regards,
Del :pint:
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

jor70

vnc/pcanywhere help needed
« Reply #14 on: February 16, 2004, 07:15:20 PM »
Quote from: "oregonbob"

In the Port-forward module, create two new rules. Say your PCA host is on 192.168.0.10. You would add two rules:

   Protocol SourcePort DestinationIP Dest-Port
   -------- ---------- ------------- ---------
   TCP        5631      192.168.0.10   5631
   UDP        5632      192.168.0.10   5632

Reboot your SME server. After that, anyone on the Internet with PCA can start a PCA remote to your SME server and the server will "forward" traffic to the destination PC, in our example 192.168.0.10 running PCA Host.


thks!, what ports do I need to setup to use vnc ?
 TCP 5900 or UDP 5900 ?

oregonbob

vnc/pcanywhere help needed
« Reply #15 on: February 17, 2004, 05:35:43 AM »
For VNC you only need 5900 TCP, no UDP. You can pick different ports too. For exmaple, you could map port 4024 (or whatever) on the SME server to forward to 5900 on the PC. Then from the outside, you could run VNC client and connect to yourdomain.com:4024. I use this technique to setup and route multiple PC's on internal network. If you pick your own port to use, any would-be hacker looking specifically for VNC servers on the default ports would be foiled.