| 1 |
|
|---|
| 2 |
|
|---|
| 3 | iodine - http://code.kryo.se/iodine
|
|---|
| 4 |
|
|---|
| 5 | ***********************************
|
|---|
| 6 |
|
|---|
| 7 | Extra README file for Win32 related stuff
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | == Running iodine on Windows:
|
|---|
| 11 | 1. Install the TAP32 driver
|
|---|
| 12 | http://openvpn.net/index.php/open-source/downloads.html
|
|---|
| 13 | Choose OpenVPN 2.0.9 Windows Installer, when installing you can
|
|---|
| 14 | select to install only the TAP driver.
|
|---|
| 15 |
|
|---|
| 16 | 2. Have at least one TAP32 interface installed. There are scripts for adding
|
|---|
| 17 | and removing in the OpenVPN bin directory. If you have more than one
|
|---|
| 18 | installed, use -d to specify which. Use double quotes if you have spaces,
|
|---|
| 19 | example: iodine.exe -d "Local Area Connection 4" abc.ab
|
|---|
| 20 |
|
|---|
| 21 | 3. Make sure the interface you want to use does not have a default gateway set.
|
|---|
| 22 |
|
|---|
| 23 | 4. Run iodine/iodined as normal (see the main README file).
|
|---|
| 24 | You may have to run it as administrator depending on user privileges.
|
|---|
| 25 |
|
|---|
| 26 | 5. Enjoy!
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | == Building on Windows:
|
|---|
| 30 | You need:
|
|---|
| 31 | MinGW, MSYS, GCC, zlib
|
|---|
| 32 |
|
|---|
| 33 | Then just run make
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | == Cross-compiling for MinGW:
|
|---|
| 37 | You need:
|
|---|
| 38 | MinGW crosscompiler, crosscompiled zlib
|
|---|
| 39 |
|
|---|
| 40 | Then run "make cross-mingw"
|
|---|
| 41 | Note that the binaries will not get a .exe suffix
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | == Zlib download
|
|---|
| 45 | You can get zlib for MinGW here (both for native and crosscompile):
|
|---|
| 46 | http://code.kryo.se/iodine/deps/zlib.zip
|
|---|
| 47 | Unzip it in your MinGW directory on Windows or in $ROOT/usr for
|
|---|
| 48 | cross-compile.
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | == Results of crappy Win32 API:
|
|---|
| 52 | The following fixable limitations apply:
|
|---|
| 53 | - Server cannot read packet destination address
|
|---|
| 54 |
|
|---|
| 55 | The following (probably) un-fixable limitations apply:
|
|---|
| 56 | - A password entered as -P argument can be shown in process list
|
|---|
| 57 | - Priviligies cannot be dropped
|
|---|
| 58 | - chroot() cannot be used
|
|---|
| 59 | - Detaching from terminal not possible
|
|---|
| 60 | - Server on windows must be run with /30 netmask
|
|---|
| 61 | - Client can only talk to server, not other clients
|
|---|
| 62 |
|
|---|