2009-01-25 23:33:24 +02:00
|
|
|
|
|
|
|
|
2018-03-24 16:00:37 +02:00
|
|
|
iodine - https://code.kryo.se/iodine
|
2009-01-25 23:33:24 +02:00
|
|
|
|
|
|
|
***********************************
|
|
|
|
|
|
|
|
Extra README file for Win32 related stuff
|
|
|
|
|
|
|
|
|
|
|
|
== Running iodine on Windows:
|
2012-09-03 12:04:34 +03:00
|
|
|
|
2014-02-06 23:50:23 +02:00
|
|
|
0. After iodine 0.6, you need Windows XP or newer to run.
|
2012-09-03 12:04:34 +03:00
|
|
|
|
2015-09-29 11:02:19 +03:00
|
|
|
1. Install the TAP driver
|
2018-03-24 16:00:37 +02:00
|
|
|
https://openvpn.net/index.php/open-source/downloads.html
|
2015-09-29 11:02:19 +03:00
|
|
|
Download the OpenVPN TAP driver (under section Tap-windows)
|
|
|
|
Problems has been reported with the NDIS6 version (9.2x.y), use the
|
|
|
|
NDIS5 version for now if possible.
|
2009-01-25 23:33:24 +02:00
|
|
|
|
2009-06-14 23:23:50 +03:00
|
|
|
2. Have at least one TAP32 interface installed. There are scripts for adding
|
|
|
|
and removing in the OpenVPN bin directory. If you have more than one
|
|
|
|
installed, use -d to specify which. Use double quotes if you have spaces,
|
|
|
|
example: iodine.exe -d "Local Area Connection 4" abc.ab
|
2009-01-25 23:33:24 +02:00
|
|
|
|
2009-06-14 23:23:50 +03:00
|
|
|
3. Make sure the interface you want to use does not have a default gateway set.
|
|
|
|
|
|
|
|
4. Run iodine/iodined as normal (see the main README file).
|
2009-06-11 21:04:23 +03:00
|
|
|
You may have to run it as administrator depending on user privileges.
|
2009-01-25 23:33:24 +02:00
|
|
|
|
2009-06-14 23:23:50 +03:00
|
|
|
5. Enjoy!
|
2009-01-25 23:33:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
== Building on Windows:
|
|
|
|
You need:
|
|
|
|
MinGW, MSYS, GCC, zlib
|
|
|
|
|
|
|
|
Then just run make
|
|
|
|
|
|
|
|
|
|
|
|
== Cross-compiling for MinGW:
|
|
|
|
You need:
|
|
|
|
MinGW crosscompiler, crosscompiled zlib
|
|
|
|
|
|
|
|
Then run "make cross-mingw"
|
|
|
|
Note that the binaries will not get a .exe suffix
|
|
|
|
|
|
|
|
|
|
|
|
== Zlib download
|
|
|
|
You can get zlib for MinGW here (both for native and crosscompile):
|
2018-03-24 16:00:37 +02:00
|
|
|
https://code.kryo.se/iodine/deps/zlib.zip
|
2009-01-25 23:33:24 +02:00
|
|
|
Unzip it in your MinGW directory on Windows or in $ROOT/usr for
|
|
|
|
cross-compile.
|
|
|
|
|
|
|
|
|
|
|
|
== Results of crappy Win32 API:
|
|
|
|
The following fixable limitations apply:
|
|
|
|
- Server cannot read packet destination address
|
|
|
|
|
|
|
|
The following (probably) un-fixable limitations apply:
|
2009-02-22 18:46:50 +02:00
|
|
|
- A password entered as -P argument can be shown in process list
|
2009-01-25 23:33:24 +02:00
|
|
|
- Priviligies cannot be dropped
|
|
|
|
- chroot() cannot be used
|
|
|
|
- Detaching from terminal not possible
|
|
|
|
- Server on windows must be run with /30 netmask
|
|
|
|
- Client can only talk to server, not other clients
|
|
|
|
|