Report this

What is the reason for this report?

Routing traffic through pfSense

Posted on April 6, 2020

I have two droplets. pfSense and WEBSRV.

I want to be able to route any incoming/outgoing traffic that hits WEBSRV through the pfSense droplet. Is this possible?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

how did you resolve this? what is the best practice and most secure way?

How can I enable IP Forwarding on PfSense and how congirue NAT ?

I think NAT from LAN to WAN is already configured by default on PfSense NAT

Yes, you need to enable ip forwarding in your pfsense and configure NAT. Then, in the webserver, you’ll have to add the private ip of your pfsense as the gateway and make changes like shown here: https://www.digitalocean.com/docs/networking/vpc/resources/droplet-as-gateway/

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.