I have inherited a badly designed network, and have to keep it up. There's a machine running VMWare, and a pfSense VMWare appliance is acting as firewall and NAT. The network in use inside this NAT is The pfSense appliance has two more network adapters, one connected to the internet, and one connected to another physical machine on a network. What I am tasked with is to make that external machine visible to other virtual machines running behind pfSense. I have been banging my head against the wall, trying to figure out what sort of a rule do I need to create in pfSense and other VMS (which are running CentOS) to make this happen. Can anyone give me any ideas?


If you just need to expose some services running on the external machine then you could use Port Forwarding.

pfSense has a very straightforward web interface for doing that.

  • My problem is, how can I instruct the VMs to send packets destined for to (the gateway) because at the moment they don't. I have tried adding a route like this: route add -net but when I try traceroute it doesn't go through – iMan Biglari Nov 23 '16 at 1:19
  • Try this: route add -net NETMASK gw – Vikelidis Kostas Nov 23 '16 at 7:18

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.