Design Considerations | pfSense Documentation (2024)

One of the main considerations when choosing a WireGuard implementation layoutis whether to use one tunnel with many peers, or one tunnel per peer.

Routing to WireGuard Peers

WireGuard uses what it calls “Cryptokey Routing” to map traffic inside WireGuardto a specific peer which is then encrypted using the public key for that peer.In practice, this means that when multiple peers are defined on a WireGuardinstance, it must have all networks which will be routed to each peer defined onthe peer. This can make managing networks and routes cumbersome.

When there is only one peer on a wireguard interface, it can instead assume thatthe one peer is the correct destination for all traffic which crosses theinterface (e.g. Allowed IPs set to 0.0.0.0/0 or ::/0). And in thatcase, a routing protocol such as BGP or OSPF can manage the operating systemrouting to the neighbor instead of static routes.

Design Style

WireGuard does not have a concept of “Client” and “Server” per se, but dependingon the configuration the firewall can behave in a manner similar to a “Client”(initiates locally, remote never initiates) or “server” (never initates, remotesalways initiate).

Technically every WireGuard tunnel is a peer to peer connection, but there arethree main ways a WireGuard tunnel can be configured depending on whether or nota peer endpoint is known or defined:

  • Site-to-Site (peer endpoint filled in on both sides)

  • Remote Access “Server” (endpoint only filled in on remote peers)

  • Remote Access “Client” (endpoint only filled in locally, not on the “server”peer)

Any of those roles can technically be configured no matter how the peer endpointsettings are defined, but not defining an endpoint on one side or the otherlimits the capacity in which a peer can operate.

Typically, a tunnel is defined with a known peer IP address or hostname for theendpoint, which could take advantage of Dynamic DNS for dynamic peers. This isthe most secure method as it locks the tunnel down to specific known peers, butthat is not always practical.

In the case of remote access style setups, the peer endpoint address istypically unknown and can change at any time. In this case, the peer endpointcan be left blank and WireGuard will accept connections from any remote address,validating the key instead.

Note

WireGuard supports roaming automatically, and can detect when a peer haschanged IP addresses. WireGuard will recognize that authenticated data iscoming from a new address and update itself accordingly.

Design Considerations | pfSense Documentation (2024)

FAQs

What are the various considerations of documentation designing? ›

Maintain enough blank space in a document to avoid big blocks of text and a clutter from too many visuals or background images. Repetition. Maintain the same format for similar items throughout, e.g., repeat heading formats, place similar information similarly in the layout, etc. Contrast.

Is WireGuard P2P? ›

WireGuard is a simple, fast, lean, and modern VPN that utilizes secure and trusted cryptography. This example covers Peer-to-Peer configuration and LAN-to-LAN connectivity using WireGuard VPN.

What is the IP address of pfSense firewall? ›

By default, the LAN IP address of a new installation of pfSense software is 192.168. 1.1 with a /24 mask ( 255.255. 255.0 ), and there is also a DHCP server running.

What is crypto routing in WireGuard? ›

Overall, Cryptokey Routing within WireGuard presents a streamlined and secure method for routing and authenticating network traffic, ensuring that only authorized devices can communicate over encrypted channels.

What are the four parts of design documentation? ›

The Principles of Document Design. The principles of designing visually-appealing documents have to do with how your content is physically laid out and are based on how our eyes travel across a page. The four main principles of good document design are alignment, contrast, proximity, and repetition.

What are the 5 principles of good documentation? ›

Five Rules of Good Documentation: Key Principles for Effective Documentation
  • Clarity and Simplicity.
  • Consistency and Standardization.
  • Version Control and Updates.
  • Visual Aids and Examples.
  • User Feedback and Iteration.
Jan 22, 2024

Which is better, OPNsense or pfSense? ›

Ultimately, pfSense offers more flexibility for seasoned users, but OPNsense provides a more polished out-of-box experience.

Is pfSense a VPN server? ›

You can set up your own OpenVPN server with pfSense, allowing the user to access their home network securely with a Virtual Private Network (VPN). As such, your local machine will be accessible from anywhere, and you can use your home internet connection remotely via your device.

Is pfSense a DHCP server? ›

The DHCP Server in pfSense will hand out addresses to DHCP clients, and automatically configure them for network access. By default, the DHCP server is enabled on the LAN interface.

Which protocol is better OpenVPN or WireGuard? ›

The biggest notable differences between WireGuard and OpenVPN are speed and security. While WireGuard is generally faster, OpenVPN provides heavier security. The differences between these two protocols are also their defining features. We've taken a closer look at each so you can really understand how they work.

Does WireGuard need TCP or UDP? ›

WireGuard uses only UDP, due to the potential disadvantages of TCP-over-TCP. Tunneling TCP over a TCP-based connection is known as "TCP-over-TCP", and doing so can induce a dramatic loss in transmission performance due to the TCP meltdown problem. Its default server port is UDP 51820.

Which protocol is better WireGuard or IPSec? ›

Considerations for choosing WireGuard or IPSec

Security: Both protocols offer strong security features, but WireGuard is praised for its simplicity and modern cryptographic approach. Performance: WireGuard typically outperforms IPSec in terms of connection speed and resource efficiency.

What factors must be considered when designing a document? ›

From my perspective, the critical factors of effective document design are typography, layout, and visuals. Including illustrations in technical documentation to break up your text is beneficial, however, balance is also crucial because you do not want the visual display to obscure the message.

What are the main design considerations? ›

Design considerations in engineering are key factors that influence the development process of a product or system. These can include functional and operational requirements, materials selection, safety regulations, sustainability concerns, cost limitations, and intended product lifespan.

What are three important elements of document design? ›

Elements of Document Design

A document design should (1) follow company standards, (2) make information accessible, and (3) look inviting to the reader. Smart choices about format, page layout, and typography will lead to a successful design.

What considerations should be made during the design process? ›

Let's take a closer look at these steps and how you can put the design process into practice for your own projects.
  • Identify the problem you want to solve. ...
  • Research the problem in-depth. ...
  • Ideate possible solutions. ...
  • Evaluate and select a promising solution. ...
  • Create your prototype. ...
  • Test and troubleshoot.
Jan 1, 2023

Top Articles
Is New York SAFE to Visit? (2024 • Insider Tips)
International Convention for the Prevention of Pollution from Ships (MARPOL)
9.4: Resonance Lewis Structures
Canya 7 Drawer Dresser
Splunk Stats Count By Hour
Television Archive News Search Service
Phcs Medishare Provider Portal
San Diego Terminal 2 Parking Promo Code
Draconic Treatise On Mining
Learn How to Use X (formerly Twitter) in 15 Minutes or Less
Planets Visible Tonight Virginia
Jscc Jweb
Brenna Percy Reddit
fltimes.com | Finger Lakes Times
Babyrainbow Private
978-0137606801
Stihl Km 131 R Parts Diagram
Kvta Ventura News
Kountry Pumpkin 29
Vegas7Games.com
Morse Road Bmv Hours
Craigslist Pennsylvania Poconos
Ltg Speech Copy Paste
Bleacher Report Philadelphia Flyers
Star Wars Armada Wikia
The Collective - Upscale Downtown Milwaukee Hair Salon
Buhl Park Summer Concert Series 2023 Schedule
Kleinerer: in Sinntal | markt.de
Kokomo Mugshots Busted
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
THE 10 BEST Yoga Retreats in Konstanz for September 2024
Games R Us Dallas
7543460065
Boone County Sheriff 700 Report
Wisconsin Women's Volleyball Team Leaked Pictures
Wrigley Rooftops Promo Code
O'reilly's El Dorado Kansas
Callie Gullickson Eye Patches
Nid Lcms
'Guys, you're just gonna have to deal with it': Ja Rule on women dominating modern rap, the lyrics he's 'ashamed' of, Ashanti, and his long-awaited comeback
Powerboat P1 Unveils 2024 P1 Offshore And Class 1 Race Calendar
FedEx Authorized ShipCenter - Edouard Pack And Ship at Cape Coral, FL - 2301 Del Prado Blvd Ste 690 33990
Gli italiani buttano sempre più cibo, quasi 7 etti a settimana (a testa)
Wgu Admissions Login
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
Mail2World Sign Up
A Snowy Day In Oakland Showtimes Near Maya Pittsburg Cinemas
Prologistix Ein Number
Psalm 46 New International Version
Mast Greenhouse Windsor Mo
Room For Easels And Canvas Crossword Clue
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 5868

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.