First, if I'm asking a question that has been asked before I apologize. I searched a good amount and could not find the help I am looking for. Second, I'm not sure if this post belongs in the 'major problems' thread. If it does not please move it to its appropriate place.
I have a linux box with two ethernet connections running into it. One connection is for bit torrent (eth1) and another for voip (eth0). Not only that but the eth0 internet connection is far slower than eth1 to a point that using anything outside of a pbx is pointless. Also, both eth1 and eth0 are dynamic IPs. There is no NAT but eth1's IP changes approx every 24 hours.
How can I set it up properly were ALL bit torrent traffic is exclusively eth1? This means tracker communications, incoming and outcoming peer connections... the whole 9 yards.
I read that --bind is only incoming and --ip is the address to tell the trackers which IP Im using. However, it does not use that IP to connect to the tracker. Is this information correct?
If this information is correct than currently without editing code BitTornado can not 100% bind all bit torrent communication to an interface? This leads me to think of using IP tables instead to forward bit torrent communication properly. I believe this can be done by forwarding ports 80 and 443 to eth1 which is the ports trackers use so the trackers will know of my IP as eth1's IP. From there the trackers will tell all peers to connect via my eth1 interface and I can then forward the listening ports to eth1 as well the same way. However, I am somewhat inexperience when it comes to iptables. I'm not sure how to control outgoing communication aka when I'm the peer and I'm trying to connect to another peer it will push out via eth0.
Beyond all my crazy speculation it leads me to two main questions: 1) Can I set BitTornado to exclusively use one IP (of the two) for EVERYTHING? and if not is the best alt solution using iptables? 2) If I end up using iptables then how can I forward all outgoing BitTornado communication properly without accidentally forwarding the other services on the box like VoIP?
Thank you for any and all help!,
Danielle
|