суббота, 9 февраля 2013 г.

настройка openvpn +pfsense

From the pfSense web interface, navigate to Interfaces, select the newly created interface and set it as follow:

From the pfSense web interface, navigate to Interfaces -> (assign) and press the plus button to add the new interface (OPT1 ovpnc1 in our example). Press the Save button to save the interfaces.

From the pfSense web interface, navigate to Status -> System Logs and select the OpenVPN tab. If the last line in the log is "Initialization Sequence Completed" then you are connected to the VPN. Still no traffic is directed trough the VPN and you need to setup the interfaces and the routes.

The settings shold look like the following picture. Press the Save button to save the OpenVPN configuration.

Advanced: verb 5; auth-user-pass /root/user_pass.txt; fragment 1300; persist-key; persist-tun; link-mtu 1578; explicit-exit-notify 3; redirect-gateway def1

Compression: check the "Compress tunnel packets using the LZO algorithm."

Encryption algorithm: BF-CBC (128-bit)

Peer Certificate Authority: select ibVPN from the list

TLS Authentication: NOT checked

Server host or address: server name or IP of the server you want to connect. Can be found in .

Server Mode: Peer to Peer (SSL/TLS)

Setup the OpenVPN client as follow:

From the pfSense web interface, navigate to VPN -> OpenVPN and select Client from the tab list. Press the plus button to add a new OpenVPN configuration.

In the "Descriptive name" type ibVPN and make sure "Import an existing certificate authority" is selected. Open the ibvpn.com.crt file downloaded in Notepad or other text editor and copy/paste the EXACT file content into the "Certificate data" field. Leave the rest of the field empty and press the Save button to save the certificate.

From the pfSense web interface, navigate to System -> Cert Manager and press the plus button.

From the pfSense web interface, navigate to Diagnostics -> Edit file. In the "Save / Load from path:" type /root/user_pass.txt and in the field below type your Username and VPN Password from as shown in the following picture. Press the Save button to save the user_pass.txt file.

Download and unzip the OpenVPN configuration files for pfSense.

OpenVPN setup on pfSense firewall

Secure & Anonymous browsing Unblock the web

OpenVPN setup on pfSense firewall - Knowledgebase - ibVPN

Комментариев нет:

Отправить комментарий