pfsense:vpn:openvpn:timed_access_for_openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:vpn:openvpn:timed_access_for_openvpn [2021/02/19 10:30] – peter | pfsense:vpn:openvpn:timed_access_for_openvpn [2021/02/19 10:41] (current) – [Create Firewall Rules] peter | ||
---|---|---|---|
Line 21: | Line 21: | ||
* Time: ** Select the time range to apply**. | * Time: ** Select the time range to apply**. | ||
* Click **Add Time**. | * Click **Add Time**. | ||
- | * Repeat the procedure to add another time / date range to be assigned to this schedule. | ||
- | * All created ranges will be displayed under **Configured Ranges**. | ||
{{: | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | All created ranges will be displayed under **Configured Ranges**. | ||
+ | |||
+ | </ | ||
---- | ---- | ||
Line 41: | Line 46: | ||
In the configuration screen that will appear, it will be sufficient to configure only 2 items: | In the configuration screen that will appear, it will be sufficient to configure only 2 items: | ||
+ | * Server List: **Select the OpenVPN Server to associate this with**. | ||
* Common Name: **The name of the VPN user**. | * Common Name: **The name of the VPN user**. | ||
- | * Advanced: | + | * Advanced: |
- | * Where IP_TUNNEL will be the IP address of the tunnel that we would like to be assigned to the user. | + | |
- | * Example: | + | |
<WRAP info> | <WRAP info> | ||
**NOTE: | **NOTE: | ||
+ | |||
+ | The format for the **Advanced entry** is: **ifconfig-push [IP_TUNNEL] [NETMASK]**, | ||
+ | |||
+ | * **IP_TUNNEL**: | ||
+ | * **NETMASK**: | ||
Repeat the procedure for each user to be managed. | Repeat the procedure for each user to be managed. | ||
+ | |||
</ | </ | ||
Line 59: | Line 69: | ||
Navigate to **Firewall -> Rules**. | Navigate to **Firewall -> Rules**. | ||
- | * Select the **OpenVPN** interface. | + | Select the **OpenVPN** interface. |
- | | + | |
+ | Click **Add** button to create a new rule to be placed at the top. | ||
* Action: | * Action: | ||
* Interface: | * Interface: | ||
Line 67: | Line 79: | ||
* Source: | * Source: | ||
* Destination: | * Destination: | ||
+ | |||
* Advanced Options: In the Schedule, Select the Schedule created previously. | * Advanced Options: In the Schedule, Select the Schedule created previously. | ||
- | + | <WRAP info> | |
**NOTE: | **NOTE: | ||
Repeat the procedure for each user to whom you want to grant access to the server at a certain time range. | Repeat the procedure for each user to whom you want to grant access to the server at a certain time range. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
To prevent the user from accessing other devices on the network, an additional rule that blocks access to everything should be placed UNDER the previously created access rules and associated with it. | To prevent the user from accessing other devices on the network, an additional rule that blocks access to everything should be placed UNDER the previously created access rules and associated with it. |
pfsense/vpn/openvpn/timed_access_for_openvpn.1613730639.txt.gz · Last modified: 2021/02/19 10:30 by peter