Configure in-session ads streaming

mbox can integrate with external ads server to stream live/real-time ads to user devices without terminating their existing user sessions. 

mbox connects to an external ads server (where ads is originated) and pushes the ads to user device via http injection (overlay on top of existing browser).

This feature is supported on all mbox models (CMG, HSG, HSA). However, do note that there's significant performance impact once the feature is turned on. A few notes on this feature:

This feature is utilizing mbox web proxy capability added with ads injection scripts. More details on mbox proxy-server can be found here.

Follow below configuration steps to enable this feature.

1. ENABLE PROXY-SERVER AND CONFIGURE INJECTION CODE ON CMG & HSG

!security proxy-server!client networks that are allowed for browsing and will be streamed with ads proxy-access 18 permit src 10.1.1.0/24  proxy-access 19 permit src 10.2.2.0/24!specify injection code URL ads-enable http://mbox.ransnet.com/inv/ads/SGC-HF-ads-injection.html start!

NOTE: 

2. ENABLE HTTP REDIRECTION ON CMG & HSG

CMG/HSG is an integrated router & firewall. As long as traffic is passing through mbox (works as a gateway), it has the capability to stream ads.

!firewall-dnat 80 exempt all tcp dport 80 dst 2.1.2.1 remark "bypass proxy for local web"firewall-dnat 81 exempt all tcp dport 80 dst 172.16.20.1 remark "bypass proxy for local web" firewall-dnat 82 exempt all tcp dport 80 dst 49.128.58.64/28 remark "bypass proxy for RansNet cloud" firewall-dnat 83 redirect all tcp dport 80 rdport 3128 src 172.16.20.0/24 remark "enable proxy for vlan20"!

NOTE: there's no need to have firewall-input to permit tcp/3128 for hotspot users (it's auto permitted once users login)

ENABLE ADS INJECTION ON HSA

HSA natively intercepts user traffic and seamlessly streams ads once it's enabled.

!security hotspot br_WSG ..... client-network 10.1.1.0 255.255.255.0 ads-enable http://mbox.ransnet.com/inv/ads/SGC-HF-ads-injection.html ..... start!

Checkout online video demo here.