Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to redirect packets that are going to internal network to localhost of firewall.

I wrote this rule but it doesn't work.

int_net = "{}"
ext_if = "{igb0}"
int_if = "{igb1}"

rdr on $ext_if proto tcp from any to $int_net port www -> port 9999

When I wrote on browser, It should get a test page from firewall. But as far as I couldn't do that.

What am I missing here?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I think you also want "pass" here:

rdr pass on $ext_if proto tcp from any to $int_net port www -> port 9999

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.