Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Adding a static route


In this recipe, we will demonstrate how to add a static route to a network not directly connected to pfSense. Assume that the LAN network uses the subnet 192.168.1.0/24, and there is an external router on the LAN network. The WAN interface of the external router has an IP address of 192.168.1.2, and the external router's LAN network uses the subnet 192.168.2.0/24. The following diagram illustrates our network (the DMZ router is our external Cisco router):

 

How to do it...

  1. Navigate toSystem | Routing | Gateways.
  2. On the Gateways tab, click on Add.
  3. Set Interface to LAN:
  1. Enter an appropriate name in theNameedit box.
  2. In the Gateway text field, enter 192.168.1.2.
  3. In the Monitor IP text field, enter an IP for monitoring the gateway.
  4. Enter a brief description in the Description text field.
  5. When done, click on the Save button.
  6. Click on the Apply Changes button.
  7. Click on the Static Routes tab.
  8. Click on the Add button.
  1. In the Destination network text field, enter 192.168.2.0. In the adjacent...
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 $19.99/month. Cancel anytime