Squid, Squidguard IP address and Port in URL
I can use rewrite function with URL address. But I want to use with IP address and port.
http://192.168.1.50:3030/files.php to http://192.168.1.50:3030/newfiles.php
Is it possible?
Is there a way to use Ip address and different HTTP port (example 8000) in URL for filtering?
Not that I'm aware of.
Can we do it, with or without pfsense?
Isn't URL redirection something you do with your web server?
Can I use web server as a transparent proxy?
Well, no of course not, but you can tell your web server to redirect requests to a specific page to another page.
Thanks for you help, KOM.
But I have not web server.
I have a host PC only. There is a remote WEB Server (It's not mine)
I want to redirect URL request to Remote WEB server
When 192.168.1.10 Ip connect to http://126.96.36.199:8080/index.php?action=post;topic=95749.0
I want redirect to http://188.8.131.52:8080/index.php?action=post;topic=8000.0
Not possible with squid or pfSense by itself. Squid relies on external redirectors like squidguard, so maybe you could write a small script that does the redirection you require.
I don't have an idea how I can write script.
An example script will be good. If it's easy maybe a programmer help me.
Either learn to do it yourself, pay someone to do it with a Bounty, or search online to see if someone already made such a thing.