forked from rickyzhang82/tethering
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
100 lines (82 loc) · 3.69 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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.7
* Add unlimited background. Feel free to close screen to save battery. Thanks @bsuh for his patch.
* Finally, we have a pull request to change ugly UI to a new modern look. Thanks @rickybloomfield for his patch.
Release V1.6
* Fix problem when remote network is faster than local network. Thanks @optimoid and @bsuh for their patch and bug report.
* Refactor socks proxy message debug log.
Release V1.5
* Refactor DNS message log
* Verify compatible with iOS 9.3
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
#
# 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