Making Windows 7 As VPN Server And Mac As VPN Client. Surfing On Public Network Safer As VPN Encrypts Your Data!

Having a Windows 7 computer at home or office and you want to allow it to become a VPN server, but how?  Don’t worry, in this very post I’ll address that very question of yours!  First though, for whoever doesn’t know what is VPN server, I’ll quickly give a brief introduction to it.

VPN is virtual private network.  When you allow a computer to act as a VPN server, you basically allow computers outside your network to connect to VPN host and utilize the private network’s capabilities (e.g., accessing Internet, share files, etc…).  To make this a little clearer, you can sit in a coffee shop and access your office’s VPN to browse the Internet using your office’s Internet connection!

By now, you probably have a little question wiggles its way into your brain, wondering why you even need to access your office’s Internet connection even though you already connect to the coffee shop’s Internet connection.  You see, it’s somewhat safer for you to connect to your office’s Internet connection than from the public’s Internet connection such as one belong to a coffee shop.  With a private Internet connection such as your office’s Internet connection, you don’t have to worry about unknown users sniff your Internet traffic (e.g., prying on your Internet activities, stealing your plain text password).  In addition, the VPN connection will automatically encrypt all of your data from and to both ends of VPN (i.e., from the public to the private networks).

If you still don’t know why VPN is better for you while you surf the Internet from a coffee shop or a public Hotspot, then you just need to keep one thing in your mind that VPN helps secure your data by encrypting your data in strong encryption algorithm where hackers will find it very difficult to hijack your sessions.  So, now you know what VPN is capable of, but how to set it up?  Well, read on and I’ll promise you will be able to set up a VPN connection.

