Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RunOnFluxBot committed Oct 23, 2024
1 parent 6e4d083 commit 7c139e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/upnpService.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ async function adjustFirewallForUPNP() {
routerIpNetwork += '/16';
}
const execDelete = `LANG="en_US.UTF-8" && sudo ufw delete deny out from any to ${routerIpNetwork}`;
const execDeny = `LANG="en_US.UTF-8" && sudo ufw deny out from any to ${routerIpNetwork}`;
await cmdAsync(execDelete);
await cmdAsync(execDeny);
log.info('Firewall adjusted for UPNP');
} else {
log.info('RouterIP is set but firewall is not active. Adjusting not applied for UPNP');
Expand Down

0 comments on commit 7c139e8

Please sign in to comment.