Need help with gmod ded. server

so i tried to make my own server, i did the srcds stuff and installed it, i started it up and at first it kept giving me a local address 192.168.x.x and after it started to give me 5.123.162.7 on status. but my other computer shows that the server is still a local address. i know that ppl can join thru my external ip but i really dont want that, i want to be able to see it on the internet tab. kthx