Jump to content
Sign in to follow this  
Dave -OFPL-

Linux server bind to ip

Recommended Posts

I Run 2 Servers on 1 Box, I start the servers

I Start Them on Different Ports:

./server -config=server.cfg -port=2302

./server -config=server.cfg -port=2234

My Box has Two IPs, How do I bind the gameservers to different IPs? Ive tried

./server -config=server.cfg -port=2302 -ip=XXX.XXX.XXX

but that didnt work

Share this post


Link to post
Share on other sites

A work around for this (if you specifically need each server to be only visible and playable on its own IP address) would be to block outgoing and incoming ports on the unwanted IP address with iptables (or ipchains, depending on your kernel version).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×