LAN servers are restricted to local clients only (Class C)

Post Reply
buboe
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Mar 19, 2014 3:13 pm

LAN servers are restricted to local clients only (Class C)

Post by buboe »

LAN servers are restricted to local clients only (Class C)

I'm getting this error when I try to connect to my server. I'd just restarted it after adding some plugins to CW: HL2RP. and I got this when I tried to join, as well as everyone else. No other changes I believe that could have caused this were done to the server, as far as I know. Putting sv_lan 0 in the server.cfg makes it not start at all, so I undid that. What should I do?
buboe
New to forums
New to forums
Posts: 3
Joined: Wed Mar 19, 2014 3:13 pm

Re: LAN servers are restricted to local clients only (Class

Post by buboe »

The sv_lan is 0, but it says the server is LAN. Weird. Anyone help?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: LAN servers are restricted to local clients only (Class

Post by soja »

When the server is online and running, try running sv_lan (no argument) and see what it spits out. This response is exclusive to having sv_lan 1 if I remember correctly.
Not a NFO employee
Sectorial
New to forums
New to forums
Posts: 1
Joined: Wed Mar 19, 2014 5:54 pm

Re: LAN servers are restricted to local clients only (Class

Post by Sectorial »

soja wrote:When the server is online and running, try running sv_lan (no argument) and see what it spits out. This response is exclusive to having sv_lan 1 if I remember correctly.
Hi, I'm from the same server as Buboe, and I am also trying to fix the problem. I had tried what you said when the server was active, and the RCON replied with "sv_lan" = "0"
- Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )"
So I'm not sure why it says this, and if you could give a solution to the problem, then thanks.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: LAN servers are restricted to local clients only (Class

Post by soja »

Can you post your server.cfg and autoexec.cfg, omitting any passwords?
Not a NFO employee
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: LAN servers are restricted to local clients only (Class

Post by Vanderburg »

I see periodic requests for this from some customers who are running Clockwork or hl2rp. The solution is in the gamemode configuration itself, not the server.cfg or autoexec.cfg files. I haven't ever been told directly the solution, but customers were able to get one from talking to the developer directly (Or through their forums, etc).
buboe
New to forums
New to forums
Posts: 3
Joined: Wed Mar 19, 2014 3:13 pm

Re: LAN servers are restricted to local clients only (Class

Post by buboe »

Oh my, now it works, but I just need to fix the clockwork.cfg. MySQL is screwed for some reason.
Post Reply