auto-update Antivirus Essential for Synology NAS behind proxy

Since DSM 4.1 you can configure proxy service at the Control Panel – Network:

but if you have installed the AntiVirus Essential package, it wouldn’t use this settings to update it’s virus definitions and will fail:

To configure autoupdate for the virus definitions behind a proxy server, you need to configure some settings manualy:

activate ssh on your NAS:

connect to your NAS by SSH and login as root (not as admin!)

create a new script:

change vi to the insert mode by press key i, then insert this lines: read more

add second default route to Synology NAS

Shortly i need to connect a Synology NAS to two separated networks. At default you can only define one Gateway for your Synology NAS. To define a second route, do this steps:

Activate SSH access to your Synology NAS:

configure first LAN interface:

configure second LAN interface:

configure default gateway:

Connect to NAS by ssh and configure the second route:

after configuring this, you can disable ssh access again.