Send all clients to mobile sites
-
Is there a way or a trick to send all internet users under pfsense to mobile sites?
-
This sounds like something that should be possible using squid. A quick google turned up that you can replace headers including the browser type. I would assume setting this to a mobile browser might trick sites into sending their mobile versions.
http://www.squid-cache.org/Doc/config/header_replace/
-
I am putting this in the Custom Options section on the proxy.
header_access User-Agent deny all;header_replace User-Agent Mozilla/5.0 (Linux; <android version="">; <build tag="" etc.="">);
But its not working. Any ideas?</build></android>
-
Ah it says squid must be built with
–enable-http-violation
but i see its not in pfsense.
Is there a way to rebuild it on pfsense?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy