Module parse_remote

Module parse_remote 

Source
Expand description

Client remote specification.

Structs§

Remote
Configuration for one item to forward

Enums§

Error
Errors that can occur when parsing a remote.
LocalSpec
The local side can be either IP+port or “stdio”
Protocol
Protocol can be either “tcp” or “udp”.
RemoteSpec
The remote side can be either IP+port or “socks”

Constants§

SOCKS_DEFAULT_PORT
Default SOCKS port
TPROXY_DEFAULT_PORT
Default TPROXY port

Functions§

remove_brackets
Remove brackets from possbly an IPv6 address