Half-Life

Half-Life

Razcoina May 10, 2022 @ 12:20pm
Launch the game lan only
Is there a way to restrict the game's online access to lan only?

For example:
I want to be able to host and/or join a lan game,
but at the same time be unable to join internet games outside my local area network.

Thanks in advance
< >
Showing 1-2 of 2 comments
Sikobae May 10, 2022 @ 8:07pm 
You don't need to do anything. Ports aren't forwarded by default. If you're really paranoid about it, set sv_lan to 1.

I don't know why you would need to block internet access to JOIN a local game. There is a LAN tab in the Find Servers section for exactly this reason.
Razcoina May 11, 2022 @ 5:57am 
sv_lan 1 sets a hosted game to lan only. That's also the default value.

The reason is that I will be using bunnymodXT with the offline game (also experiment on a lan game with the same tool). Problem is there is a good chance to get a VAC ban if you join an actuall multiplayer server. So it's more as a protection mesure.

An alternative would be to disable internet completely (-noip launch option) but that disables TCP/IP which also means no lan suport either...
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 10, 2022 @ 12:20pm
Posts: 2