I have filtering working for some users and groups; however, it is not working for SSH. For SSH, I am specifying members of the ssh group can have outbound SSH traffic. I am using the same syntax for daemons (DNS and privoxy) and they function fine.
When I do a process listing, I do see that ssh is run by myself, so why is it not letting me out?
macro
?COMMENT SSH
PARAM - - tcp ssh - - - :ssh
iptables
ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 owner GID match 1006
1006 is the groupid of the ssh group
I am a member of the ssh group and I see iptables is matching the owner GID to that of ssh. Can I do this or not? This is outbound and not inbound ...