Hello,
I want to redirect all traffic from one class to the server's IP. I've done this using:
Now 172.23.0.1 is the server. $to_rdr is the class that needs to be redirected. This works great until I apply:
to ipfw.rules. Does anyone know why? If I comment
the redirecting works great.
Thanks in advance.
I want to redirect all traffic from one class to the server's IP. I've done this using:
Code:
rdr on $int_if proto {tcp udp} from $to_rdr to !172.23.0.1 port 80 -> 172.23.0.1 port 80
Code:
table 1 flush
table 1 add 172.23.0.0/20
pipe 10 config bw 10MByte/s mask src-ip 0x00000fff # 10MByte/s for download
pipe 11 config bw 5MByte/s mask dst-ip 0x00000fff # 5MByte/s for upload
add pipe 10 all from table(1) to any in
add pipe 11 all from any to table(1) out
Code:
table 1 add 172.23.0.0/20
Thanks in advance.