mirror of
https://github.com/logos-storage/logos-storage-installer.git
synced 2026-01-03 14:03:08 +00:00
Removes firewall section for windows node start
This commit is contained in:
parent
09a6f1518f
commit
2114d737cb
@ -57,12 +57,6 @@ export async function runCodex(showNavigationMenu) {
|
||||
]);
|
||||
|
||||
try {
|
||||
if (platform === 'win32') {
|
||||
console.log(showInfoMessage('Setting up firewall rules...'));
|
||||
await runCommand(`netsh advfirewall firewall add rule name="Allow Codex (TCP-In)" protocol=TCP dir=in localport=${listenPort} action=allow`);
|
||||
await runCommand(`netsh advfirewall firewall add rule name="Allow Codex (UDP-In)" protocol=UDP dir=in localport=${discPort} action=allow`);
|
||||
}
|
||||
|
||||
let nat;
|
||||
if (platform === 'win32') {
|
||||
const result = await runCommand('for /f "delims=" %a in (\'curl -s --ssl-reqd ip.codex.storage\') do @echo %a');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user