Can I install pfSense between two switches in hp proliant DL 380G6 and how can I do it?
Anyone explain to me (how to do it?)
Yes, you can install pfsense on an HP Proliant DL380G6. That's WAY overpowered for a stand-alone firewall/router box. But, if you're running it in a VM, that's a better use case.
I'm not exactly sure what you mean by "between two switches" in your question, however.
I edited your post as it was hard to read.
I assume he means just in between two switches. Maybe as a layer 2 firewall?