Page 1 of 1

change wrong port in the Pi-Star firewall?

Posted: Thu May 28, 2020 3:46 pm
by PA2ZH
Hello,

I accidentally assigned a wrong port in the Pi-Star firewall. How can I correct that?

iptables -A OUTPUT -p udp --dport 9000 -j ACCEPT
iptables -t mangle -A POSTROUTING -p udp --dport 9000 -j DSCP --set-dscp 46

Thank you

Re: change wrong port in the Pi-Star firewall?

Posted: Tue Jul 28, 2020 5:24 pm
by NQ4T
You just issue the command to have iptables remove the rule; then crrate the proper one.