___ ___ __ _____ ___ _______
|" \ /" ||" \ (\" \|" \ /" "|
\ \ // / || | |.\\ \ |(: ______)
\\ \/. ./ |: | |: \. \\ | \/ |
\. // |. | |. \ \. | // ___)_
\\ / /\ |\| \ \ |(: "|
\__/ (__\_|_)\___|\____\) \_______)
vine is an Intranet penetration tool used to expose Intranet services to the public network, provide external services, reduce the cost of cloud servers, and support the penetration of protocols such as TCP and HTTP.
The installation of a proxy server can be done through methods such as nohup, docker, or defining services. The following is a brief introduction to the startup and usage of services.
vine:
bind-port: 8523 #Tunnel listening port, used for communication with clients
#Proxy rule configuration file storage address, needs to be configured by oneself
proxy-path: /home/proxy.toml
The following is a case of proxy.toml
proxy rule configuration:
[[clients]]
name = "客户端1" #The name of the client can be considered as a user
secretKey = "4b0063baa5ae47c2910fc25265aae4b9" #Client key
status = 1 #Client status 1: enabled 0: disabled
[[clients.proxies]]
name = "mysql" #Proxy Name Customization
type = "tcp" #Agent Type
localIP = "127.0.0.1" #Internal IP address localhost/192.168.x.x/127.0.0.1
localPort = 3306 #Ports for internal network services
remotePort = 3307 #Ports exposed to the public network
[[clients.proxies]]
name = "redis"
type = "tcp"
localIP = "127.0.0.1"
localPort = 6379
remotePort = 6380
Start the server:
java -jar vine-server-1.0.jar
The client supports launching multiple clients, each identified by a secretKey key.
When the client starts, a configuration file conf.toml
needs to be specified through -c
, and the name does not affect.
serverAddr = "127.0.0.1" #Proxy server IP address. If deployed to the public network, the IP address of the public network server needs to be filled in
serverPort=8523 #Proxy server tunnel port, corresponding to server configuration bind port
secretKey="4b0063baa5ae47c2910fc25265aae4b9" #Authentication Key
Start the client:
java -jar vine-client-1.0.jar -c conf.toml