So I have an ESXi server setup with pfSense acting as the DHCP Server for the VM's. I use VNC's to access each VM over the internet (For example with ports :5905,5906,5907 etc.) and I would like to restrict that only certain IP's can access (whitelisted IP's) these VNC Servers and nothing else. In where and how exactly can I do this easily? In pfSense or in the VM's itself, or maybe in ESXi firewall? Would be nice if someone could explain this. Thanks!



is you try to access your server using VNC from public? if it is you can do port forwarding on your router and then for IP whitelist, you can make a rule on your firewall.

| improve this answer | |
  • Yes, the VNC ports are already port forwarded, but how can I do that and what I have to do exactly? Thanks. – Xalyy May 6 '19 at 20:35
  • you can setup firewall on every VM or you can using ip access list on the router. – Iyus Dedi Putra May 10 '19 at 3:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.