=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/relayd.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/etc/Attic/relayd.conf 2007/01/31 08:32:16 1.1 +++ src/etc/Attic/relayd.conf 2007/02/13 10:16:05 1.2 @@ -1,4 +1,4 @@ -# $OpenBSD: relayd.conf,v 1.1 2007/01/31 08:32:16 pyr Exp $ +# $OpenBSD: relayd.conf,v 1.2 2007/02/13 10:16:05 pyr Exp $ # # Macros # @@ -15,12 +15,14 @@ # Each table will be mapped to a pf table. # table webhosts { + real port http check http "/" code 200 - host webhost1 - host webhost2 + host $webhost1 + host $webhost2 } table fallback { + real port http check icmp host 127.0.0.1 } @@ -29,7 +31,7 @@ # Services will be mapped to a rdr rule. # service www { - virtual ip www.example.com port http interface trunk0 + virtual ip 192.168.1.1 port http interface trunk0 # tag every packet that goes thru the rdr rule with HOSTSTATED tag HOSTSTATED