Re: npf configuration

2017-07-15 Thread Edgar Pettijohn
On 07/15/17 13:18, Jan Danielsson wrote: On 07/15/17 20:08, Edgar Pettijohn wrote: pass in on egress inet proto tcp from any to (egress) port { 80 443 } rdr-to 192.168.1.2 would redirect $ext_if port http, https to $int_if port http, https [---] Looked through the manual again and it looks

Re: npf configuration

2017-07-15 Thread Jan Danielsson
On 07/15/17 20:08, Edgar Pettijohn wrote: >> pass in on egress inet proto tcp from any to (egress) port { 80 443 } >> rdr-to 192.168.1.2 >> >> would redirect $ext_if port http, https to $int_if port http, https [---] > Looked through the manual again and it looks like I need to use a map. > The sy

Re: npf configuration

2017-07-15 Thread Edgar Pettijohn
On 07/15/17 11:12, Edgar Pettijohn wrote: I was curious if npf can perform redirects similar to pf? For example the following pf rule: pass in on egress inet proto tcp from any to (egress) port { 80 443 } rdr-to 192.168.1.2 would redirect $ext_if port http, https to $int_if port http, htt

npf configuration

2017-07-15 Thread Edgar Pettijohn
I was curious if npf can perform redirects similar to pf? For example the following pf rule: pass in on egress inet proto tcp from any to (egress) port { 80 443 } rdr-to 192.168.1.2 would redirect $ext_if port http, https to $int_if port http, https I've read the npf.conf manual and it doe