Hi

I am wondering how i can get pf to do a PAT based on source IP network?

Traffic from 10.5.1.0/24 towards UDP port 69 should be mapped to port
20000 instead of port 69
Traffic from 10.5.2.0/24 towards UDP port 69 should be mapped to port
20001 instead of port 69

Traffic is accessing a service on the same server where pf is running.

Is this possible with pf?

Thomas
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf

To unsubscribe, send any mail to "[email protected]"



HI 

I think that's a easier one

rdr pass on $ext_if proto udp from any to $ext_if port 20000 -> 127.0.0.1
port 69



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[email protected]"

Reply via email to