firewall

SonicWall Setting Converter

Posted by robd on April 09, 2016
Sonicwall / No Comments

If you need to replace a ‘Standard OS’ Sonicwall with an ‘Enhanced OS’ Sonicwall there is a webpage to allow you to convert an exported config to the right format to then import on the new device

https://convert.global.sonicwall.com/

I tested it from a TZ170 to an NSA220 and it worked well.

Tags: ,

SonicWALL – Bandwidth Management

Posted by robd on January 21, 2015
Firewall, Sonicwall / No Comments

SonicWALL – Bandwidth Management

Firstly create the address objects i.e. create the subnets that you want to bandwidth manage:

1

 

 

Optional: Then the object group to group them all together

2

 

Next go to BWM under Firewall Settings and BWM, then change the type to Advanced:

3

 

Next go to Bandwidth object and create an object and choose if you would like a guaranteed bandwidth and your max bandwidth:

4

 

Next create a Firewall Access Rule:

5

On the access rule,

From: i.e. where the traffic is coming from in this cause our internal LAN.

To: The internet or WAN

Any port and service,

Source: our new subnet group.

Destination: anywhere on the internet

Users Included: All

Users Excluded: None

Schedule: Choose a schedule to manage the bandwidth

 

Finally choose the logging and extra security:

5

 

 

Next go to BWM and choose your new Bandwidth object.

Note Egress is bandwidth “out” and Ingress is bandwidth “in”:

6

 

o confirm anything is in place you can check you access rules.
1. A filter symbol means BWM is apllied
2. A clock symbol means it is scheduled.
sonicwall8

Also you can watch a GUI of statistics on Dashboard –> BMW Monitor
sonicwall9

 

 

Tags: , ,

Enable or Disable the firewall via Script

Posted by robd on May 15, 2012
Firewall / No Comments

As per the proxy on & off script, this does the same with Windows Firewall!!

It Enables or Disables the firewall!!  Some users need the firewall on for VPN applications when at home:

Note: This script enables a service so the user will need the relevant permissions!!

On:

 

On Error Resume Next

Set objFwMgr = CreateObject("HNetCfg.FwMgr")
If Err <> 0 Then
  WScript.Echo "Unable to connect to Windows Firewall."
  WScript.Quit
End If

Set objProfile = objFwMgr.LocalPolicy.CurrentProfile

If objProfile.FirewallEnabled = False Then
  WScript.Echo "Windows Firewall is Disabled."

  objProfile.FirewallEnabled = True
  WScript.Echo "Windows Firewall now Enabled."
Else
  WScript.Echo "Windows Firewall already Enabled."
End If

Off:

 

On Error Resume Next

Set objFwMgr = CreateObject("HNetCfg.FwMgr")
If Err <> 0 Then
  WScript.Echo "Unable to connect to Windows Firewall."
  WScript.Quit
End If

Set objProfile = objFwMgr.LocalPolicy.CurrentProfile

If objProfile.FirewallEnabled = True Then
  WScript.Echo "Windows Firewall is enabled."

  objProfile.FirewallEnabled = False
  WScript.Echo "Windows Firewall now disabled."
Else
  WScript.Echo "Windows Firewall already disabled."
End If

Note: Think this script was made by the MS scripting guys!

Tags: