Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a pfSense configured with two Internet links for broadband load balancing.

One of these links block outgoing traffic on 25 port (WAN1). I have a mail server (IP 10.6.9.2) that should use the gateway of the internet without blocking (WAN2) when the destination port is 25 (SMTP).

We can do this setup with pfSense?

share|improve this question

2 Answers 2

It seems that you've figured this out already, but the way to do that is through firewall rules with a specific gateway chosen. In pfSense and in general, this is called Policy Based Routing or Policy Routing, so try searching for those terms if you have specific issues.

share|improve this answer

I created the following firewall rule (Firewall > Rules) before the rule of the loadbalancer gateway:

Protocol: * Source: 10.6.9.2 Port: * Destination: * Port: 25 (SMTP) Gateway: WAN2_GW

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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