pfSense 2.1 x64bit on Custom ESxi 5.5

Recently at my work, I deployed new custom vSphere Hypervisor ESXi 5.5 machine. What did you say, custom? You may want to ask because my ESXi server is not branded, its clone PC with lower hardware resources. But it works like a charm and great. Actually, that server is only purpose for pfSense and ubuntu server. pfSense is use for proxy and ubuntu to svn server. In this post, I want to describe solution while install for custom ESXi server and edit network setting for pfSense.
vimg
Here is my hardware specs:
ASUS H81M Series Motherboard
Core i3 3.30GHz
8GB Memory (No ECC)
500GB Harddisk (No RAID)
1GbE Realtek (Onboard)
1GbE Realtek (External PCIe Card)

Remark : This hardware specification is not recommended from vmware community.
Now let’s start~!
Firstly, You need to make custom ESXi iso because new ESXi ISO is not included Realtek drivers. My mainboard have R8163 chip. You can find what series of chip is currenly use in the mainboard manual or vendor website. Here is the pre-configure ESXi ISO link. https://drive.google.com/file/d/0B9e0e9dGgCykV0xFMlRJY1Rydm8/edit?usp=sharing

Step 2 – You need to enter the BIOS Setting and make sure Intel Virtualization Technology is enabled.

Step 3 – If your mainboard have UEFI boot support and other operating system is loaded before installing ESXi, you need to disable Secure boot on BIOS Setting and clear the key.

Now, left session is installing vSphere Hypervisor and vShpere Client. I believe you can do like kid playing in the park. 😀

Let’s go to the pfSense section.
Before installing any guest OS on ESXi 5.5, I recommend install too VMware Workstation 10 if you have.
It will very helpful while you editing vmware hardware resources. Coz, vSphere client is not support vmware hardware version 10. Client will be say you need to install vSphere Web Client to edit hardware settings. There are other methods available on NET. But it is better for us and begineers 🙂

Step 4 – Install pfSense on ESXi 5.5 with default option. Just use WAN interface and config for trial. And when finish, halt the system

Step 5 – In vSphere Client inventory interface, select Configuration Tab and go to Networking

Step 6 – Select Add Networking and choose Virtual Machine option button in Connection Types

Step 7 – Click Next and choose Create a Virtual Switch selecting with vmnic1

Step 8 – Click Next and give the Network label to WAN

Step 9 – Open VMware Workstation 10 for editing hardware resources and connect ESXi Server

Step 10 – Just add Network Adapter and choose WAN from drop down list in pfSense setting

Finish! You need to configure which interface is WAN or LAN in pfSense. As the above I already said, it is like kids playing in the park for you.

Advertisements

pfSense Squid Tips~!

# Short Notes(Created By edwardjude/ejnetwork.wordpress.com)/(Squid 2.7 Stable Package)
~!To block All destination Domain (HTTP) and allow only specific sites (edit manually on squid.conf)
—————–
# acl allowed_sites {dst|dstdomain|dstdom_regex|url_regex}
(To allow specific sites or domain with regular expression)
# acl all_dst dst 0.0.0.0/0.0.0.0 (To block all destination)
# http_access allow allowed_sites (Allow Rule for Defined ACL)
# http_access deny all_dst (Deny Rule for Defined ACL)
# deny_info URL_path_from_U all_dst (Deny Info page for Defined ACL)
—————–

~!To block download of some file extension (edit manually on squid.conf or edit from GUI in Custom Options)
—————–

 acl blockfiles url_regex -i URL_path_from_U 
 http_access deny blockfiles

—————-
Remark : When you create the file path, you need to edit of this $ expression in file.
(\.exe$)