Sunday, March 8, 2015

FortiOS v5.x Alert email settings for email servers in different subnet

If your fortinet device and email server are in different subnet, FortiOS v5.x will not be able to send alert emails to email server by setting only email server address from Gui.

You should also perform some configuration from CLI.

Connect to device by SSH.

FG100D # config system email-server
 

FG100D (email-server) #
set      Modify value.
unset    Set to default value.
get      Get dynamic and system information.
show     Show configuration.
abort    End and discard last config.
end      End and save last config.



//execute show command to view your current settings.

FG100D (email-server) # show
config system email-server
    set reply-to "fw@fxxxx.com"
    set server "10.1.10.11"
    set port 587
end

 //execute get command to view your current settings.

FG100D (email-server) # get
type                : custom
reply-to            : fw@fxxx.com
server              : 10.1.10.11
port                : 587
source-ip           : 0.0.0.0      //define source-ip in order to FG to access email server in different subnet
source-ip6          : ::
authenticate        : disable
security            : none


FG100D (email-server) # set source-ip 10.5.x.x (FW interface IP address that can reach messaging server)


Now, FG will be able send alert emails to messaging server in different subnet

Be sure you already configured relay on your messaging server.
Read more...

Tuesday, February 24, 2015

Enable Host Check (AV- FW) FortiOS v5

config vpn ssl web portal
edit full-access
set host-check av-fw
end

Read more...

Enable two factor Email authentication FortiOS v5

To enable email two-factor authentication - CLI
config user local
edit  username
set email-to  useremailaddress
set two-factor email
end

Read more...

Sunday, February 15, 2015

RPC Error while trying to connect NetApp Filer through MMC or while trying to edit Local Users and Groups on MMC

Add name and IP address of your filers to your host file.
Read more...

Operating System Error 1808 & Operating System Error 5 Access Denied

If you are getting these errors while trying to backup to network share on MS SQL Server;

Change SQL Server and SQL Agent service Log on accounts to user that have access right on network share.
Read more...

Sunday, January 25, 2015

Change moderated mailbox approval period

Exchange Management Shell

set-retentionpolicytag ModeratedRecipients -AgeLimitForRetention 15 --> (day)
Read more...

Tuesday, January 13, 2015

Extend / Resize Snapmirror Volume

FAS20xx in source , to a FAS20xx in Destination

1) Break the mirror on FAS20xx in destination
2) Resize the volume of FAS20xx in source
3) Resize the FAS20xx in destination backup Volume with same size of volume FAS20xx in source primary volume
    (You can keep the destination much higher in space.)



5) Initialize the snapmirror on FAS20xx in destination


 If you get  Volume has a fixed filesystem size (fs_size_fixed) error while you are trying to resize volume. You should turn fixed file system option off.

1)Execute df -h on console to see all volumes.

2) vol options volume fs_size_fixed off
 

Read more...
 
span.fullpost {display:none;}