Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Sidney on August 21, 2001, 09:48:47 PM
-
Hello,
How do you setup e-smith to allow a pc to be remote controlled by netop or pcannywhere software from a computer outside of the network?
netop ports are tcp 6502 & Udp 6502
pcannyWhere are Tcp 5631 & Udp 5632
thanks
-
it's harder than that, at least for PCA32, since it choose random ports as well when it begins it's control connections. I don't know of anyone successfully doing it with proper security. You might wnat to ref. symantec.com for more info.
-
Has anyone have any luck getting this to work ?
Does anyone have any other solution to be able to remote controll a pc thought an e-smith server ?
-
ipmasqadm portfw -a -P tcp -L (external IP here) 5631 -R (interal host IP) 5631
ipmasqadm portfw -a -P udp -L (external IP here) 5632 -R (internal host IP) 5632
This will forward the PC Anywhere traffic to the internal PC Anywhere host. As stated before be carefull and use strong security. This is a big hole through your firewall.
Justin.
-
VNC: http://www.uk.research.att.com/vnc/ is great for remote control. It is free and works cross-platform. You either have to redirect a port for it or use PPTP or an ssh session with port redirection to get through the e-smith firewall.
http://www.uk.research.att.com/vnc/faq.html#q51 discusses firewalls and VNC.
-
Actually the easiest way is to enable PPTP services on the e-smith server and build a PPTP link which provides your remote PC with an internal IP address.
This also allows you to PCAnywhere to multiple PCs within the LAN, file and print services and works transparently under 2000. If you go under TCP/IP, Properties, Advanced and uncheck use default gateway on remote network you can leave the VPN connection up 24/7 if you wish.
-
Sean,
Thanks for responding to my question.
Would you mind giving me step by step instruction on how to do this.
Also I would like to say thanks for all the other responses.
I realy do appreciate all the help.
Thanks
-
I'd be extrememly interested in knowing those details, too! Any help would be much appreciated.
-
I though I had posted this before but it appears it didn't actually post:
On the e-smith manager webpage, Security, Remote Access,
Number of PPTP clients: something above 0 (I chose 10)
This enables PPTP access for all valid e-smith username/password pairs.
Save changes.
On the Windows client (2000 used in this example)
Start, Settings, Network and Dial-up connections, Make new connection
Choose 'Connect to a private network through the internet'
I select 'Do not dial the initial connection' because my work has a dedicated connection.
Host name or IP address should be the IP address of the _outside_ interface of e-smith. (Or DNS name if you're doing dynamic IPs)
I choose all users (I'm the only one on my PC)
Do not check 'Internet Connection Sharing' (Too complex a topic for this thread)
Give it a name and click finish.
Make sure you are not connected to the e-smith LAN (also, some NAT devices do not pass PPTP packets correctly so you might want to test with a pure dialup first) and click the connection.
Sean
-
Note:
If you leave the VPN connection up _all_ your traffic outside your local LAN, such as internet traffic, will be routed via the VPN link to the e-smith server and back out again.
If you want to leave the VPN link up and still have normal internet access:
Start, Settings, Network and Dial-up connections, 'Your VPN Name' (right click it), Properties.
Networking tab, Internet Protocol, Properties, Advanced, uncheck 'Use default gateway on remote network'
Sean
-
Thanks
Sean
-
What if you use DHCP for your external IP? Is there a way to set it up to get the current IP address?
Thanks
-
I suggest checking Appendix B of the e-smith manual and configuring dynamic DNS so that you can refer to the hostname instead if IP address. I have a static IP address for my e-smith server so I can't help you much with Dynamic DNS. However it is officially supported by e-smith...
Sean
-
So do you mean that I can replace the (external IP) of Justin's command line to a DNS entry?
Scott
-
No, my understanding is that the ipmasqadm requires an IP address for both sides of the masquerade. My response which is two entries below Justin's chooses to avoid the whole idea of port forwarding via masquerade and use PPTP to assign an internal IP address to your remote pc. The PPTP client on the remote pc can use a DNS name instead of an IP address allowing you to use dynamic DNS on the e-smith server to follow your dynamic outside IP.