@dafyre said in iptables deny taking precedence over accept:
@IRJ said in iptables deny taking precedence over accept:
#Port Range 95000
$IPT --append INPUT --match tcp --protocol tcp --src $somenetwork_1 --sport 95000 --jump ACCEPT
$IPT --append INPUT --match tcp --protocol tcp --src $somenetwork_2 --sport 95000 --jump ACCEPTI'm assuming this is not support to be a correct number... but --sport can't be > 65536.
Yeah I just randomized port numbers. Not actually using that