You are not logged in.

#1 2010-03-30 17:00:01

vinneh
Member
Registered: 2010-02-24
Posts: 15

Running Wine through eth1

I want to play Diablo 2 online with friends, but it is blocked here at my school.  I would like to use my phone, configured as eth1, to run wine through, but as soon as I bring eth0 back up (so that the rest of my internet isn't dirt slow), Diablo 2 disconnects from eth1 and switches to eth0 causing me to lose my game. 

Is there any way to make it stay on eth1 without affecting all of my other applications running on eth0?

Offline

#2 2010-03-30 17:37:25

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Running Wine through eth1

You can use the route command to control which ips will be connected to through which network interface.

Offline

#3 2010-03-30 20:56:59

vinneh
Member
Registered: 2010-02-24
Posts: 15

Re: Running Wine through eth1

I've read the man page for route, and some tutorials online and it still isn't working.  I've installed iproute2 and iptables.

My ip rule show:

ip rule show
0:    from all lookup local 
32764:    from all fwmark 0x1 lookup phone 
32765:    from all fwmark 0x1 lookup d2.out 
32766:    from all lookup main 
32767:    from all lookup default

with marks:

iptables -A PREROUTING -t mangle -i eth0 -p tcp --dport 6112 -j MARK --set-mark 1

run for 4000, 6113-6119

I'm trying to have ports 4000 and 6112-6119 going through eth1 instead of eth0

Offline

Board footer

Powered by FluxBB