domingo, 16 de febrero de 2020

OpenVPN IPTABLES rules

iptables -I INPUT 2 -m state --state NEW,RELATED,ESTABLISHED  -m tcp -p tcp --dport 80  -s 10.10.2.0/8 -j ACCEPT


iptables -I INPUT 2 -m state --state NEW,RELATED,ESTABLISHED  -m udp -p udp --dport 5060  -s 10.10.2.0/8 -j ACCEPT


iptables -I INPUT 2 -m state --state NEW,RELATED,ESTABLISHED  -m udp -p udp --dport 4569  -s 10.10.2.0/8 -j ACCEPT


iptables -I INPUT 2 -m state --state NEW,RELATED,ESTABLISHED -m udp -p udp --dport 10000:20000 -j ACCE




iptables -I INPUT 2 -m state --state NEW,RELATED,ESTABLISHED  -m udp -p udp --dport 5060  -s 45.32.131.134 -j ACCEPT

No hay comentarios:

Publicar un comentario