Skip to content

Commit 0789f7b

Browse files
committed
update README.md
1 parent 2c7ed9e commit 0789f7b

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tcpproxy

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
# tcpproxy
1+
# tcpproxy
2+
3+
## Function
4+
A simple tcpproxy proxy, a tcp transparent proxy that supports covert tls protocol <-> notls protocol.
5+
6+
## Usage
7+
8+
```
9+
./tcpproxy --help
10+
11+
Usage of ./tcpproxy:
12+
-help
13+
this help
14+
-local string
15+
set local tcp protocol listen address. (default "0.0.0.0:8080")
16+
-protocol string
17+
set remote tcp protocol tcp or tcp6. (default "tcp")
18+
-remote string
19+
set remote tcp protocol proxy address.
20+
-tls
21+
enable remote tcp with tls encryption.
22+
```
23+
24+
## Example
25+
```
26+
./tcpproxy -local 0.0.0.0:8080 -remote proxy.domain.com:8080 -protocol tcp6 -tls
27+
```

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/easymesh/tcpproxy
2+
3+
go 1.23.1

0 commit comments

Comments
 (0)