forked from rickyzhang82/tethering
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
79 lines (67 loc) · 2.91 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
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
Thanks for your visiting.
Ricky
Change log
------------------------------------------------
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