yarrick / iodine

Official git repo for iodine dns tunnel
https://code.kryo.se/iodine
ISC License
6.26k stars 508 forks source link

Does iodine work on Mac OS X 10.15.6? #44

Closed ssxcxS45XT closed 3 years ago

ssxcxS45XT commented 3 years ago

I see the following error on Mac OS X 10.15.6. Does iodine support Mac OS X? Thanks.

$ sudo ./iodined -f 10.0.0.1 test.com
Enter password: 
iodined: open_tun: Failed to open tunneling device: No such file or directory
yarrick commented 3 years ago

What version are you running?

You either need the old tuntaposx (http://tuntaposx.sourceforge.net/) or use utun (by setting -d utunX)

ssxcxS45XT commented 3 years ago

When I tested iodine, I used the one cloned from this repo.

yarrick commented 3 years ago

With recent macos versions utun devices should be used. Try with argument -d utun0 (or higher number if needed)

yarrick commented 3 years ago

I just pushed a commit that should automatically use utun without having to specify -d option.

chaitanyarahalkar commented 3 years ago

With recent macos versions utun devices should be used. Try with argument -d utun0 (or higher number if needed)

I did try this. However MacOS errors out saying iodine: open_tun: /dev/utun0: No such file or directory:

yarrick commented 3 years ago

It sounds like you are using an old version (not recent from git). Try again with the latest code, it should work without having to specify -d.

What does ./bin/iodine -v print? If you just run iodine it is possible it is using another version found in the PATH.

chaitanyarahalkar commented 3 years ago

It sounds like you are using an old version (not recent from git). Try again with the latest code, it should work without having to specify -d.

What does ./bin/iodine -v print? If you just run iodine it is possible it is using another version found in the PATH.

I'm running 0.7.0. Is it the right one? I downloaded the tarball from the Iodine website

yarrick commented 3 years ago

No, go to https://github.com/yarrick/iodine and click the green Code button and select 'Download ZIP'

0.7.0 is a few years old now.

chaitanyarahalkar commented 3 years ago

Thanks!