#!/bin/bash vpngateway='172.16.255.1' curl ifconfig.me > /root/scripts/ip.pub scp /root/scripts/ip.pub root@$vpngateway:/root/home.ip