-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
# go-tproxy | ||
# go-transproxy | ||
|
||
Transparent proxy servers for HTTP, HTTPS, DNS and TCP. | ||
This repository is heavily under development. | ||
|
||
## Description | ||
|
||
**go-tproxy** provides transparent proxy servers for HTTP, HTTPS, DNS and TCP with single binary. | ||
**go-transproxy** provides transparent proxy servers for HTTP, HTTPS, DNS and TCP with single binary. | ||
Nothing needs to setup many tools. Nothing needs to configure iptables. | ||
**go-tproxy** will start multiple proxy servers for these protocols. | ||
**go-transproxy** will start multiple proxy servers for these protocols. | ||
Futheremore, it will configure iptables automatically. | ||
|
||
## Requirement | ||
|
||
**go-tproxy** supports only Linux iptables. | ||
**go-transproxy** supports only Linux iptables. | ||
|
||
## Install | ||
|
||
### Binaly install | ||
Download from [Releases page](https://github.com/wadahiro/go-tproxy/releases). | ||
Download from [Releases page](https://github.com/wadahiro/go-transproxy/releases). | ||
|
||
### Source install | ||
Use Go 1.8. | ||
|
||
``` | ||
go get -u github.com/wadahiro/go-tproxy/... | ||
go get -u github.com/wadahiro/go-transproxy/... | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: | ||
go-tproxy [options] | ||
go-transproxy [options] | ||
Options: | ||
|
@@ -69,8 +69,8 @@ export http_proxy=http://foo:[email protected]:3128 | |
# Set no_proxy if you need to access directly for internal | ||
export no_proxy=example.org,192.168.0.0/24 | ||
# Start go-tproxy with admin privileges(sudo) | ||
sudo go-tproxy -private-dns 192.168.0.100 | ||
# Start go-transproxy with admin privileges(sudo) | ||
sudo go-transproxy -private-dns 192.168.0.100 | ||
``` | ||
|
||
For testing, using docker is easy way. Now, you can access to google from docker container with no proxy configuration as follows. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters