=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/hoststated.conf,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/etc/Attic/hoststated.conf 2007/02/26 19:25:25 1.5 --- src/etc/Attic/hoststated.conf 2007/02/26 20:43:32 1.6 *************** *** 1,7 **** ! # $OpenBSD: hoststated.conf,v 1.5 2007/02/26 19:25:25 reyk Exp $ # # Macros # webhost1="10.0.0.1" webhost2="10.0.0.2" --- 1,8 ---- ! # $OpenBSD: hoststated.conf,v 1.6 2007/02/26 20:43:32 reyk Exp $ # # Macros # + ext_addr="192.168.1.1" webhost1="10.0.0.1" webhost2="10.0.0.2" *************** *** 32,38 **** # Services will be mapped to a rdr rule. # service www { ! virtual host 192.168.1.1 port http interface trunk0 # tag every packet that goes thru the rdr rule with HOSTSTATED tag HOSTSTATED --- 33,39 ---- # Services will be mapped to a rdr rule. # service www { ! virtual host $ext_addr port http interface trunk0 # tag every packet that goes thru the rdr rule with HOSTSTATED tag HOSTSTATED *************** *** 59,65 **** relay wwwssl { # Run as a SSL accelerator ! listen on 192.168.1.1 port 443 ssl protocol httpssl # Forward to hosts in the webhosts table using a src/dst hash --- 60,66 ---- relay wwwssl { # Run as a SSL accelerator ! listen on $ext_addr port 443 ssl protocol httpssl # Forward to hosts in the webhosts table using a src/dst hash