angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
7.48k stars 1.26k forks source link

Wrong IP when installing, better to use "dig" than "ip" #495

Open nandan121 opened 4 months ago

nandan121 commented 4 months ago

On oracle cloud I get a 10.x.x.x IP with "ip" command. It is a private IP on the virual cloud network. Better to use "dig" command dig -4 +short myip.opendns.com @resolver1.opendns.com