Raised This Month: $ Target: $400
 0% 

Port Forward


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Simca
Senior Member
Join Date: Feb 2012
Old 10-19-2012 , 10:28   Port Forward
Reply With Quote #1

Left4Dead2

I'm going crazy here. I port forward these ports. Windows Firewall disabled. No firewall.

27000-27015 (udp)
27015-27016 (udp/tcp)
27015-27030 (udp)

I port forward it to my internal ip. Anyone else can join my server from lobby but I can't. If i'm lobby leader and mm_dedicated~ it doesn't find it. But someone else can.

If I port forward it to 127.0.0.1 I can connect from lobby but others can't.

Directly connecting to it is fine.

Like this guy. (DIggity)
http://forums.steampowered.com/forum....php?t=1518949
Code:
//##Server.cfg###########################
//Basic server cfg - loaded on each map #
//#######################################



sm_cvar mp_gamemode "versus" // if multiple game modes, "versus, coop" etc.
//sm_cvar sb_all_bot_game 1




//////////////////////
//Steam group Number to assign to server
//////////////////////
//sv_steamgroup "964095"     //ID Left 4 Dead 2 Group Official
sv_steamgroup_exclusive 0    //Do not connect to the Match Making Service
//////////////////////

/////////////////////////
//Server info
////////////////////////
//hostname                   //Hostname for server
//sv_password ""             //Server password for entry into multiplayer games [only needed to make your server private.]

sv_region 4

motd_enabled 1



/////////////////////////
//Game Settings
////////////
sv_allow_lobby_connect_only 0
mp_disable_autokick 0        //(command)prevents a userid from being auto-kicked (Usage mp_diable_autokick )
sv_allow_wait_command 1        //default 1; Allow or disalow the wait command on clients connected to this server.
sv_alternateticks 0        //defulat 0; (singleplayer)If set, server only simulates entities on even numbered ticks.
sv_consistency 1      //default 1; Whether the server enforces file consistency for critical files
sv_pure_kick_clients         //default 1; If set to 1, the server will kick clients with mismatchng files. Otherwise, it will issue a warning to the client.
sv_pure 2       //If set to 1, server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files.
                //If set to 2, the server will force all clietn files to come from steam and not load pure_server_whilelist.txt. Set to 0 for disabled.











/////////////////////////
//communication
////////////
sv_voiceenable 1        //default 1; enable/disable voice comm
//sv_alltalk             //default 0; Players can hear all other players' voice communication, no team restrictions

/////////////////////////
//LOGGING
////////////
log on            //Creates a logfile (on | off)
sv_logecho 0            //default 0; Echo log information to the console.
sv_logfile 1        //default 1; Log server information in the log file.
sv_log_onefile 0    //default 0; Log server information to only one file.
sv_logbans 1        //default 0;Log server bans in the server logs.
sv_logflush 0        //default 0; Flush the log files to disk on each write (slow).
sv_logsdir logs        //Folder in the game directory where server logs will be stored.

///////////////////////////////////////////////
//Network Tweaks - Increase network performance
///////////////////////////////////////////////
rate 10000        //default 10000; Max bytes/sec the host can receive data
sv_minrate 5000       //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
sv_maxrate 30000    //default "0";  Max bandwidth rate allowed on server, 0 = unlimited

Last edited by Simca; 10-19-2012 at 10:34.
Simca is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 10-20-2012 , 02:34   Re: Port Forward
Reply With Quote #2

this dedicated server are you using -ip in the cmd line with your WAN ip? I see the guy in the steamfourms used his LAN ip.. this would only work for people on your network..

The server is on the same machine as you playing the game.. and your behind a router that's connected to the internet?

Last edited by hamilton5; 10-20-2012 at 02:36.
hamilton5 is offline
Simca
Senior Member
Join Date: Feb 2012
Old 10-20-2012 , 03:50   Re: Port Forward
Reply With Quote #3

yes client and server same computer behind router. Should I use ip? I don't use that line.

What should I do?
Simca is offline
Simca
Senior Member
Join Date: Feb 2012
Old 10-20-2012 , 04:30   Re: Port Forward
Reply With Quote #4

Ok I put -ip and a different ip. It works but it's showing insecure in status. disconnected from steam3.
Simca is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 10-20-2012 , 06:13   Re: Port Forward
Reply With Quote #5

start the server and then in cmd.exe type netstat -nb look for listening and your server.exe to find ports you need to 'forward'.. also google..
hamilton5 is offline
Simca
Senior Member
Join Date: Feb 2012
Old 10-20-2012 , 11:07   Re: Port Forward
Reply With Quote #6

I didn't see anything in cmd. netstat -nb
So I installed netlimiter and all outgoing connection ports are 27017~27019. Incoming port is 27015. Weird lol. Anyway will add those to port forward. Though I have doubts it'll fix this..

Last edited by Simca; 10-20-2012 at 11:08.
Simca is offline
Simca
Senior Member
Join Date: Feb 2012
Old 10-20-2012 , 22:28   Re: Port Forward
Reply With Quote #7

Ok I can connect to server using mm_dedicated to external ip fine. But there is no vac enabled on server disconnected from steam3

Last edited by Simca; 10-20-2012 at 22:29.
Simca is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode