example for using upstream http filters

This commit is contained in:
Stefan Midjich 2017-09-29 16:03:51 +02:00
parent be6b2bef77
commit 37028c98d2
1 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,10 @@ COMMIT
-A PREROUTING -p tcp --dport domain -j DNAT --to-destination {{server}}
{% endfor %}
# Route any traffic out through the output NIC to act as gateway
# Redirect all unmarked HTTP traffic to upstream Bluecoat
#-A PREROUTING -p tcp --dport http -j DNAT --to 192.168.80.20:8080
# Route any remaining unmarked traffic out through the output NIC to act as gateway
-A POSTROUTING -o {{captiveportal_conf.output_nic}} -j MASQUERADE
COMMIT