Skip to content

Commit c37b126

Browse files
authored
Update README.md
modify readme
1 parent 482e1d9 commit c37b126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ b) To start `tcpcopy`, use the following command:
6161

6262
For example (assuming 10.110.12.17 is the IP address of the target server):
6363

64-
`./tcpcopy -x 3306-10.110.12.17:3306 -s 10.110.12.18`
64+
`./tcpcopy -x 3306-10.110.12.17:3306 -s 10.110.12.18 -c 10.110.12.15`
6565

66-
`tcpcopy` captures MySQL packets (assuming MySQL listens on port 3306) on the current server, modifies them as needed, and forwards them to port 3306 on `10.110.12.17` (the target MySQL server). It also connects to `10.110.12.18` to request that `intercept` forwards the response packets to it.
66+
`tcpcopy` captures MySQL packets (assuming MySQL listens on port 3306) on the current server and modify all client ip to 10.110.12.15, modifies them as needed, and forwards them to port 3306 on `10.110.12.17` (the target MySQL server). It also connects to `10.110.12.18` to request that `intercept` forwards the response packets to it.
6767

6868
## Note
6969

0 commit comments

Comments
 (0)