LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PPTP conection from laptop at home to Remote server (https://www.linuxquestions.org/questions/linux-networking-3/pptp-conection-from-laptop-at-home-to-remote-server-537587/)

linuxdawg67 03-14-2007 10:15 PM

PPTP conection from laptop at home to Remote server
 
I have a laptop that I us at home which dual boots CentOS 4.4 and windows XP. My router at home is a CentOS 4.4 server. I can connect to the Internet on all devices. I want to be able to connect to my remote server at the office using PPTP on my Xp laptop. I get an error that says that the connection is refused. Can I portforward my server to the remote server or will I need to setup my server to handle PPTP? I have allowed ports 47 and 1723. I am not clear as to what I need to do. Any help will be appreciated. thanks.

combatwombat 03-15-2007 01:20 AM

Pptp?
 
Are u sure PPTP is what you want to do?
It sounds like all devices are connected to the internet using a broadband, always-on connection. If so, then your task is made really easy with VNC. I have accomplished this for a number of clients,using the following scenario:

Home PC --> Router-->No-IP.com Free DNS-->Router-->OfficePC

Step 1: setup free account with no-ip.com, or dyndns, or similar. Install DUC Client onto Office PC, ensure it is able to update itself. (it works by reporting to No-IP the external IP address of the router, being the unique IP address on the internet, and no-ip translates this to a url, eg myofficepc.no-ip.com)
Step 2: configure the work router to enable Port Forwarding of TCP packets on port 5900 to the internal network IP address of the office PC.
Step 3: Load a VNC application onto the Office PC ( I use UltraVNC 1.01). Configure with a password , not with MS-Logon.
Step 4: On your home laptop use a vncviewer, eg KRDC in KDE, to access the officePC at port 5900,eg myofficepc.no-ip.com:5900
If you're good, you will be asked for the password. Just enter this and you will see the remote desktop.

Hope that helps.:twocents:

decula 03-15-2007 05:26 PM

Quote:

Originally Posted by linuxdawg67
I have a laptop that I us at home which dual boots CentOS 4.4 and windows XP. My router at home is a CentOS 4.4 server. I can connect to the Internet on all devices. I want to be able to connect to my remote server at the office using PPTP on my Xp laptop. I get an error that says that the connection is refused. Can I portforward my server to the remote server or will I need to setup my server to handle PPTP? I have allowed ports 47 and 1723. I am not clear as to what I need to do. Any help will be appreciated. thanks.

That should be ip proto 47 (GRE) not port 47.

You never did tell us what the server at the office is, as far as I can tell.
In most cases, pptp is not enabled on a server by default.


All times are GMT -5. The time now is 12:28 AM.