08-06-2009, 07:28 AM
I'm running a server with Debian 5.0 that I want to use as both a file server and a game server for a LAN party I'm having in two days.
The machine has 2 nics: eth0 and eth1. I want to set it up so that all samba traffic goes over eth0, and the game server traffic goes over eth1.
I got samba working properly; all it took was a simple edit to smb.conf, and now all samba traffic is done over eth0.
However, I have been unable to find a way to get srcds to run on eth1. I've tried a number of different things, including +ip and messing with iptables, but no matter what I do it always tried to connect over eth0 (or sometimes fails to connect at all).
So my question is: How do I do this? I have two days to figure this out.
The machine has 2 nics: eth0 and eth1. I want to set it up so that all samba traffic goes over eth0, and the game server traffic goes over eth1.
I got samba working properly; all it took was a simple edit to smb.conf, and now all samba traffic is done over eth0.
However, I have been unable to find a way to get srcds to run on eth1. I've tried a number of different things, including +ip and messing with iptables, but no matter what I do it always tried to connect over eth0 (or sometimes fails to connect at all).
So my question is: How do I do this? I have two days to figure this out.