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