You don’t really need to download any special software, because Microsoft’s Windows 7 Home Premium or better allows you to create a VPN type of connection.  In this post, I’ll make Windows 7 computer as a host of VPN connection, and a Mac as a client of VPN connection.  Whenever I mention a VPN host, I mean Windows 7, and whenever I mention a VPN client, I mean a Mac.  Let us begin!

  1. On Windows 7, go to Control Panel >> Network and Internet >> Network and Sharing Center >> Change adapter settings >> hit Alt key on your keyboard >> File >> New Incoming Connection.
  2. A new screen will pop up and show couple available users that you can allow to connect to your new VPN connection.  Make sure you check the boxes of the users you want to allow to have access to VPN connection, and then click the Next button.
  3. A new screen pops up with an empty box next to the description which says Through the Internet.  Just check the box so you will be able to connect to your VPN connection later over the Internet from a public network such as a coffee shop.  Click the Next button.
  4. At this point, you will see a screen with couple features with boxes that had been checked.  Highlight the feature with description as Internet Protocol Version 4 (TCP/IP4).  Click on Properties button.  Make sure the box says Allow callers to access my local area network is checked.  Pick the radio button that says Specify IP addresses — this to fix the problem where Windows 7 fails to assign a proper internal IP addresses which leads to no Internet access for VPN clients.  Enter a starting static local IP address inside the box with the label From (i.e.,  Enter an ending static local IP address inside the box with the label To (i.e.,  You notice that the IP address in the To box determines how many static IP addresses can be assigned to more VPN clients (i.e., included the host and additional VPN clients).  In the configuration above, it shows that we can have 5 static local IP addresses to be used with our VPN clients and one IP address is used by VPN host.  VPN Host will assign one of these IP addresses to a VPN client of yours so you can connect to the Internet through your private network.  Oh, your internal IP addresses might be different, because it’s depending on how your router assigns the local/internal IP addresses.  Some routers may use local IP addresses starting not with 192.168.x.x but with something else.  It’s up to you to figure that out.  Now you can finish this process by clicking the OK button.
  5. A new incoming connection is now created, and the last screen shows you your computer name.  Remember the computer name so you might have to use it inside your VPN client later.
  6. Open up a command prompt by click on Start button, type cmd inside search box, and then hit Enter key on your keyboard.
  7. Inside the command prompt, enter the command ipconfig /all.
  8. If your Windows 7 computer is currently connecting to the Internet/router through ethernet connection, looks for the IP address that maps to an ethernet connection.  If it’s a wireless connection, look for the IP address that maps to your wireless connection.  Write it down so you can use it later.
  9. Open up your router’s configuration panel (i.e., access it through the browser).  Usually you can get to your router’s configuration panel using a browser.  The address of your router’s configuration panel may not be the same as mine, and so you have to look that up with your router’s manual or router’s official website.  An example of Linksys router’s configuration panel can be accessed at  In the router’s configuration panel, you need to do a port forwarding for port 1723/TCP (PPTP).
  10. It’s time for you to configure your Mac so you can connect it to your VPN.  Go to Settings >> Network >> click on the lock and type in your administrator password so you can add a connection >> click on the plus sign >> choose VPN for Interface and PPTP for VPN Type and type in any name for the new VPN connection in Service Name >> click Create button.
  11. Leave Configuration as default.  Type in the IP address of your Windows 7 machine (i.e., I told you to write down the IP address in step 8).  Type in account name (i.e., username of the user you allow to have VPN access to your Windows 7 machine) in Account Name.  Try to choose Maximum (128 bit only) Encryption for stronger security.  Check the box that says Show VPN status in menu bar.  Click on Advance button, in Option tab, check the boxes of Disconnect when switching user accounts and Disconnect when users log out and Send all traffic over VPN connection.  Go to DNS tab and click the plus sign under DNS Servers box — enter Google’s Public DNS servers (e.g.,,  Click OK button to exit and save everything!
  12. Don’t you see a little icon on your menu bar?  It looks like a rounded corner mini bar with many smaller vertical bars within.  Anyway, click on it and choose to connect to your VPN connection.  A password prompter will ask you for your password, just enter a password of a Windows 7 machine’s user that you had allowed to use VPN in step 2.  At this point, you either connect or don’t.  If you can’t connect to your VPN connection on Windows 7 machine, then you have to retrace back to previous steps to see what you had done wrong.
  13. How do you know that by now you’re actually tunneling into your VPN and using your VPN’s Internet connection to surf the Internet and not your current Internet connection?  Well, just open up a terminal on your Mac, type in ifconfig, and scroll all the way down where you see something that looks like this:
  14. You can also open up a browser such as Chrome and try to see if you’ll be able to browse the Internet or not.  Also, you can always use one of those IP check service on the web.  How?  Go to Google, and type in what’s my IP.  Click on the first link you see!  If the IP address is of your VPN (e.g., of your office or home), then you know you’re browsing the Internet using your VPN connection!

I think I’d pretty much cover all the steps, but I’m not 100% sure.  After all, I’m writing this post very late in the night!  Nonetheless, I wish you all good luck in creating a VPN connection by following this guide of mine!

6 thoughts on “Making Windows 7 As VPN Server And Mac As VPN Client. Surfing On Public Network Safer As VPN Encrypts Your Data!

  1. I have a Windows 7 VPN server setup at my office and use my Mac VPN client to connect to it.

    I am able to connect and surf the web, however I have problems connecting to shared drives on the Windows 7 server.

    I have a feeling it has something to do with me using the same subnet on both networks. (

    Can you help me figure this out?

    • First of all, I’m not all that familiar to your particular VPN issue since I had not experienced this problem before. Nonetheless, let me try to suggest few things to see if these suggestions can help you in anyway to solve your VPN issues. Let see, if you can’t connect to your share drives through your VPN connection on Windows 7 server at your office, you might want to make sure that the VPN user you’re using to connect to Windows 7 server does have permission/authorization to connect to the share drives on this particular Windows 7 server. Secondly, make sure Windows 7 server’s firewall isn’t doing something strange such as blocking you from using the CIFS/NFS/Samba services. Thirdly, make sure the firewall of the Mac machine you’re on isn’t blocking your connectivity to CIFS/NFS/Samba services. Fourthly, make sure the share drives’ CIFS/NFS/Samba services on Windows 7 server are working, if not you have to fix them. Of course, these suggestions from me might not be the solutions, but you can Google the problem you have with Windows 7 VPN and you might find the exact solution to your VPN issues. Like I said, I haven’t seen your VPN problem on my end ever, therefore I can only suggest whatever I think I know on the top of my head, in relation to your VPN issues. Lastly, since you say you can connect to your VPN alright, why not check to see if you can connect to any other network services that are being connected to Windows 7 server through the VPN connection of course… because if you can, then you can narrow down to only share drives’ connectivity issues in which your VPN connection has problems with… this helps you narrow down the VPN issues a lot more so you can Google your VPN issues with confidence. I hope my suggestions help a bit!

  2. in step 11, where you say to enter the IP Addreds of the windows machine (from step 8). you actually mean enter the public IP of the network that the windows machine is on. (and if for some reason you are connecting a VPN on the same network, then you wouldn’t need to do the port forwarding)

    • Thanks for writing this comment. I haven’t looked at my old videos such as this one for a long time, therefore you might be right on something this important that I had not clarified in the video. Luckily, if what you said is true, then people who watch my instructive video will find your comment very helpful. Thanks again.

  3. Nice post. Unfortunately it’s not working for me. I did everything. But, if I test my port 1723 on for example, it’s blocked, I checked the router, the firewall on the PC, nothing seems to be working.

    My Mac is telling me that PPTP-VPN server did not respond.

    Do have you have any ideas?

    • If you had done everything that you supposed to do, then you should call up your ISP to see if they specifically blocked VPN connection. Some ISPs might do this!

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.