Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two client PCs which need to access the same remote resource. They are both connected to a pfsense device. The problem is, both clients try to connect to the remote device using the same port. One client gets kicked off.

Is there a way to configure pfsense so that that one of the clients will get mapped to a different port outgoing?

What I have now:

Client 1 Port 90 --- > Pfsense Port 90 --- > Remote host Port 1000

Client 2 Port 90 --- > Pfsense Port 90 --- > Remote host Port 1000

What I want: Client 1 Port 90 ------ > Pfsense Port 90 ------ > Remote Host Port 1000

Client 2 Port 90 ------ > Pfsense Port 90 > 91 ------ > Remote Host Port 1000

Any ideas?

share|improve this question
up vote 2 down vote accepted

Log into the pfsense web interface.

Go to Firewall > Nat. Make sure "Manual Outbound NAT rule generation (Advanced Outbound NAT (AON))" is selected.

Create a new rule.

Interface : WAN

Source: Network Address : IP of local machine you wish to map a differente port for. Make your netmask /32 Source Port: Enter the port the client tries to connect from (My example 90)

Destination : Leave all default

Translation : Interface Address Port : Port you wish to remap to (My example 91).


share|improve this answer

Your Answer


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.