change wrong port in the Pi-Star firewall?

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

change wrong port in the Pi-Star firewall?

Post by PA2ZH » Thu May 28, 2020 3:46 pm

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: 45
Joined: Mon Aug 06, 2018 11:48 pm

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

Post by NQ4T » Tue Jul 28, 2020 5:24 pm

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

Post Reply