I have set up a macvlan (mode bridge) on a Tinker Board (using Armbian). The device (eth0.1) has been set up so that it can bind to qbittorrent
My router forwards all incoming traffic to port 19489 to this macvlan device, which has been assigned an IP 192.168.99.64
Connections are never established except when I am monitoring this device with:
tcptrack -i eth0.1
When the device is being monitored, connections are established and qbittorrent works perfectly. But when I stop monitoring existing connections continue until they are closed, but no new connections are established.
This is my routing table:
default via 192.168.99.1 dev eth0 proto dhcp metric 100
default via 192.168.99.1 dev wlp1s0 proto dhcp metric 600
default via 192.168.99.1 dev eth0.1 proto dhcp metric 1001
169.254.0.0/16 dev wlp1s0 scope link metric 1000
192.168.99.0/24 dev eth0 proto kernel scope link src 192.168.99.61 metric 100
192.168.99.0/24 dev wlp1s0 proto kernel scope link src 192.168.99.62 metric 600
192.168.99.0/24 dev eth0.1 proto kernel scope link src 192.168.99.64 metric 1001
Somehow I would like to get this working without having to monitor the device to achieve this. Any ideas?
(In the meantime I've set up a bash script with tcptrack to start after the qbittotrrent service starts. Everything is working perfectly, but somehow this workaround seems a little dumb)