# Setup of Public Captive Portal

### 1. Portal basic Settings

##### Configure Certificate and enable HTTPS

```
config user setting
    set auth-cert "certificate"
    set auth-secure-http enable  
end
```

##### Set public FQDN / DNS Name

```
config firewall auth-portal
    set portal-addr "portal.company.com"
end
```

### 2. Configure public Port

It is recommended to explicitly set a public Port

```
config system global
    set auth-https-port 45443
end
```

### 3. Update Policies

Simply add your Users/Groups to the Policies.