I have set up a ( postfix) mail server and i am try to telnet post 25 but not abel to do so but if stop the iptables iam able to telnet thne same . This machine is a virtual server .
could you pls tell me waht is wrong with my iptables file
A VZ_INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A VZ_INPUT -m tcp -p tcp --dport 25 -j ACCEPT -A VZ_INPUT -p udp -m udp --sport 53 -j ACCEPT -A VZ_INPUT -p tcp -m tcp --sport 80 --dport 1023:65535 -j ACCEPT -A VZ_OUTPUT -p tcp -m tcp --sport 22 -j ACCEPT -A VZ_OUTPUT -p udp -m udp --sport 1023:65535 --dport 53 -j ACCEPT -A VZ_OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT COMMIT
Thank you