• Your favorite

    Apple

    ,

    iPhone

    ,

    iPad

    ,

    iOS

    ,
    Jailbreak
    , and
    Cydia
    site.
  • iPhoneModem with zsrelay - Secure, Solid, and Free


    A few days ago, we showed you iPhoneModem, by Addition. If you like a super quick solution with no security, but a great interface and extreme ease of use, that solution is still a great one, and can be found on our Cydia source as iPhoneModem by Addition. It is shareware, running $9.99.

    Last night we posted iPhoneModem zsrelay - a solution (which actually had the iPhoneModem name first, but didn't release a public beta until after Addition did - for now, the packages have the same name, and are marked as "by Addition" or "zsrelay") which offers SSH encryption, background running of the daemon, and best of all - its completely free.



    Their website has instructions on how to get the Mac app running (its a tad more involved the first time you set it up - you have to go into the settings and put in your iPhone's MAC address, wlan name you'd like to make, and a password for it) - once set up, though, its fully secure and running beautifully.

    From their site:

    HOWTO iPhoneModem on Mac

    Copy iPhoneModem to your Applications folder and launch it. A little iPhone icon will appear in your menu bar - click it. In the new popup menu choose "Setup...". Please fill in all fields exactly. "IP-Address of Mac" is the Address of your mac will use in the ad-hoc network. The last component (after the third dot) can be any value between 1 and 254 except 113, this reserved for the iPhone. "Password of Mac" is the password of the adminstartors account on your Mac (usually your account). "Wlan Name" will be used as the name of new ad-hoc network which you'll use to connect to your iPhone later on. For the WEP encryption enter a 13 character long password in the "Wlan-Password" box. Leave the "Socks Port" as it is. "iPhone root Password" should be clear - by default - is set to alpine and must be changed. To do so open Terminal with your iPhone and mac in the same network. Connect to your iPhone (ssh iphoneip -l root). The command "passwd" will change your root password - be sure to choose a password you remember! Repeat this step to change the password for the mobile user: "passwd mobile", (default here is alpine on fw ( 2.1 and dottie afterward). Finally fill in the MAC address of your iPhone's Wifi interface in the box "iPhone Mac Address". You can find your Wi-Fi Address under Settings > General > About. Save this settings, open the iPhoneModem popup again and choose "start connection...".

    How to run iPhoneModem zsrelay on your iPhone

    Running iPhoneModem zsrelay on your iPhone involves only a few easy steps:
    Install 'iPhoneModem zsrelay' from Cydia.It is hosted on the MMi repository and listed in the 'Networking' section.
    Restart SpringBoard - (optionaly if you want status icons)
    Go into your iPhone preferences and select 'iPhoneModem'.
    Choose your options:
    - 'Insomnia mode': Network connections will be keept alive even when you iPhone is locked (recommended).
    - 'SSH on launch': Start sshd along with zsrelay. This is needed if you want to use ssh for secure tunneling.
    Start iPhoneModem zsrelay - (flip the 'start proxy' switch) If you did restart your springbord a status icon will appear after a few seconds. Depending on your insomnia mode settings this icon is either gray or blue/orange. The colored reminds you that the network keep-alive is active.
    Connect your mac/pc to zsrelay using SOCKS5 on port 1080.
    'Advanced' preferences:The advanced tab contains some additional settings and status information. Here you can disable or enable the status icons and modify the URL used for keeping your outbound GPRS/EDGE/3G connection happy.This page also displays a nice traffic meter on the top so you can keep track on your active connections and data transfers.
    iPhoneModem, Internet für Mac und iPhone
    This article was originally published in forum thread: iPhoneModem with zsrelay - Secure, Solid, and Free started by Kyle Matthews View original post
    Comments 68 Comments
    1. pyrotek's Avatar
      pyrotek -
      I bet that the old Microsoft Proxy client would probably also work to redirect traffic. I'm at the office, so I can't really try the concept now but I don't see why it wouldn't. Best of all, it's free.
    1. oo3's Avatar
      oo3 -
      Just to confirm, I'm using my WiFi mac address from my iPhone. Secondly, I'm not sure how to pull up the dhcpd messages on my Mac.
    1. marcoxyz's Avatar
      marcoxyz -
      Go to Spotlight and Type "Console" open the program... klick "all messages"... search for dhcpd and send me the result.
    1. evanzrod's Avatar
      evanzrod -
      I cant even get into settings on this program. It shows up in my toolbar, i can view "about". Nothing happens when I click settings. Anyone else having probs like this?
    1. MattMac's Avatar
      MattMac -
      Omg, that annoys me because i just bought the other one, and this ones better!
    1. Eurisko's Avatar
      Eurisko -
      It says connect your pc/mac to zrelay through SOCKS5 1080, but it doesn't give a host name? What is it?
    1. marcoxyz's Avatar
      marcoxyz -
      Hi all

      The Apple bootpd service is running if you have Internet sharing switched on. The DHCP Error comes up from iPhoneModem. Pls stop internetsharing befor you connect.

      Ciao Marco
    1. marcoiac's Avatar
      marcoiac -
      Works fine with my first gen iPhone and 10.5.5
      Too bad not all apps work with their 'typical' settings
    1. bigboatsInc's Avatar
      bigboatsInc -
      i downloaded it from the webpage but it wont even open on my mac. it's in the applications folder but nothing happens when i try to open it...
    1. Avalanchenut's Avatar
      Avalanchenut -
      Quote Originally Posted by groundedsst View Post
      Ive attempted your method with no success.

      The steps I've followed in an attempt to tether to my pc are as follows...

      1.) created an Adhoc network called iphonemodem (not that it really matters)

      2.) I then turned on this connection and connected to it on my computer as well as my phone

      3.) I then fired up the software you recomended and set my port to 1080 as well as my phones ip which was this 169.254.51.59

      With both of these connected
      openssh installed
      and this new modem software installed and on

      I am still unable to connect

      I have tried firefox, ie, google chrome, and safari as browsers and all have failed.

      any thoughts on this?
      The ip address of 169.254.51.59 is a private ip address that is not route able. You need to assign your network card on your computer an ip address that is also a broadcast ip.

      Here is how I have mine setup.

      First create an adhoc network - you can do this all through xp or vistas network setup wizard. I named mine iPhone.

      next assign your network card on computer is set to ip of 192.168.0.1 and I assigned a static ip to my phone of 192.168.0.10.

      With these simple settings you will be able to connect your phone to your computer and use iphonemodem.

      If you have any other questions shot me a pm.

      One other thing I followed the steps that DECENEU posted on page 1 after I setup my adhoc with the above settings and I was able to open up any program that connects to the internet and they all worked perfectly including playing games online and all this had been done on a windows xp and vista machine.


      Quote Originally Posted by Eurisko View Post
      It says connect your pc/mac to zrelay through SOCKS5 1080, but it doesn't give a host name? What is it?
      The host name is the ip address of your iphone when connected using the adhoc network on pc or mac.
    1. groundedsst's Avatar
      groundedsst -
      this is where i get stuck in the proxifier software...


      [04:54] Testing Started.
      Proxy Server
      Address: 192.168.1.11:1080
      Protocol: SOCKS 5
      Authentication: NO

      [04:54] Starting: Test 1: Connection to the Proxy Server
      [04:54] IP Address: 192.168.1.11
      [04:54] Connection established
      [04:54] Test passed.
      [04:54] Starting: Test 2: Connection through the Proxy Server
      [04:54] Authentication was successful.




      and then it stops.
    1. unixphone's Avatar
      unixphone -
      Hey guys I'm trying to use the iphonemodem program for my MacBook pro. I managed to get the program says I'm connected to Internet, but my safari does not seem to go online. Can someone please tell me where to set the proxy? And where is the 5socks?
    1. Sn4key's Avatar
      Sn4key -
      For those of you trying to use FireFox... there're 2 ways.. you can either use the regular Proxy Settings from FireFox which sucks or get FoxyProxy which totally rocks (you can switch from using the Proxy server or not on-the-fly)

      Use SOCKS5, 127.0.0.1, port 9999

      That should make any software work if it's got proxy settings...
    1. rcarson25@gmail.com's Avatar
      Hi all. I've been testing the tethering solutions available for the iPhone and I would like to share my thoughts, comparing the pros and cons of the two applications now on cydia, both named iphonemodem: "iPhone Modem 1.0" from www.iphonemodem.COM and "iPhone Modem zsrelay" from www.iphonemodem.DE.

      ----

      iphonemodem.DE - "iPhone Modem zsrelay":

      Pros
      1. It's free
      2. has an helper app for the latest version of Mac OS

      Cons:
      1. I (and many others iPhoneModem Comments) have concerns on the purpose and security of this app.
      On the Mac side, the 4MB app as a security scanner inside (nmap), a dhcp server and an airport configuration terminal utility. They still haven't explained the need of a security scanner which can easily pinpoint any weakness of my Mac's configuration.

      On the iPhone it's still worse. The socks server is opened also on the EDGE/3G public IP making it a piece of cake to connect to your Mac (or entire LAN) from the outside. It even runs on the background so you cannot know what's happening.
      That's really great. These guys are boasting on WEP and SSH security and they're leaving a HUGE hole on the net just inviting anyone to come in.

      2. What were these guys thinking when they posted the "don't use the fake app" message everywhere on the net and on their site? I don't think iphonemodem.com is fake and I certainly don't think that's a way to market a new app.


      3. A normal user does not understand what to do with the iphone and with the Mac app without going through the website read readme files on written on shaky english that is difficult to understand.

      ----

      iphonemodem.COM - "iPhone Modem 1.0":

      Pros:
      1. it's extremely user friendly - really one click setup
      2. real one-to-one user support going on
      3. also supports MacOS 10.4
      4. the web site and everything is written in clear english
      5. packaged on small (90k on the iphone; 200k on the mac) app(s)
      Note: I like things small because they are more likely to be bloatware free and that what they think is good software.

      Cons:
      1. it's $10 to disable the recurring 500KB traffic reminder

      ----
      Final thoughts

      I'm happy to pay $10 for a nice easy app with user support and no suspicious malware or security holes.
    1. alexnick's Avatar
      alexnick -
      Quote Originally Posted by unixphone View Post
      Hey guys I'm trying to use the iphonemodem program for my MacBook pro. I managed to get the program says I'm connected to Internet, but my safari does not seem to go online. Can someone please tell me where to set the proxy? And where is the 5socks?
      Alright, so this is my first post here, and I just got this app running on my 2G 2.1 iPhone a few minutes ago.

      After I got all the necessary details for the iPhone Modem client on my Mac, and hit the start connection button, I waited for the 'Connect iPhone to network' screen. Go turn WiFi on the iPhone and hit the little arrow next to the network which is named Apollon by default, scroll down, hit proxy, and I just typed in SOCKS5 and under port, I typed, '1080'

      Go ahead and turn on the SSH server in iPhone Modem Settings, hit ok on your Mac, wait for the whole thing to finish connecting, then load up all the sites on Safari you want! I haven't tried the proxy for FireFox yet but I will in time.

      And this works great on T-Mobile too!

      That's running the T-Zones hack with the new apn.

      Does anyone know why the Zsrelay/Netshare tick box on the Mac is greyed out?

      Also, make sure OpenSSH is installed before you try this, as stated earlier in this thread.
    1. Eurisko's Avatar
      Eurisko -
      Quote Originally Posted by marcoxyz View Post
      network.proxy.socks 127.0.0.1
      network.proxy.socks_port 9999
      network.proxy.socks_remote_dns true
      network.proxy.socks_version 5
      network.proxy.type 1
      Just trying to understand, why would you enter 9999 when the SOCKS port is 1080?

      Quote Originally Posted by alexnick View Post

      Does anyone know why the Zsrelay/Netshare tick box on the Mac is greyed out?

      Also, make sure OpenSSH is installed before you try this, as stated earlier in this thread.
      If you uncheck SSH, Zsrelay/Netshare will become checkable. Maybe it's one or the other.
    1. unixphone's Avatar
      unixphone -
      problem solved.
      i thought it is okay to use iphone's terminal to change the password apline.
      i guess not. thanks for the input
    1. marcoxyz's Avatar
      marcoxyz -
      @Eurisko

      I have a solution for you... a very simple way to get all applikations work without setup every single application... i make a big update this weekend. Stay tuned.
    1. Shirk's Avatar
      Shirk -
      Hello Mr. Carson,

      why not just state publicly that you work for addition?
      No one on this board will force you to use our free tools.
      But please be fair and stop posting wrong statements.

      Quote Originally Posted by [email protected] View Post
      On the iPhone it's still worse. The socks server is opened also on the EDGE/3G public IP making it a piece of cake to connect to your Mac (or entire LAN) from the outside. It even runs on the background so you cannot know what's happening.
      That's really great. These guys are boasting on WEP and SSH security and they're leaving a HUGE hole on the net just inviting anyone to come in.
      The ports may be visible if you portscan your iPhone but they are neither exposed to your outbound connection nor is it possible to connect to them from the outside (didn't know eh?).
      Second - If you're still concerned I bet you didn't know zsrelay has an IP-based connection restriction mechanism which can block connections an a per IP basis.

      Quote Originally Posted by [email protected] View Post
      2. What were these guys thinking when they posted the "don't use the fake app" message everywhere on the net and on their site? I don't think iphonemodem.com is fake and I certainly don't think that's a way to market a new app.
      Here's what we thought:
      Marco did pay money to protect the name iPhoneModem long before addition did come up with iphonemodem.com.
      They did not ask or notify us and in addition they are charging users for their app.

      That's what we thought.

      Quote Originally Posted by [email protected] View Post
      3. A normal user does not understand what to do with the iphone and with the Mac app without going through the website read readme files on written on shaky english that is difficult to understand.
      What do you think READMEs and HOWTOs where made for?
      For people who are not genious-by-nature and who don't know how this app works..
      Ok Marco's English is far from perfect - but the documentation was writen before we joined our work and I promise improvements in this section.

      Quote Originally Posted by [email protected] View Post
      Final thoughts

      I'm happy to pay $10 for a nice easy app with user support and no suspicious malware or security holes.
      Do you even know what malware means?
      iPhoneModem does not include any malware and zsrelay has no knows security holes.
      As a matter of fact where working on a SOCKS5 protocol extension allowing for even better security.

      Cheers,
      Shirk
    1. marcoxyz's Avatar
      marcoxyz -
      Hi all

      With my bad english :

      iPhoneModem 1.0 opens 2 additional Ports 5555 and 5556. On this ports were on 14.09.2008 to 16.09.2008 verry high traffic in the Internet observed by Internet Storm Center ISC... on this Days the most People was testing Aditions iPhoneModem 1.0... The Ports well known as trojan ports for SendMe and BO Facil.

      here my post for that

      http://www.modmyi.com/forums/2241661-post76.html

      Nobody know this and Adition don't say one word about open this 2 Ports also. A nmap scan on this Ports let the Adition's iPhoneModem 1.0 immediately crash... Security holes over security holes. Ether they don't know what they do or we have the first trojan helper on iPhone or they have send data about you and your iPhone and Mac.

      Ciao Marco

      PS: The nmap security portscanner is in my applikation. next version will have a security portscan for iPhone build in for use for everybody to prevent the iPhone on WLAN side to do things that nobody knows.