Author |
Message |
Osiris_TSGK
TSGK Member
Joined: 21 May 2006 Posts: 4668 Location: France
|
Posted: Tue Oct 02, 2007 11:34 Post subject:
Running a public SRCDS behind a Firewall/Router |
|
All you need to do to run a HL2dm server behind a firewall/router is:
1. Allow the port UDP 27015 and TCP 27015 on your windows firewall first.
Network > Change Windows Firewall Settings:
General:
On (recommended) must be selected
Don't allow exceptions should be unchecked.
Exceptions:
-- Add Port...
Name: SRCDS HL2dm UDP
Port: 27015
UDP
Ok
Add port again
Name: SRCDS HL2dm TCP
Port: 27015
TCP
Ok
Be sure that "SRCDS HL2dm UDP" and "SRCDS HL2dm TCP" are checked on the list. Then click Ok.
2. Be sure that your network card has a static private network IP (192.168.*.*) and doesn't get one via DHCP.
Open Network Connections.
Right click your active connection (probably Local Area Connection) and select Status.
Support:
Write down your IP Address, Subnet Mask and Default Gateway.
Click Details... And write down the 2 IP address of DNS Servers.
Close all the windows and go back to Network Connections.
Right click your active connection (probably Local Area Connection) and select Properties.
General:
Double click Internet Protocol (TCP/IP) (avoid double clicking the checkbox)
General:
Check Use the following IP address:
IP address: Enter the IP address that you writen down.
Subnet mask: Enter the Subnet mask that you writen down.
Default gateway: Enter the Default gateway that you writen down.
You may let Obtain DNS server address automatically or check Use the following DNS server addresses, at the second case then enter the 2 DNS that you writen down.
Click Ok and Ok.
3. Allow port forward on your physical Firewall/Router.
That part you will have to guess yourself since there are tousand of different firewall/router available on the market, or simply use the firewall/router user's manual.
Look for something like "Port forwarding" could be "Application forwarding" or whatever that may contain the word forwarding.
Habitualy there are 4 fields:
Internal IP, Internal Port, External Port and Protocol. Some routers allow a 5th field like Name which is useless, just put what ever you want there.
Add a new port forwarding on your router:
Internal IP: Add the IP address you written down.
Internal Port: 27015
External Port: 27015
Protocol: UPD
Add a second port forwarding on your router:
Internal IP: Add the IP address you written down.
Internal Port: 27015
External Port: 27015
Protocol: TCP
Save and reboot your Firewall/Router if needed.
4. Set your HL2dm server correctly to run on port 27015 and to accept connections from WAN (sv_lan 0).
It still doesn't work?
Then check that you didn't made a mistack or forgot a step.
Be sure that your provider isn't blocking some ports but 27015 is rarely to not say never blocked by ISP.
Your server IP will be WanIp:27015
You can get your WAN IP there:
http://www.ip-adress.com
You'r done.
Enjoy.
_________________ Allez allez, enlève ta culotte et déboutonne mon pantalon...
|
Back to top
|
|
|
MeekMeekle
Joined: 08 Nov 2006 Posts: 847 Country:
|
Posted: Tue Oct 02, 2007 22:41 Post subject:
|
|
thanks Osiris, for typing this up for us all !
|
Back to top
|
|
|
Ghost Dog_TSGK
TSGK Member
Joined: 13 Mar 2007 Posts: 2083 Country: Browser: Age: 124
|
Posted: Tue Oct 02, 2007 22:44 Post subject:
|
|
Yeah really!
Now I understand.
|
Back to top
|
|
|
Diet H2O_TSGK
TSGK Member
Joined: 03 Aug 2006 Posts: 3281 Location: Ireland (right, left, then second on the right) Country: Age: 52
|
Posted: Tue Oct 02, 2007 22:47 Post subject:
|
|
Ghostdog82 wrote: |
Yeah really!
Now I understand. |
I don't - but it is arousing nonetheless.
_________________
Two parts hydrogen, one part oxygen with all the fat taken out
|
Back to top
|
|
|
Freetux
Joined: 29 Oct 2006 Posts: 691 Country: Browser: Age: 36
|
Posted: Wed Oct 03, 2007 23:53 Post subject:
|
|
Diet H2O wrote: |
Ghostdog82 wrote: |
Yeah really!
Now I understand. |
I don't - but it is arousing nonetheless. |
Right ports opened on router + forwarded to your pc + source dedicated server running = your own server.
_________________
|
Back to top
|
|
|
1337_Byte
Joined: 05 Dec 2007 Posts: 171 Country: Age: 31
|
Posted: Wed Dec 05, 2007 07:52 Post subject:
|
|
Nice guide lol, port forwarding is annoying as hell but usually it's the only option.
|
Back to top
|
|
|
telesha
Joined: 13 Feb 2011 Posts: 2 Country:
|
Posted: Tue Feb 22, 2011 09:40 Post subject:
|
|
How do you set DNS settings on HP Laptop with Windows Vista? I've not been able to access the web on my laptop because of DNS problems so I am wondering how I can fix my DNS settings? I am connected through a SpeedStream modem/router if that helps. Thanks in advance!
|
Back to top
|
|
|
asifqwq
Joined: 03 Apr 2012 Posts: 1 Country:
|
Posted: Tue Apr 03, 2012 12:41 Post subject:
|
|
thanks for sharing
|
Back to top
|
|
|
|