| 661 | } |
| 662 | |
| 663 | func (c *ForwardCtx) StartReverseForwardClient(bindHost string, bindPort uint32, singleConnection bool) (chan *Connection, error) { |
| 664 | setupPacket := SetupPacket{ |
| 665 | ConnectionType: CONNECTION_TYPE_PORT_FORWARD, |
| 666 | BindHost: bindHost, |
| 667 | BindPort: bindPort, |
| 668 | Protocol: "tcp", |
| 669 | SingleConnection: singleConnection, |
| 670 | } |
| 671 | |
| 672 | return c.startReverseForwardingClient(setupPacket) |
| 673 | } |
| 674 | |
| 675 | func (c *ForwardCtx) StartReverseForwardClientUnix(path string, singleConnection bool) (chan *Connection, error) { |
| 676 | setupPacket := SetupPacket{ |