Binding to specific IP
Posted: Mon Oct 07, 2013 12:00 pm
I've got two interfaces both configured with their own IP. Say their IPs are 1.1.1.1 and 2.2.2.2, and I wanted to bind deluged to 2.2.2.2; I've done this with deluged -i 2.2.2.2 -u 2.2.2.2. Here's the output from lsof:
It's clear deluged feels it is free to make use of 1.1.1.1, but I'm at least hoping that all actual torrent traffic is bound to 2.2.2.2 and I'm looking for someone to confirm that before I run it for real and would love to hear from someone who knows for sure whether this is the case. Just to be clear, what I mean by bound to 2.2.2.2 is that everything between me and a tracker and/or peers are seen as originating from 2.2.2.2.
Code: Select all
deluged 23629 2000 8u IPv4 10667839 0t0 TCP 2.2.2.2:58846 (LISTEN)
deluged 23629 2000 9u IPv4 10667842 0t0 TCP 2.2.2.2:55914 (LISTEN)
deluged 23629 2000 10u IPv4 10667845 0t0 UDP *:1900
deluged 23629 2000 11u IPv4 10667846 0t0 UDP 127.0.0.1:1900
deluged 23629 2000 12u IPv4 10667847 0t0 UDP 127.0.0.1:33285
deluged 23629 2000 13u IPv4 10667848 0t0 UDP 1.1.1.1:1900
deluged 23629 2000 14u IPv4 10667849 0t0 UDP 1.1.1.1:40736
deluged 23629 2000 15u IPv4 10667850 0t0 UDP 2.2.2.2:1900
deluged 23629 2000 16u IPv4 10667851 0t0 UDP 2.2.2.2:54027
deluged 23629 2000 18u IPv4 10667858 0t0 UDP *:35130
deluged 23629 2000 19u IPv4 10667860 0t0 UDP *:6771
deluged 23629 2000 20u IPv4 10667861 0t0 UDP 127.0.0.1:6771
deluged 23629 2000 21u IPv4 10667862 0t0 UDP 127.0.0.1:40304
deluged 23629 2000 22u IPv4 10667863 0t0 UDP 1.1.1.1:6771
deluged 23629 2000 23u IPv4 10667864 0t0 UDP 1.1.1.1:37867
deluged 23629 2000 24u IPv4 10667865 0t0 UDP 2.2.2.2:6771
deluged 23629 2000 25u IPv4 10667866 0t0 UDP 2.2.2.2:33008