Posts: 1,033
Threads: 13
Joined: Oct 2008
Reputation:
11
Need some more info, your post is a bit confusing to me lol, sorry
Posts: 226
Threads: 36
Joined: Oct 2008
Reputation:
0
haha ..
Thats what i expected.
Incoming comes through 94.244.220.92:27015.... and my idea is that it is rerouted to 192.168.1.100. Both incoming and outgoing connections should go through some sort of 'internal router' on the server.
Posts: 226
Threads: 36
Joined: Oct 2008
Reputation:
0
My server is directly connected to internet...
will look at those tuturials.
Posts: 226
Threads: 36
Joined: Oct 2008
Reputation:
0
I have a dynamic ip and it´s to avoid buying a router
Posts: 3
Threads: 0
Joined: Apr 2009
Reputation:
0
04-14-2009, 05:44 AM
(This post was last modified: 04-14-2009, 05:45 AM by Dorina.)
nat can solve your problem, just do it on the border machine, something like iptables -t nat -p tcp --dport yourporthere -j DNAT --to-destination youriphere, and u're done.
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
@ Dorina
The game server doesn't use tcp. Your instruction doesn't work.
lhffan hasn't told enough about his network setup, so it's kind of blind shooting to try to tell him any instructions. I asked him to tell more, but he blatantly said his computer is connected to internet. He's not getting any help with that - not because nobody wants to, but because it's impossible.
Posts: 226
Threads: 36
Joined: Oct 2008
Reputation:
0
Realy dont know what to answer. English is not my native language.
My gameserver is directly connected to 30/30 broadband connection. It is a dynamic ip connection that gets it ip and more from my isp´s dhcp server.
The server is a srcds linux, i have 1 network card. That is eth0
What more info does you need, please?
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
The IP on eth0 is 94.244.x.x. What is the 192.168.x.x network then? Where does that come from?
94.244.x.x = eth0
192.168.x.x = ????
Why don't you just run srcds on your public IP? Do you have other computer in the same network with IP address like 192.168.x.x? Do you want to host local LAN game server with IP 192.168.x.x for your local LAN players, but also allow players from internet?
I'm quite sure this situation is possible to solve with normal NAT, but let's first hear what's the LAN setup is like.
Posts: 226
Threads: 36
Joined: Oct 2008
Reputation:
0
Can answer one question directly. My ip changes now and then not so damn often but it is irritating to stop server and change ip. 2 other computer with different ip´s on the same network. Everything is behind a switch. I would only like to get players from internet.
ip on eth0 is 94.255.x.x and at the moment there is no 192.168.x.x.... i have only 1 network card in that box.
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
Yes, like this:
Server 1: ./srcds_run -game cstrike -port 27015 +map de_dust2
Server 2: ./srcds_run -game cstrike -port 27016 +map de_dust2