Skip to content

bsuh/tethering

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is forked from https://code.google.com/p/iphone-socks-proxy/

The current goal is to make this iOS apps up-to-date and add new features.

User guide documentation is written on https://github.com/rickyzhang82/tethering/wiki

If you like this App, please visit UNICEF tap project website http://tap.unicefusa.org/ and make a donation to the kids who need clean water supply.

Thanks for your support.

Ricky

Change log
------------------------------------------------ 
Release V1.4
* Support iPad tethering. Add http server to host socks.pac file
* Fix several memory leak issues.

Release V1.3
* Update NSLogger API compatible with iOS 8

Release V1.2
* Convert xib to storyboard
* Fix Failed to compile: ttdnsd_platform.h not found error

Release V1.1
* Fix retrieve wifi IP address bug.
* Replace naive logging with NSLogger logging API
* Enable ARC and use modern Objective-C literal

Release v1.0.
* Support DNS server and Socks5 proxy server.
* Fix crash problem when wifi is not connected.
* Listenning socket reuse address and port if previous TCP connection in TIME_WAIT state.

------------------------------------------------ 
 #  SOCKS - SOCKS Proxy for iPhone
 #  Copyright (C) 2009 Ehud Ben-Reuven
 #  [email protected]
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
 # as published by the Free Software Foundation version 2.
 #
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,USA.


This is an iPhone App that is a SOCS Proxy. It allows you to connect your laptop to the
Internet through the iPhone's 3G/Edge connection (tethering.)
If you want to install the application on your iPhone you will have to build and install
the App from the the supplied code.
 * Pay Apple for iPhone development program
 * get a development certificat from Apple's developers portal
 * download the entire source code to a Mac
 * double click SOCKS.xcodeproj
 * in the left panel select Targers and then select SOCKS
 * press the "i" Info button on the top
 * select Properties tab
 * In the Identifier field change "symfi" to your company name
 * connect an iPhone using a cable
 * click Build and Debug
  

In order for this to work you need to follow few steps
Instructions for Mac:
 * On your laptop start an add-hoc Wi-Fi network:
  * System Preferences->Network
  * select AirPort
  * click on Network Name and select Create Network
  * in Name enter "mywifi", press OK, press Apply
 * Connect you iPhone to the add-hoc wifi network:
  * Settings->Wi-Fi
  * select "mywifi"
 * Run this SOCKS App on your iPhone
 * In the SOCS Proxy tab press Start
 * configure your laptop to use SOCKS:
  * System Preferences->Network->Advanced...->Proxies
  * select SOCKS proxy
  * in the SOCKS Proxy Server field enter the address and port that appear on your iPhone screen
  * press OK
  * press Apply

About

Proxy and DNS Server on iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 57.1%
  • Objective-C++ 35.7%
  • C++ 5.1%
  • HTML 0.8%
  • C 0.7%
  • CMake 0.5%
  • Shell 0.1%