Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
pfSense 2.x Cookbook

You're reading from   pfSense 2.x Cookbook Manage and maintain your network using pfSense

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher
ISBN-13 9781789806427
Length 298 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
David Zientara David Zientara
Author Profile Icon David Zientara
David Zientara
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Initial Configuration 2. Essential Services FREE CHAPTER 3. Firewall and NAT 4. Additional Services 5. Virtual Private Networking 6. Traffic Shaping 7. Redundancy, Load Balancing, and Failover 8. Routing and Bridging 9. Services and Maintenance 10. Backing Up and Restoring pfSense 11. Determining Hardware Requirements 12. Other Books You May Enjoy

Configuring the OpenVPN service

This recipe demonstrates how to set up an OpenVPN connection from the server side.

As with IPsec, OpenVPN can be used in both site-to-site mode (creating an OpenVPN tunnel between two firewalls) and client-server mode (one side accepts a connection from the other side). The implementation of OpenVPN in pfSense allows us to set up peer-to-peer and client-server connections, but in a slightly different way than IPsec. With IPsec, if we wanted to connect two firewalls, we had to use peer-to-peer mode. With OpenVPN, to connect two firewalls we must connect them in client-server mode. Thus, the client can be either (a) another firewall, or (b) a mobile client who needs to connect to our network (and we can have multiple clients connecting to the same server).

In this recipe, we will describe how to set up pfSense to act as an OpenVPN server. This requires...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime