Date: Sat, 17 Jul 2010 23:09:23 +0100 From: "Torsten Kersandt" <torsten@cnc-london.net> To: <freebsd-pf@freebsd.org> Subject: RE: How to do PAT based on source IP network and port ? Message-ID: <011b01cb25fc$b78d2ce0$26a786a0$@net> In-Reply-To: <AANLkTimKumBkUdZSH4p_xANTZxUNtOmw_n2COfhnb-Oh@mail.gmail.com> References: <AANLkTimKumBkUdZSH4p_xANTZxUNtOmw_n2COfhnb-Oh@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011b01cb25fc$b78d2ce0$26a786a0$>