Gmod private server

i want to play ‘gmod with a friend
so i made a game and send him an invite
when he wants join there was a screen with this text: ‘’ server not responding’’
can somebody help me please
thank you

you have to open the ports in your router, and then type in your console “sv_lan 0”, to make your server show up online.