PF redirect to another IP on LAN

2006-07-29 Thread elaconta.com Webmaster
Hi I've just successfully configured an OpenBSD bridge with two NICs to separate and filter traffic between our private LAN (192.168.1.0/24) and our router (192.168.1.120). I've given an IP address to one of the NICs (192.168.1.121) on the bridge and am running a Bind caching nameserver on it.

Re: PF redirect to another IP on LAN

2006-07-29 Thread Peter Blair
man pf.conf Secondly, it's been discussed numerous times on the list that bridges have their place (I use them in production environments at our data centre) but you'll find filtering a bridge much more difficult than filtering a NAT. On 7/29/06, elaconta.com Webmaster [EMAIL PROTECTED] wrote:

Re: PF redirect to another IP on LAN

2006-07-29 Thread elaconta.com Webmaster
Peter Blair escreveu: man pf.conf Secondly, it's been discussed numerous times on the list that bridges have their place (I use them in production environments at our data centre) but you'll find filtering a bridge much more difficult than filtering a NAT. On 7/29/06, elaconta.com

Re: PF redirect to another IP on LAN

2006-07-29 Thread Kian Mohageri
Wouldn't this do the trick? rdr on rl1 proto tcp from any to 192.168.1.121 port 80 - 192.168.1.103 Redirect any port 80 traffic originally meant for me to 192.168.1.103 Yes, but why are you asking if you already have the answer? As stated in the man page, your traffic will also need to

Re: PF redirect to another IP on LAN

2006-07-29 Thread elaconta.com Webmaster
Kian Mohageri escreveu: Wouldn't this do the trick? rdr on rl1 proto tcp from any to 192.168.1.121 port 80 - 192.168.1.103 Redirect any port 80 traffic originally meant for me to 192.168.1.103 Yes, but why are you asking if you already have the answer? As stated in the man page,