I am currently trying to configure a firewall ruleset. Im using iptables the firewall is running fine as it is currently however I want to do something a little more complex now and im having trouble getting it to work.

I want to allow IDENT (AUTH) requests to be accepted but only if its coming from the IRC server that Im currently trying to connect to.

I have both incoming and outgoing rules currently.

any advice would be great.