I was quite familiar with pf, but I didn't use it during like 3 or 4 years. Yeah I used things like ufw and iptables on linux releases. Well, my pf block my transmission-daemon (bittorrent software) and I don't know why. I opened the tcp port for it. Here is my pf.conf
If someone could tell me where I'm wrong? ( 2232 is ssh, 9091 transmission-remote en 55437 transmission-daemon).
Thanks a lot in advance.
Code:
ext_if = "em0"
tcp_port = "{ 2232, 9091, 55437 }"
# on filtre pas le bouclage sinon ça va chier
set skip on lo0
# on normalise
scrub in all
# on bloque tout
block in all
# on fait passer le ssh en 2232, le transmission-remote en 9091
# sans oublier les peers en 55437 pour le transmission
pass in log on $ext_if proto tcp from any to any port $tcp_port
antispoof for em0 inet
antispoof for em0 inet6
If someone could tell me where I'm wrong? ( 2232 is ssh, 9091 transmission-remote en 55437 transmission-daemon).
Thanks a lot in advance.