Skip to content

Running SocialVPN on Windows 7

ken edited this page Dec 3, 2015 · 46 revisions

Install dependencies

  1. Install MS Visual C++ Redistributable

  2. Install Python 2.7 for Windows.

  3. Install tap-installer from OpenVPN.

  4. Rename the newly installed tap-device to "ipop".

Install binaries

  1. Download SocialVPN for Windows.

  2. Extract "ipop-15.01.0-x86_win7".

  3. Right-click "config.json" file and click on "Edit". Update with your XMPP service credential. Note: SocialVPN translates IPv4 addresses automatically; you should configure each machine with the same IPv4 address (e.g. 172.31.0.100 in the configuration file below). By default, addresses are assigned by SocialVPN dynamically on a round-robin fashion. Alternatively, you can assign addresses for your peers yourself through an additional configuration file. Please refer to our FAQs for details on how to find out or configure the addresses of peers. If you don't need address translation, you may consider using GroupVPN instead of SocialVPN.

    {
        "xmpp_username": "[email protected]",
        "xmpp_password": "enter-password-here",
        "xmpp_host": "talk.google.com",
        "ip4": "172.31.0.100",
        "ip4_mask": 24,
        "stat_report": false,
        "tincan_logging": 0,
        "controller_logging": "DEBUG"
    }
  4. Right-click on "setup-interface.bat" file, and click on "Run as administrator".

Run SocialVPN

  1. To start the IPOP Social VPN, double-click on "start_svpn.bat" file.Two command shell windows will appear, indicating that it is running. Unless the log level in the config file is changed from the default INFO to DEBUG you will not see the output described below.

    • fpr is the X509 fingerprint of the local user
    • ip4 is the IPv4 address of the local user
    • ip6 is the IPv6 address of the local user
    • uid is the uid of the local user
    • type means this is a local state message

    The last 5 lines are the most important lines because they show the node connecting to XMPP server and becoming ONLINE. If you do not see this message, that means that you have not properly connected.

  2. Run SocialVPN on another machine using same credentials and they will connect with each other.

Close SocialVPN software

  1. Close two console windows.
Clone this wiki locally