User Tools

Site Tools


how_to:vpop3_access_security

This is an old revision of the document!


How To Setup vPOP3 Service Security

VPOP3 can be configured to restrict access to its various services depending on the client computer's IP address. This is useful if you want to allow access from only certain IP addresses (eg within your LAN) and prevent access from other IP addresses (eg the Internet).

With some services you can also restrict access to certain users on those IP addresses. These are generally only those services which require some form of logon (eg POP3, WebMail etc)

To secure a service, go to the Services tab in VPOP3, and click on the service you want to secure. You should find in there a box called Access Restrictions. In that box each line defines an access restriction rule. The parts to that rule are as follows:

  • Optionally if the first character on the line is a '!' (exclamation mark) it means do NOT allow access from the following IP addresses (you cannot specify user names in this case)
  • The first part of the line is the 'Network Address'.
  • The second part is the 'Subnet Mask'. If the Network address specifies a single host, then you can omit this section as it will default to '255.255.255.255'
  • Following the 'Subnet Mask' you can optionally specify one or more usernames to indicate which users can access the service from the specified IP addresses.

This is best clarified with an example:

!192.168.0.1

192.168.0.0 255.255.0.0

0.0.0.0 0.0.0.0 fred bob

This means:

  • Don't allow access to the service from IP address 192.168.0.1
  • Allow access to the service from IP addresses 192.168.0.0-192.168.255.255 for anyone
  • Allow access to the service from any other IP address, but only for the 'fred' and 'bob' users

Notes

  • If you don't have any access restrictions defined, then all access is allowed, if you do have some access restrictions defined, then any unspecified IP addresses are denied access
  • For the SMTP service, if you have specified any SMTP authentication options, you can specify a 'username' of NOAUTH. This means that access from the specified IP addresses does not require authentication
  • If you want to allow access from anywhere, use a line like 0.0.0.0 0.0.0.0 to mean 'allow access from anywhere'
  • The Access Restriction rules are processed from the top to bottom until an IP address match is found. So, in the above example, if the 0.0.0.0 0.0.0.0 line was put at the start, the rest of the rules would be ignored because that first line would match all IP addresses.

On the service specific access restrictions, if the address is allowed, then VPOP3 will check the global access restrictions on the Services page, unless NOGLOBAL is specified in the service specific restrictions. So, if you are modifying service specific access restrictions it is probably best to add a line saying NOGLOBAL to prevent the global access restrictions from overriding the changes.

how_to/vpop3_access_security.1242310035.txt.gz · Last modified: 2018/11/14 10:44 (external edit)