change wrong port in the Pi-Star firewall?

All IP networking related issues
Post Reply
PA2ZH
Posts: 10
Joined: Thu Sep 05, 2019 5:40 pm

change wrong port in the Pi-Star firewall?

Post 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
NQ4T
Posts: 51
Joined: Mon Aug 06, 2018 11:48 pm

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

Post by NQ4T »

You just issue the command to have iptables remove the rule; then crrate the proper one.
Post Reply