ifconfig.sh 135 B

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