2009-01-25 17:01:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
iodine - http://code.kryo.se/iodine
|
|
|
|
|
|
|
|
***********************************
|
|
|
|
|
|
|
|
Extra README file for Win32 related stuff
|
|
|
|
|
|
|
|
|
2009-01-25 20:39:44 +00:00
|
|
|
== Running iodine on Windows:
|
|
|
|
1. Install the TAP32 driver
|
|
|
|
http://openvpn.net/index.php/downloads.html
|
|
|
|
choose OpenVPN 2.0.9 Windows Installer, when installing you can
|
|
|
|
select to install only the TAP driver.
|
|
|
|
|
|
|
|
2. Have one TAP32 interface installed
|
|
|
|
|
|
|
|
3. Name the interface "dns"
|
|
|
|
|
2009-01-25 20:58:39 +00:00
|
|
|
4. Make sure the interface does not have a default gateway set
|
2009-01-25 20:39:44 +00:00
|
|
|
|
2009-01-25 20:58:39 +00:00
|
|
|
5. Run iodine/iodined as normal.
|
|
|
|
|
|
|
|
6. Enjoy!
|
2009-01-25 20:39:44 +00:00
|
|
|
|
2009-01-25 17:01:06 +00: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
|
|
|
|
|
2009-01-25 20:39:44 +00:00
|
|
|
|
|
|
|
== Zlib download
|
2009-01-25 18:01:37 +00:00
|
|
|
You can get zlib for MinGW here (both for native and crosscompile):
|
|
|
|
http://code.kryo.se/iodine/deps/zlib.zip
|
|
|
|
Unzip it in your MinGW directory on Windows or in $ROOT/usr for
|
|
|
|
cross-compile.
|
2009-01-25 17:01:06 +00:00
|
|
|
|
2009-01-25 18:01:37 +00:00
|
|
|
|
2009-01-25 20:39:44 +00:00
|
|
|
== Results of crappy Win32 API:
|
2009-01-25 17:01:06 +00:00
|
|
|
The following fixable limitations apply:
|
|
|
|
- The password is shown when entered
|
|
|
|
- DNS server IP can not be fetched automatically
|
|
|
|
- Exactly one TAP32 interface must be installed
|
2009-01-25 18:01:37 +00:00
|
|
|
- The TAP32 interface must be named "dns" and be version 0801
|
2009-01-25 17:13:12 +00:00
|
|
|
- Server cannot read packet destination address
|
2009-01-25 17:01:06 +00:00
|
|
|
|
|
|
|
The following (probably) un-fixable limitations apply:
|
|
|
|
- Priviligies cannot be dropped
|
|
|
|
- chroot() cannot be used
|
|
|
|
- Detaching from terminal not possible
|
2009-01-25 20:58:39 +00:00
|
|
|
- Server on windows must be run with /30 netmask
|
|
|
|
- Client can only talk to server, not other clients
|
2009-01-25 20:39:44 +00:00
|
|
|
|