this project use to create tunnel between 2 server and send specific trafic on tunnel using proxychains
ssh-keygen
scp .ssh/id_rsa.pub {REMOTE_SERVER_USERNAME}@{REMOTE_SERVER_IP}:
ssh {REMOTE_SERVER_USERNAME}@{REMOTE_SERVER_IP}
mkdir .ssh
touch .ssh/authorized_keys
cat id_rsa.pub >> .ssh/authorized_keys
exit
sudo mkdir /opt/tunnel
sudo mv tunnel.sh /opt/tunnel
sudo chmod 755 /opt/tunnel/tunnel.sh
sudo vim /opt/tunnel/tunnel.sh
sudo mv tunnel.service /lib/systemd/system
sudo ln -s /lib/systemd/system/tunnel.service /etc/systemd/system/tunnel.service
sudo systemctl daemon-reload
sudo systemctl start tunnel.service
sudo systemctl enable tunnel.service
sudo apt update
sudo apt install proxychains4
sudo mv proxychains4.conf /etc/
curl icanhazip.com
proxychains curl icanhazip.com
*if you use first command you will resive YOUR PUBLIC IP but if you use second command you will resive YOUR REMOTE SERVER IP