> Hello, > Running pf on a 5.3 box and all is working, almost. I have a requirement > that if a connection is made from one host it will be directed to a > different machine, all other connections go somewhere else. For example > host1 makes an ssh connection and gets machine1, all other ssh connecting > hosts get machine2. I've tried various rdr rules and pass rules, but all > machines including host1 are getting machine2. > Thanks. > Dave.
--------------------------------------------- rdr pass on $ext_if proto tcp from $host1_ip to any port { 22 } -> $machine1_ip (all in one line ofcourse :) should do the trick, imho. Can you show the things that you've tried that didn't do it ? Kind regards Hexren _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[EMAIL PROTECTED]"