I am using IPFILTER and an inclusive ruleset. But I don't get rtorrent to work. If I disable the firewall (i.e. let all outgoing and incoming traffic pass), rtorrent works fine.
In ~/.rtorrent.rc I have the following setting
And in /etc/ipf.rules I have added the following rule
I am not sure if I should add a rule for incoming traffic, but I tried that and it didn't solve the issue.
In ~/.rtorrent.rc I have the following setting
Code:
# Port range to use for listening
port_range = 6890-6999
And in /etc/ipf.rules I have added the following rule
Code:
pass out quick on re0 proto tcp from any to any port 6890 >< 6999 flags S keep state
I am not sure if I should add a rule for incoming traffic, but I tried that and it didn't solve the issue.