planetbops.blogg.se

Set up openvpn pfsense
Set up openvpn pfsense










set up openvpn pfsense

Click on Save to save the firewall rule.Enter a Description, such as Rule for VPN Site B.Enter 1194 in both the Destination port fields.Select the WAN Address option from the Destination dropdown menu.Enter the WAN address of the client in the Source Address field ( in this example it is 203.0.113.5).Select Single Host or Alias from the Source dropdown menu.Otherwise, follow the below step for adding the rule to allow only from the WAN IP address of the client: If the Site B WAN interface has a dynamic IP address, then leave it to ANY. Select UDP from the protocol dropdown option.After that, click on the Add button to create a new rule at the top of all rules.Select all text from the Shared Key textboxĪfter that, add a firewall rule on the WAN interface to allow access to the OpenVPN server.After that, click on to edit the server that in the last step.Remote network – Enter the LAN address of Site B, 10.5.0.0/24.Tunnel Network – Enter 10.3.100.0/30 as our tunnel network.Encryption Algorithm – Select AES-128-CBC (128-bit key, 128-bit block) option from the dropdown menu.Shared key – Check on Automatically generate a shared key option.Description – Enter Description for the connection(e.g.

set up openvpn pfsense

Server Mode – Select Peer to Peer (Shared Key) option from the dropdown menu.Fill the below fields with described options and leave other fields as defaults.Click on Add button to create a new VPN server.












Set up openvpn pfsense