This starts geph4-client in VPN mode, starts a TUN device, and route all packets to it using iptables. We use $(which geph4-client) because geph4-client might not be in root's path. Note that VPN mode requires us to run geph4-client with root privileges. Sudo $(which geph4-client) connect -vpn-mode tun-route -exit-server 2.mtl.ca. auth-password -username public5 -password public5 Starting geph4-client in VPN mode on Linux might look like: VPN mode takes packets from the source specified by -vpn-mode and sends them over a UDP-like unreliable connection on the ClientTunnel. The http server is the socks5 server converted using an adaptation of the socks2http repo. When the socks5 server accepts a connection, it establishes a sosistab2 reliable stream along with a task to forward all traffic from the socks5 connection to the sosistab stream. These localhost servers accept proxy connections and fulfills requests by forwarding them to the ClientTunnel, after which they are proxied through the exit server. These ports can be changed with the -socks5-listen and -http-listen flags. ProxiesĬonnect sets up two proxy servers on localhost. Finally, The ClientTunnel actively updates the set of bridges used by its Multiplex to switch out servers that get blocked.įinally, ClientTunnel exposes channels to the Multiplex for handling proxy requests and packet forwarding for VPN mode. (If the user is in China, then we only provide routes that use bridges, because all the exit servers are blocked by the Great Firewall.) The sositab protocol then monitors the routes and switches seamlessly to the best working route. The Multiplex session consists of several routes to the exit server, both through different bridges and without bridges. This can be thought of as analogous to TcpStream, except all reads and writes are datagram-based and unreliable. enables socks5 and http proxies through this ClientTunnel, as well as routing VPN packets.Ī tunnel starts and keeps alive the best sosistab Multiplex session it can given the specified connect parameters.Ī sosistab2 Multiplex is a single end-to-end connection between a client and a server.makes a ClientTunnel that manages a sosistab2 Multiplex session to the specified remote Geph server, and.Geph4-client connect -exit-server 2.mtl.ca. auth-password -username public5 -password public5
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |