What is my IP? ifconfig.me / ifconfig.io

Short collection of what is my IP Servers.

  • ifconfig.io
  • ifconfig.me
  • ifconfig.co
  • icanhazip.com

Usage

curl ifconfig.co/port/22

SD-WAN

As a personal note route ifconfig.* over the primary connection on the Fortigate firewall and icanhazip.com over the secondary

config firewall address
    edit "ifconfig.co"
        set type fqdn
        set fqdn "ifconfig.co"
    next
    edit "ifconfig.me"
        set type fqdn
        set fqdn "ifconfig.me"
    next
    edit "ifconfig.io"
        set type fqdn
        set fqdn "ifconfig.io"
    next
    edit "icanhazip.com"
        set type fqdn
        set fqdn "icanhazip.com"
    next
end

config system sdwan
    set status enable
    config zone
        edit "virtual-wan-link"
        next
    end
    config members
        edit 1
            set interface "wan1"
            set cost 500
        next
        edit 2
            set interface "wan2"
            set cost 50
            set priority 10
        next
    end
    config service
        edit 10
            set name "ifconfig.me"
            set dst "ifconfig.me"
            set src "all"
            set priority-members 1
        next
        edit 11
            set name "ifconfig.io"
            set dst "ifconfig.io"
            set src "all"
            set priority-members 1
        next
        edit 12
            set name "icanhazip.com"
            set dst "icanhazip.com"
            set src "all"
            set priority-members 2
        next
        edit 13
            set name "ifconfig.co"
            set dst "ifconfig.co"
            set src "all"
            set priority-members 1
        next
    end
end


Photo by fabio on Unsplash