iptables for AS0_WEBACCEPT
Posted: Tue Dec 28, 2021 1:13 pm
Hi,
I have just install openvpn on a Debian11.
I have write iptables command to let coming input/output/forward a port, but it still closed.
So, what is the commande line to have the same iptables line, like this : (cause the 943 is officialy open....)
AS0_WEBACCEPT tcp -- anywhere mywebsite.com state NEW tcp dpt:943
With another tcp / udp port ?
Cause if I write : iptables -I INPUT -p udp --dport XXXX -j ACCEPT
The port still closed.
Thanks for your help
Best regards
I have just install openvpn on a Debian11.
I have write iptables command to let coming input/output/forward a port, but it still closed.
So, what is the commande line to have the same iptables line, like this : (cause the 943 is officialy open....)
AS0_WEBACCEPT tcp -- anywhere mywebsite.com state NEW tcp dpt:943
With another tcp / udp port ?
Cause if I write : iptables -I INPUT -p udp --dport XXXX -j ACCEPT
The port still closed.
Thanks for your help
Best regards