Now that virtual machines are becoming more powerful, configuring a soft route or firewall in ESXi becomes a more and more user choice, leveraging the power of ESXi hosts and flexible configurations to meet the different requirements of installation pfsense.
ESXi Host Settings
First, the host configuration requirements
This tutorial covers the following basic requirements for networking and hardware:
A virtual host with ESXI6.5 installed: Host configuration includes two physical network cards, one for LAN, LAN switch, one for WAN, and telecom fiber broadband. The LAN segment is 192.168.111.0/24. The ESXi virtual host configuration is as follows:
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/99/8C/wKiom1lJwqbzFVD6AAB14PxslBo281.png "title=" 13. PNG "alt=" Wkiom1ljwqbzfvd6aab14pxslbo281.png "/>
Two network cards bridge two physical network cards respectively.
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/99/8D/wKioL1lJwsmh7fMTAACJfrcefCQ578.png "title=" 12. PNG "alt=" Wkiol1ljwsmh7fmtaacjfrcefcq578.png "/>
Second, configure the ESXi host Management Network
After the ESXi installation is complete, press F2 to enter the ESXi host Configuration interface, where you set the management host's network address:
Go To configure Management Network (Configure Management Networks), select Network adapters (network card), select the network card we set as LAN, choose Vmnic0 here, press ENTER to confirm.
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/99/8D/wKioL1lJw1jg9agHAABUaQeqxMA053.png "title=" 14. PNG "alt=" Wkiol1ljw1jg9aghaabuaqeqxma053.png "/>
Enter IPV4 configuration, (IPv4 address config), set the IP address, mask, and gateway of the network card. IP should be set to IP within LAN.
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/99/8D/wKiom1lJxHORC5mJAABenW5lgiU380.png "title=" 15. PNG "alt=" Wkiom1ljxhorc5mjaabenw5lgiu380.png "/>
Press ENTER to confirm when the setting is complete. Run Test Management Network (test management networks) to verify that the settings are correct.
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/99/8D/wKiom1lJxLChQ051AABLHEF7BM8543.png "title=" 17. PNG "alt=" Wkiom1ljxlchq051aablhef7bm8543.png "/>
Exit after saving. The ESXi host settings are complete.
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/99/8D/wKiom1lJxQqxkudXAAAiuzW1Xxs456.png "title=" 18. PNG "alt=" Wkiom1ljxqqxkudxaaaiuzw1xxs456.png "/>
Vmware ESXI6.5 Web Client Configuration
Enter the management address 192.168.111.70 in any computer browser on the LAN, Enter the VMware ESXI6.5 Web Client configuration.
First, create a virtual switch
Before creating a new virtual machine, you first need to create two virtual switches and two port groups.
Add two virtual switches, one for WAN and another for LAN, the uplink selects two independent ports available.
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/99/8D/wKioL1lJxzDB-x4xAAB08_EcwnY763.png "style=" float : none; "title=" Fireshot Capture 111-jxgs.localdomain–vm_-https___192.168.111.70_ui_#_host_networking_adapters.png "alt=" Wkiol1ljxzdb-x4xaab08_ecwny763.png "/>
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/99/8D/wKioL1lJxzHQDV8UAABnmS4wQ5M675.png "style=" float : none; "title=" Fireshot Capture 112-jxgs.localdomain–v_-https___192.168.111.70_ui_#_host_networking_vswitches.png "alt=" Wkiol1ljxzhqdv8uaabnms4wq5m675.png "/>
Second, add the port
After you create the virtual switch, click the Port Group tab. Click Add Port Group. Add WAN and LAN port groups, named LAN and WAN, respectively, using LAN and WAN switches.
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/99/8D/wKiom1lJySvwfPmKAACuW2EIAIs391.png "title=" Fireshot Capture 118-jxgs.localdomain–_-https___192.168.111.70_ui_#_host_networking_portgroups.png "alt=" Wkiom1ljysvwfpmkaacuw2eiais391.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/99/8D/wKiom1lJygKBCiMZAAEg7L6leyE349.png "title=" Fireshot Capture 113-jxgs.localdomain–vmware esxi_-https___192.168.111.70_ui_#_host_n.png "alt=" Wkiom1ljx27ziy1paaee7m6vv7e635.png "/>
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/99/8E/wKioL1lJyg-Bna-tAAEixWUp97A874.png "title=" Fireshot Capture 114-jxgs.localdomain–vmware esxi_-https___192.168.111.70_ui_#_host_n.png "alt=" wKiom1lJx2_ Wzmdmaaececqi0gg169.png "/>
Iii. Creating a virtual machine
After the virtual switch and port group configuration is complete, you can create the Pfsesne virtual machine, which is similar to the General virtual machine installation (not detailed here), the configuration according to the need to set, pay attention to the configuration of the network card, two virtual network card, one LAN port, one to the WAN port.
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/99/8E/wKioL1lJyn7xj6LkAACko2O6I9k395.png "title=" Fireshot Capture 115-jxgs.localdomain–vmware esxi-https___192.168.111.70_ui_#_host_vms_1.png "alt=" Wkiol1ljyn7xj6lkaacko2o6i9k395.png "/>
The installation is complete and enters the shell interface. The LAN segment configured in this tutorial is 192.168.113.0/24.
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/99/8E/wKiom1lJzlTwHEKMAAB-mK4BbqQ067.png "title=" Fireshot Capture 116-jxgs.localdomain–vmware esxi-https___192.168.111.70_ui_#_host_vms_1.png "alt=" Wkiom1ljzltwhekmaab-mk4bbqq067.png "/>
Iv. Configuring virtual Machines
Pfsense after the installation of the virtual machine, according to the configured LAN interface IP, through the browser into the management interface, which is the same configuration as the physical machine, WAN interface filled with the telecommunications provider given the IP, because the virtual machine is running, but also to install a open-vm-tools plug-in, To increase the performance of the virtual machine. LAN computer set for LAN interface the same network segment IP can be normal Internet.
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/99/8E/wKiom1lJzsvB1vR5AACh9FL7o_4838.png "title=" Fireshot Capture 123-jxgs.555-System _ Plugin Management _ Installed plugins-https___192.168.133.1_pkg_mgr_installed.png "alt=" WKIOM1LJZSVB1VR5AA Ch9fl7o_4838.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/99/8E/wKioL1lJziGRtajAAADt4TIsxzg789.png "title=" Fireshot Capture 117-jxgs.555-System Status _ system panel-https___192.168.133.1_.png "alt=" Wkiol1ljzigrtajaaadt4tisxzg789.png "/>
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/99/8E/wKioL1lJzuGiL5nOAAG_eRYUMQA722.png "title=" Fireshot Capture 122-jxgs.localdomain–vmware esxi-https___192.168.111.70_ui_#_host_vms_1.png "alt=" Wkiol1ljzugil5noaag_eryumqa722.png "/>
2017-6-21
This article from "Pfsense Exchange" blog, declined reprint!
Installing pfsense2.34 instances in VMware ESXI6.5