PFsense on VMWare ESXi setup for load balance

Mau paham tentang PFsense on VMWare ESXi setup for load balance, hanya disiniaja

Apr 24, 2024 - 08:45
Apr 24, 2024 - 09:43
 0  534

PFsense on VMWare ESXi setup for Load Balance
1. Download iso file from https://www.pfsense.org/download/

2. Upload iso file to datastore on ESxi

Create new folder for source, in this case i have name master then upload iso file to new directori

3. Create New Virtual Machine Host

For best performance running 64 BIt, set RAM up to 4GB

Set Adapter WAN1, WAN2 & LAN to VMXNET for 10 GB interface

Edit VM Host Hardware not used

Delete Floppy Disk

Add iso image from datastore

OK, Now FINISH TO CONFIGURATION New Virtual Machine Host

4. Running New Virtual Machine Host

5. Installation Process

For optimal performance set partition disk to ZFS

OK, finish for this step, then reboot

Set No to interfaces VLANs

Set WAN1, WAN2 & LAN, Don't be wrong. Set match exactly MAC ADDRESS with your interfaces on VM Host Interfaces.

Set WAN Interface

Set LAN Interface

Treat the same for WAN2, then process

Then halt the system, for remove CD/DVD Drive

Remove CD/DVD Drive not used

Take Virtual Machine Snapshot to Backup New PFsense Host

Running VM PFsense Host

7. Open browser by PC with same PFsense network

Username : admin

Password : pfsense

8. Setup general information By Wizard

Setup DNS Server to cloudflare and Quad9


9. Time Server Information

10. Configure WAN Interface


11.    Configure LAN Interface

12.    Set Admin WebGUI Password

Then reload configuration, OK NOW FINISH for WIZARD CONFIGURATIONS


13.    Configure System > Advanced

Set to Cstom Port For WebGUI and SSH Port

Then SAVE CONFIGURATION

14.    Configure System > General Setup

SAVE CONFIGURATIONS

15.    Configure Interfaces > WAN

SAVE & APPLY CHANGES

setup WAN2

configure Interfaces > OPT1 

SAVE & APPLY CHANGES

16.    Configure System > Routing

SAVE & APPLY CHANGES

Add new for FAIL WAN1

SAVE & APPLY CHANGES

Add new for FAIL WAN2

SAVE & APPLY CHANGES

Setup to default gateway to loadbalanced

SAVE & APPLY CHANGES

Edit Gateway to setup Gateway Monitoring

For WAN1

Monitor IP for WAN1

Monitor IP for WAN2

SAVE & APPLY CHANGES

17.    Configure Sevices > DHCP Server

SAVE & APPLY CHANGES 

18.    Configure System > Advanced > Networking

SAVE CONFIGURATION

19.    Configure System > Package Manager

INSTALL CRON & Open-VM-Tools

20.    Configure Services > DNS Resolver

Copy this :

server:
  private-domain: "afqar.net"
  do-tcp: yes
  minimal-responses: yes
  prefetch: yes
  qname-minimisation: yes
  rrset-roundrobin: yes
  forward-zone:
    name: "."
    forward-ssl-upstream: yes
    forward-addr: 1.1.1.1@853
    forward-addr: 1.0.0.1@853
    forward-addr: 2606:4700:4700::1111@853
    forward-addr: 2606:4700:4700::1001@853 
    forward-addr: 9.9.9.9@853 
    forward-addr: 149.112.112.112@853 
    forward-addr: 2620:fe::fe@853 

SAVE & Apply Changes

Configure Service > DNS resolver > Advanced Setting

21.    Configure Firewall > Rules

Edit Rules LAN

SAVE & APPLY CHANGES

DELETE RULE FOR IPv6

Apply Changes

Reboot PFsense


22.    TES ALL YOUR CONFIGURATION. FINISH 

You can watch this lesson on YouTube to understand better. Don't forget to help our channel to develope further so that, there is nothing that can't be done except https://disiniaja.id.

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow