User Tools

Site Tools


nat_to_public

Converting NAT to its Public Address

A common issue with dedicated devices is the “ip a” of “ifconfig” command does not show the public IP - only the NAT.

You can use the following curl (replacing x.x.x.x with the NAT address) to find out its public address.

curl icanhazip.com -4 --interface x.x.x.x

nat_to_public.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki