Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# Moving to relayd

Our tables become

    table <<webpool> { $web1, $web2, $web3, $web4, }
    table <sorry> { $sorry_server }

our service becomes a redirect

    redirect "www" {
    	 listen on $webserver port http
    	 forward to <webpool> check http "/status.html" code 200 timeout 300
    	 forward to <sorry> timeout 300 check icmp
    }