Creating an incoming VPN connection on Host Computer
1. Go to Control Panel and open Network and Sharing Center.
2. Click on Change adapter settings
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Press Alt+F and select New Incoming connection…
4. Put a check on who you’d like to give access to this computer or you can configure a new account by clicking on Add someone… Click on Next.
Click this bar to view the full image.
5. Put a check mark on Through the Internet. Click on Next.
6. Select the protocols you want to enable for this connection. Click on Allow access.
Tip: Default selections (Recommended): Internet Protocol Version 4 (TCP/IPv4), File and Printer Sharing for Microsoft Networks and QoS Packet Scheduler. You should have at least TCP/IPv4 selected to successfully accept connections. Highlight the protocols for their descriptions.
A) To allow the client access your LAN resources, highlight Internet Protocol Version 4 (TCP/IPv4) and click on Properties. Put a check mark on Allow all callers to access my local area network. Here you can have the IP assigned automatically, assign IPs following your LAN segment format or let the client assign its own IP address.
7. Take note of the Computer name as this will be used by the client to connect to this computer. Click on Close.
8. You will now have the Incoming Connections icon in Network Connections. Your computer is now ready to accept incoming VPN connections.
Important: Configure your firewall to allow access to TCP port 1723 to allow incoming Point-to-Point Tunneling Protocol (PPTP) connection for VPN.
Router Configuration: Enable PPTP and Generic Route Encapsulation (GRE) on the Router. Depending on the type of router, you need to either enable PPTP or create a port forward to port 1723. If you’re router has an additional setting for PPTP or VPN, make sure it’s enabled. It’s usually called a “pass-through” setting (i.e. PPTP pass-through or VPN pass-through)
Creating an outgoing VPN connection on Client Computer
1. Go to Control Panel and open Network and Sharing Center.
2. Click on Set up a new connection or network.
3. Select Connect to a workplace then click on Next.
4. Select Use my internet connection (VPN)
5. Type the IP address or computer name where you wish to connect and your connection name under the Destination name field.
A) If connecting on a local resource or a LAN computer, you can type its computer name or IP address. The computer name shown here is taken from the previous tutorial Virtual Private Network (VPN) - Enable Incoming VPN Connections.
B) If connection to a computer behind a router and DNS is enabled using the computer’s name, put that in the Internet address field. If no DNS has been configured, type in your router’s IP address.
C) This section allows you to enable the use of a smart card, allow other users of your computer to access this connection and an option to disable immediate connection upon finishing the client setup.
6. Enter a User name and password that has been granted access to the host computer. If you put a check mark on the Show password field, it will display your password instead of dots. You can also choose to save your password and enter a Domain.
A) If you did not put a check mark on Don’t connect now, just set it up so I can connect later in Step 5, you will see a Connect button. Clicking on Cancel will discard all your settings. Clicking on Connect initiates the connection and you will see the following screens
Then…
NOTE: Upon successful connection, you will be prompted to classify the VPN connection as a Home, Work or Public Connection.
B) If you did place a check mark on Don’t connect now, just set it up so I can connect later in Step 5, you will see a Create button. Clicking on Cancel will discard all your settings. Click on Create.
7. To connect to using the created VPN connection, you can either right-click on the Network icon in the system tray and select Network and Sharing Center or go to Control Panel and open Network and Sharing Center, and click on Connect to a network.
A) This will bring up a window on the lower right hand corner of your monitor, just above the system tray. Click on VPN Connection and a Connect button will be shown. Click on Connect.
8. Connect VPN Connection windows appears. Clicking on Connect initiates the connection. Clicking on Properities allows you to modify the VPN Connection Properties as well as configure connection sharing.
Creating an outgoing VPN connection on Client PDA
1. Go to Start/Settings/Connection
2. Add a new VPN connection
3. Click on the VPN tab (incase you missed it in step 2 )
4. Create a new VPN Connection and supply the VPN's name and IP Adress.
5. Choose the Protocol
6. Supply the Username and Password you created earlier on the Host computer
7. click Finish
8. Now click-hold on the connection you created and click Connect (you can check the connection status on the Host Computer to see the VPN connection works).
Creating a Remote Desktop Host on Host Computer
1. Go to Start/Control Panel/System/Remote Settings
2. Choose the 3rd option.. "Allow only users..."
3. Click on Select Users
4. Now, you can either add a new User with a new password to connect from
or you can add a password to your existing user. Anyways, you'll have to have a password to one of the users on your comp, otherwise you won't be able to connect. You should also remember that the user should be an admin so that you can read/write using remote desktop.
A. to add a new user go to Start/Control Panel/User Accounts and select Manage Another Account and then Create a New Account (don't forget a password).
B. to add a password to your existing User Account go to Start/Control Panel/User Accounts and select Create a password...
5. Now that you've created a user and a password, you can go back to Select Users (Step 3) and select the user you've created.
Go to Add and write the name of the user you created and click on Check Names. Choose the user and apply all changes.
(Of course, you will have to be connected to the VPN first in both cases (Mobile and PC).. but since you already created the VPN connection.. it's all good )
Cheers
Connecting to the Host Remote Desktop from Client Computer
The Easy Part.
1. Go to Start/All Programs/Accessories/Remote Desktop Connection
2. Write the user name and password for the user you've created and click Connect.
Connecting to the Host Remote Desktop from Client PDA
1. Go to Start/Programs and run Remote Desktop Mobile
2. Put in the required IP inside the LAN and the user name and password set for the right users and click connect.
Great info, thanks a lot!
my HTC HD don't connects
I dont see why creating a VPN connection between the client and the host is necessarry at all. You can simply connect to the host PC via an RDP client if both machines are connected to the internet (or are on the same LAN), incoming remote connections are enabled on the host, and the host accepts connections on port 3389 (i.e. not blocked by the router).
NightLord said:
I dont see why creating a VPN connection between the client and the host is necessarry at all. You can simply connect to the host PC via an RDP client if both machines are connected to the internet (or are on the same LAN), incoming remote connections are enabled on the host, and the host accepts connections on port 3389 (i.e. not blocked by the router).
Click to expand...
Click to collapse
this is meant to be more a business type of connection, considering a lot of companies require connecting to the domain before being able to use RDP.
The VPN setup is superfluous, all that's needed is to make sure remote desktop is enabled and port 3389 is punched through on the router and system firewall.
No real business, especially one with a domain, is going to run a VPN server off a client operating system such as Windows 7. If a VPN server exists it's off a dedicated hardware device or server operating system. Client OSes limit themselves to 10 unique connections, hardly suitable for any sizable business.
I personally run an OpenVPN server on a Server 2008 computer. OpenVPN is a very robust and powerful VPN that can work over port 443 SSL which makes it ideal for connection from locations that may have outgoing ports blocked, since as far as the firewall is concerned the VPN connection is just regular HTTPS traffic. And yes, there's a free OpenVPN client for Windows Mobile that works just fine.
Any way to make this work via bluetooth?
Ok. I tried this but some how it's not working for me.
NightLord said:
I dont see why creating a VPN connection between the client and the host is necessarry at all. You can simply connect to the host PC via an RDP client if both machines are connected to the internet (or are on the same LAN), incoming remote connections are enabled on the host, and the host accepts connections on port 3389 (i.e. not blocked by the router).
Click to expand...
Click to collapse
Basically Win 7 Home Premium, which is what most have, does not allow for remote desktop hosting. It was purposly removed you can only use it as a client, thus able to control another pc, but not able to control your win 7hp one. i will test this later might be a work around that can work using vpn.
Thanks. I tried the remote desktop. Very nice.
This is very good Tutorial, thanks
A dumb question... What the router settings should be?
External Port: ?
Internal Port: 1723
To IP Address: my local network IP?
Thanks for a hint.
P.S. ATM I have a port forwarding set 80 -> 9080 due to Remote Potato Server (MCE 7W remote access)
Anyone pls?
coolVariable said:
Any way to make this work via bluetooth?
Click to expand...
Click to collapse
only if you have PAN - see my dedicated articles.
thank you for the tuturial its realy helped me with my hd2
Nice... This working for me Thanks
Need some help,
I have a HTC HD2 and its connected by Wifi.. and i wanna access my Laptop wich is connected on the same wifi by the remote desktop
Using a Win 7 Ultimate
I have done this
1. Go to Start/Control Panel/System/Remote Settings
2. Choose the 3rd option.. "Allow only users..."
Then add a user
Username: htc
Pass: hd2
Now here is the tricky part?!
1: Go to Start/Programs and run Remote Desktop Mobile
2. Put in the required IP inside the LAN and the user name and password set for the right users and click connect
WHat Should i Write in the HD2 Remote desktop
In Computer what should i Write ? Pc name ?
User: htc
pass: hd2
Domain ?? What should i write there ? i tried pc ip and it didnt work!
Related
When I go to set up RDP on my laptop, it asks for "Computer" & "User Name". Well I think I found my Computer's name - when you go to System and click the Remote tab, it displays: 'Full Computer Name' - so I *think* I'm set there (right?) My problem is that for "User Name", when click the Start button, at the top it says "Administrator". So when I fired up RDP on my phone and filled out the information, it came back with:
"Cannot connect. Likely reasons are: 1. Specified computer name or IP does not exist 2. A network error occured while establishing a connection"
I will say that I HAVE checked the Firewall Exception box that allows for Remote Access and I have also allowed users to connect via remote access through my System window on the Remote tab. What I HAVEN'T done, however, is anything in the way of port forwarding for 3389. I'm more than familiar with networking and working with routers, so that's not my issue. My issue is, if I'm supposed to forward a port to my IP address, how can I do that when all I can change is the last number:
http://img9.imageshack.us/my.php?image=portip4.jpg
1 - Is my user name being 'Administrator' a problem?
2 - How do I forward the ports, or work with this end of RDP? I've read about the DNS, but don't know exactly how to go about doing it.
I've been in my router before and changed some settings for the Xbox, so I don't think that has to do with DHCP on my local machine here, but correct me if I'm wrong. My question/problem is that this is set to "Automatic Configuration - DHCP"...
http://img232.imageshack.us/my.php?image=configbz4.jpg
...is this a problem? Do I need to change this at all, as in, get in contact with my ISP and go through this setup? Furthermore, if I DO end up having to change this, will it affect anything else on my network? Some people just said they checked the exceptions and logged in without configuring a DNS, so I'm wondering exactly what all I have left to change?
When you try to connect to your computer or laptop from the internet you'll need your public IP address. (not your computer name)
Go yo http://www.whatismyip.com/ on your computer at home.
Second, on your router you have to forward port 3389 to the local ip address from your computer.
Then from outside your home network you start RDP and connect to your public IP address. Your router then will forward that connection to your computer/laptop.
johanromijn said:
When you try to connect to your computer or laptop from the internet you'll need your public IP address. (not your computer name)
Go yo http://www.whatismyip.com/ on your computer at home.
Second, on your router you have to forward port 3389 to the local ip address from your computer.
Then from outside your home network you start RDP and connect to your public IP address. Your router then will forward that connection to your computer/laptop.
Click to expand...
Click to collapse
**EDIT**
Perfect, got it down 100%. Although as a side note.. does anyone know of a way to make the resolution/colors better? It works fine and all, but the picture is just a bit distorted with the colors all off.
I use Remote Administrator and I have found it to be the best! It will also allow you to use your native resloution that is set on the host PC you are connecting to whereas RDP won't and if you are tying to view remote camera's like I do or anything that has a specific resolution required, RDP will fail where Remote Admin will not.
The latest version is v.3.0 and it's only like $30 or even less if I remember correctly. A search of your favorite file dispensing forum may find a test version to try out and if I remember correctly, Radmin lets you use it for 30 days before you have to buy the reg key.
My original version V2.1 was upgradeable to V3.0 for free and works for Vista and allows me to connect to my PC at home which I still have v2.1 on.
It's a great app, real small and FAST!
There's also VNC which is similar to Radmin, but lacks the hidden view only mode... Great for keeping an eye on what the kids are doing on the internet without them knowing you are watching!
Hope this helps...
So i have the HTC HD2 and want to use the remote desktop which is build in the phone. The problem is that i have no clue how to set up my pc.
Im running on windows xp home edition and using a router. I saw a tutorial for setting it up where he basically told me to open a port and it works. After doing that it didnt work and i suspect there are some things not explained in the tutorial... Can anyone help me out on this?
Will not work on XP Home.
Ah i kinda had that feeling, im trying the same thing on my laptop which is windows xp proffesional. But i still cant log in. I also enabled the "allow remote"
Have you activated "Allow remote assistance" or did you activate "Allow connections" ? The latter is the one you need. Also make sure you're in the list of allowed users.
Doing this off the top of my head, I'm using Vista and it's been a while since I've needed to go into those options in XP.
You must have a password set too, so if the computer boots up and goes straight to your desktop without you having to log in, you'll need to set a password.
To access your computer when on the same network (wifi) use the computer's IP address.
Get this by running cmd on the computer and type ipconfig (then hit return).
To access your computer via the internet (over the phone network) use the computer's external IP address.
Get this by going to whatsmyip.org
You'll also need to configure your router to forward TCP port 3389 to the computer's IP address (found via ipconfig as above).
The thing is, with most home broadband connections, your external IP address can change, so get around this problem by using dynamic DNS.
Some routers have a DDNS client built in, with a list of compatible DDNS services. Just go to one of those services' websites and sign up, often it's free. Pick an domain name to register, ie p03p.dyndns.org, and use that to connect rather than your external IP address.
Best to check you can connect via wifi first using the computer's internal IP address.
If that doesn't work, are you running a firewall?
If you don't have a 3rd party one like Symantec/Norton, then check the windows firewall - ensure the Remote Desktop exception is ticked, if it is, then disable the firewall, and also untick the network connections on the advanced tab (even though the windows firewall says it's disabled, don't expect it to know that!).
If you use a 3rd party firewall, then look into how you can add a rule for port 3389 (RDP)
One way to get around the issue of a dynamic IP address on the home PC is to use Himachi2....it's a super-simple way to create a tunnel to your home pc no matter what the ever-changing external IP address is, and they have a winmo client now too. You simply set up the host once on your home PC, and as long as you leave it running it's very easy to create the remote connection just like you're on the local network with the PC....then you just use Remote Desktop that way
I ticked both the allow options just to be sure. What i also did is go on my 2nd laptop which also has windows xp pro on it to try and connect to my 1st laptop which also didnt work.
I think the problem lies in the list of allowed user. When i get into that list i dont see anyone in it. I assume i have to add my 2nd laptop in that list in order to get this to work. I tried to look a bit arround but i dont know how to add someone to that list.
I am not sure if its the right forum to ask this question, but knowing the smart ppl we have here i hope i am wrong!
I just downloaded Remote RDP Enterprise 3.2 and i am trying to setup so i can connect to my home pc. I am using a router model WGT624 netgear router. I tried the port forwarding (had to setup custom PF, because it wouldnt let me add 3389 as a port on the services which offers through the router) as it was suggested but i think i might be doing something wrong because it just wont connect at all.
my PF on my router looks something like this:
# Service Name Start Port End Port Server IP Address
1 RDP 3389 3389 192.168.X.X
And when i goto whatismyip.com i have a different IP address: 67.234.x.x
on the app on my phone which IP address do i connect through?
Anyone use the same app and has a netgear router and knows how to set it up? or any documentation on how to get this thing working and can share it would be extremely helpful, its for my work!
Thanx so much in advance
Hi iknight8. I don't have that app but I'll try and help.
You need to connect to the external IP address (67.234.x.x) when you are on the internet and the internal IP (192.168.X.X) when you are on your internal network.
A good troubleshooting step would be to try connecting to you PC on the internal address when you are connected to your wifi. This should work with any of the port forwarding you have setup so if it doesn't then then you know it is a proble with the setting on the pc itself. Remote desktop has to be enabled in the computer settings and allowed on any firewalls you are using.
i tried connecting both but i get a Socket is not connected message!
if u can use it and let me know of the setting to make it work would be nice
Thanx again
p.s. wen i am on internal wifi network, same as pc and i put that PF ip addess, i get a mesage "no route to host"...
Do you have allowed RDP connection on PC?
I downloaded the app and the first time I tried it on my wifi I got the same error as you, no route to host. The problem was that I didn't enable remote desktop on my PC. Once I set it to allow connections from computers running any version of remote desktop it worked straight away.
This is what I did.
1. In the app, press the menu button and add.
2. I put in the IP address of my pc and port 3389.
3. On my PC I disabled the windows firewall.
4. Also on my PC (I'm using windows 7), I enabled remote desktop by going to start, right click computer, click properties, click remote settings and check the allow connections from computers running any version of resmote desktop radio button.
5. finally I connected my phone to my wifi and tapped on the connection I created in the app. It gave me my logon screen.
If you can get this working hopefully your port forwarding settings are corect and that will work too. Hope this helps.
Synopsis:
Need to bypass corporate web proxy for unfiltered Internet access. Google Chrome is the preferred and tested browser, but Firefox should work as well. Corporate environment utilizes an automated global proxy setting, which must be bypassed using run-time arguments. Since I have a Squid proxy running at home on my cable connection, all I need to do is establish a port-forwarding tunnel from my phone to my house, then another from my laptop to my phone. This will allow me to browse the web and proxy any traffic through my phone to my proxy server at home, around our corporate proxy and firewall. The phone utilizes a DSL connection typically used for testing and other non-business traffic and is isolated from the corporate LAN.
Requirements:
A Web Proxy (Squid instance or other third-party available)
Atrix 2 Rooted (others not tested)
SSHDroid from Google Play
BusyBox (with ssh binary)
Google Chrome or Firefox
Putty SSH Client for Windows or other SSH client software AND a familiarization with SSH tunneling.
Procedure
On the Atrix 2, be sure 'Motorola Phone Portal' mode is configured for the USB connection. This will tell the phone to assign an IP address to the USB interface of the phone. In my case, it is 192.168.16.2. Once that is done, connect your phone to your PC via the USB cable. This may auto-launch IE on your desktop to your phone to the web portal on port 8080 and is not necessary.
On the Atrix 2, launch SSHDroid to enable inbound SSH connections. No special settings were configured in that app for any of this to work.
On your PC, manipulate your Chrome shortcut to use different proxy settings than the default. By default Chrome utilizes the Internet Settings on the PC, so this is necessary if you already have a proxy defined at the OS level. To do this, you must create a new shortcut to Chrome, then right-click on that shortcut, go to properties, and change the 'Target' field to include this information:
--proxy-server="localhost:3128" (don't forget the quotes)
Be sure to use this shortcut to launch Chrome or you will continue to use the OS-level Internet Settings.
Now, launch the Putty SSH client and create a new SSH session to your Android device. Enter the appropriate connection information, and under the Connection/SSH/tunnel section, define the port forward information for the web proxy. In my case I set it to port 3128 forwarding to 192.168.16.2:3128. Save this session. This will tell your PC when the SSH session is established to set up local TCP port 3128 to listen for requests, then forward them to the Android phone across the USB connection on the same port.
Try to connect to your SSH server on your phone. By default, the username is 'root' and password is 'admin' for SSHdroid. You should now be successfully logged into your phone.
In the Putty SSH session on your phone, you will now have to launch a command-line SSH session where you will establish the real tunnel to the real proxy server. Enter 'ssh <REMOTE SSH USERNAME>@<REMOTE SSH HOST> -L <IP OR HOSTNAME OF PROXY>:<PROXYPORT>:<USB NETWORK IP ADDRESS>:<LOCAL PROXY PORT>' (without quotes) to establish the SSH tunnel. Here is what my connection (sanitized) looks like. You can also run 'ssh -?' to get an idea of command-line options for the ssh binary.
ssh [email protected] -L 192.168.1.1:3128:192.168.16.2:3128
This will set your phone to listen on TCP port 3128 on the 192.168.16.2 interface and forward any requests to 192.168.1.1 on the same port. It is important to specify the USB interface as by default it will only set up connections on the localhost (127.0.0.1) interface, which won't accept connections from other remote hosts.
Finally, launch Chrome using the shortcut you created and you should now be sending all web traffic out the USB interface and through your phone to your remote proxy server. You can verify this by connecting to a resource such as your home Internet router on the LAN interface to verify. If you are running Squid at home, you should also be able to view your /var/log/squid/access.log and see your requests.
I have not tested remote web proxies or other methods, but in principle it should work.
Feedback and ideas for improvement are welcome!
I just USB tether and use Tunnelier (because putty does not have auto reconnect) and Proxifier (so I don't have to set the proxy settings in each application I want proxied)
Hi, I am very familiar with methods for bypassing mobile data (T-mobile) throttling when hotspot is enabled.
I tried every single one of them. It doesn't work on my phone which doesn't have USB debugging enabled.
Please don't tell me to root my device or enable usb debugging. I will never do that.
I have found one solution which is kind of a pain to setup everything
And I have found one other half measure which is a bit easier to setup.
Solution one involves,
1) Downloading Termux
2) Type ifconfig to get the hotspot IP address
3) Set password with passwd
4) Type sshd -dD
5) Then over to the PC, open up my ssh client (I use bitvise)
6) Type in the hotspot IP address and the listening port from step 4
7) Go to services tab and enable socks/HTTP proxy forwarding. Set listen interface at 127.0.0.1:12345
8) Go to PC global proxy settings and type in 127.0.0.1:12345
9) Check the speed to see that it is not throttled
10) I was getting 10-50 mbps now
Solution two involves,
1) Downloading proxy server app
2) setup a shadowsocks server at hotspot ip:random port with aes-256-gcm encryption
3) Go to the PC and download shadowsocks program.
4) Add server ip as the hotspot ip. Add server port as the random port assigned in step 2, add password
5) Right click on the tray icon and set system proxy as global.
6) Check to see that speed is not throttled at 600kbps
7) I found out that it was now throttling at 3mpbs instead of 600kpbs
Problems I am facing.
1)DHCP assigns random IP to the hotspot IP whenever you turn on / off the hotspot.
There is no way to assign static IP without root. So I like solution 2 because the proxy server app automatically updates shows me the hotspot IP and I can simply click it to set it. With solution 1, I have to go to termux and ifconfig everytime to get my ip address.
2) The shadowsocks solution is slower at 3mbps max speed compared to solution 1. Although it's better than the 600kbps throttle, I still don't know why it is being throttled at 3mbps. Anyone know how to fix this?
3) I would like to mask my internet activity on my PC from my mobile provider with a VPN or something. Everytime I enable the VPN on the PC on top of everything, Then I'm back to being throttled at 600kbps.
If I enable VPN on phone before setting up shadowsocks, then it doesn't work. My end goal is to prevent my carrier from knowing what I'm browsing on my PC that is connected up to the shadowsocks being hosted on my phone using the mobile data. How to achieve this?
Thank you.