No subject

James Morris jamesmorris8 at outlook.com
Thu Oct 27 13:51:26 UTC 2016


Hi,


I have a FreeBSD server (A) with 2 NICs


Each NIC is connected to a different network:

igb0: 10.0.0.10/24

igb1: 10.10.10.10/24

The default gateway on the server is 10.0.0.1


The two networks can communicate using a router (10.0.0.1).


I have a server (B) running on 10.10.10.100 which only allows incoming connections from 10.0.0.0/24 (not 10.10.10.0/24).


When my FreeBSD server A attempts to connect to server B it uses the closest IP and goes through igb1 which is dropped by B.


Is there a way to force all (or some) outbound traffic to use igb0?


I have attached a small network diagram to illustrate my setup.


Thanks,


James



More information about the freebsd-pf mailing list