tun2socks-0.0.1 has been yanked.
Tun2Socks
Rust bindings for HevSocks5Tunnel
API
/// Start and run the socks5 tunnel, this function will blocks until the
/// quit() is called or an error occurs.
///
/// # Arguments
///
/// * `config_path` - config file path
/// * `tun_fd` - tunnel file descriptor
///
/// # Returns
///
/// Returns zero on successful, otherwise returns -1.
;
/// Stop the socks5 tunnel.
;
Contributors
- hev - https://hev.cc
License
MIT