프로그래밍/리눅스

아웃바운드 공인 IP 확인

소나기_레드 2024. 12. 11. 11:31

공유기 등을 사용하면 본인의 아이피 조회시 192. 대역이나 172. 대역 등으로 표시되는데,

실제 나가는 공인 IP 를 확인하려면 아래 ULR 을 브라우저나 커맨드 창에 입력하면 알 수 있다.

 커맨드 사용시 curl 을 붙이면 된다.

 

> curl ifconfig.me
> curl ident.me
> curl ifconfig.me
> curl icanhazip.com
> curl ipecho.net/plain
> curl ipv4.icanhazip.com

 

http://ifconfig.me/ip
https://ip.ojj.kr/
https://ident.me/
https://canhazip.com/