mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
example for using upstream http filters
This commit is contained in:
parent
be6b2bef77
commit
37028c98d2
1 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,10 @@ COMMIT
|
||||||
-A PREROUTING -p tcp --dport domain -j DNAT --to-destination {{server}}
|
-A PREROUTING -p tcp --dport domain -j DNAT --to-destination {{server}}
|
||||||
{% endfor %}
|
{% 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
|
-A POSTROUTING -o {{captiveportal_conf.output_nic}} -j MASQUERADE
|
||||||
|
|
||||||
COMMIT
|
COMMIT
|
||||||
|
|
Loading…
Reference in a new issue