Configuration
Avira GmbH
Avira AntiVir WebGate
23
If you modify the proxy server’s port, you have to adapt the settings of the Clients’
browsers, which access the proxy.
It is usually easier to keep the proxy settings and to adapt the WebGate settings, just like
in the above example.
4.2
Monitoring FTP Traffic
WebGate can also be set as
real
FTP proxy, so that it can scan the files transferred
through an FTP Client and even block them. It scans both downloads and uploads.
X
In
avwebgate.conf
set the port for the WebGate to communicate with the FTP
Clients:
FTPPort 2121
Now, the FTP Clients can communicate to FTP servers, through WebGate, which
means that the Clients have no direct connection to the FTP servers, but to
WebGate. In order for WebGate to make a substitute connection to FTP servers,
you need to specify the address and the name of the FTP servers. WebGate must
receive this information from FTP Clients at login with the
USER
command:
USER <username>@<host>[:<port>]
Compared to making a direct connection to FTP server, the connection through
WebGate also needs, apart from the user name at login, the host name – separated
with the @ character from the user name – or the IP address (optionally with port)
of the FTP server.
Example
This example illustrates the login procedure, when using a standard Unix FTP
Client:
Assumption: WebGate runs on a machine with the IP address
192.168.0.1
and
receives inquiries from FTP Clients on port 2121. You should establish a
connection to a remote FTP server with the IP address
10.0.0.1
, the user name
"foo" and the password "bar".
$ ftp 192.168.0.1 2121
Connected to 192.168.0.1.
220 AntiVir WebGate FTP proxy. Login with <user-
name>@<host>[:<port>]
Name (192.168.0.1:user): [email protected]
331 Password required for foo.
Password: bar
230 User foo logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>