It is currently Thu May 01, 2025 9:20 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 50 List provided by EpocDotFr | Players online 141


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Jun 14, 2014 8:26 pm 
Offline

Joined: Sat Jun 14, 2014 7:03 pm
Posts: 6
Hello,
Is it currently possible to bind the dedicated server (on Linux) to a specific IP address? The host in question is multihomed and I'd like to avoid having the server run on all interfaces, respectively the primary IP address. The server binary seems to have a 'server_address' variable and I've tried setting it but at the moment it doesn't seem to have any effect. It would be great if you could add this option.


Top
 Profile  
 
PostPosted: Sun Jun 15, 2014 1:09 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
I'm not too familiar with the stuff involved in such case; is it only a matter of getting the serverlist to show a different IP for the clients to use than the one picked from the caller adding the server to the list?

If it's just that, then yea, that should be easy to add, like a redirect kind of thing.

The server_address field you found is used with the server being able to do a connection test with another server.


Top
 Profile  
 
PostPosted: Sun Jun 15, 2014 1:32 pm 
Offline

Joined: Sat Jun 14, 2014 7:03 pm
Posts: 6
I see. No, I really meant being able to only listen on one specific IP address. Currently the rwr_server is binding to 0.0.0.0 which means any available IPv4 address on the system. So if my server had the addresses 1.2.3.4 and 5.6.7.8 I would be able to connect on 1.2.3.4:1234 and 5.6.7.8:1234. I just want it to be 5.6.7.8:1234. And of course just that on should show up on the server list.


Top
 Profile  
 
PostPosted: Mon Jul 14, 2014 2:35 pm 
Offline

Joined: Thu Jun 26, 2014 11:12 am
Posts: 6
you can run more server, all running in their own /home with one ip. you have to seperate them by their used port.
to bind them at a specific IP adress.. i think iptables would be your tool of choice.
http://www.netfilter.org/projects/iptables/index.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group