On 16 Sep 2004 13:16:51 -0700,
nicomv@gmail.com (Nicolas) wrote:
>I need to redirect each packet from int_if port 80 to 127.0.0.1 port
>8080
>I've tried tons of pf rule like :
>rdr on $int_if proto tcp from any to any port 80 -> 127.0.0.1 port
>8080
>
>I've even tried:
>rdr on $inf_if from any to any -> 127.0.0.1
>
>and still nothing...
>
>I want to force each packet from the internal network to be redirected
>before going out, and vice-versa for the incoming: redirect it before
>coming in.
Your rules will redirect lan traffic attempting to connect to
$int_if:80 to 127.0.0.1:8080. Then what? What do you have running
there? Some kind of proxy server I guess. As for incoming traffic,
your rules don't apply. Kindly provide more info as to what you are
really trying to do.
/pm