Redirect youtube.com to 192.168.1.156

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Redirect youtube.com to 192.168.1.156

Postby baselsayeh » Jul 28 13 12:13 pm

Hello,

Im new to wingate proxy server

i want to show my page in every lan pc if they were visiting youtube.com

any help?

wingate 7
baselsayeh
 
Posts: 1
Joined: Jul 28 13 12:10 pm

Re: Redirect youtube.com to 192.168.1.156

Postby Aaron Koolen-Bourke » Jul 29 13 11:55 am

Hi there. Do you need to redirect them to another IP or just show a block page?

If the latter and you only have a requirement for one block page, then you can edit the default block page in Web Access Control -> Settings. Then create a Web Access Rule to send back that page if users visit youtube.com.

If you really need to redirect, then use Policy. Set up a policy that attaches to the HTTPProxy::Request event and matches on the Request.Server field for "youtube.com" and "*.youtube.com"

I have attached a sample policy you can import to get you started.

Aaron
Attachments
No You Tube.zip
(1.15 KiB) Downloaded 318 times
Aaron Koolen-Bourke
Qbik Staff
 
Posts: 56
Joined: Dec 01 10 2:48 pm


Return to WinGate

Who is online

Users browsing this forum: No registered users and 3 guests