Netgate SG-1000 microFirewall

Author Topic: Modifying URL via matching regex to rewrite url  (Read 166 times)

0 Members and 2 Guests are viewing this topic.

Offline davlun

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Modifying URL via matching regex to rewrite url
« on: January 08, 2018, 11:43:20 pm »
Hello,

I posted this question in the firewalling board but with lack of response guessing it is not something for that board.

While looking up how to append safe search parameters to the search engines requests at my house, had an idea (not related to search engines).  I go to a variety of sites, and continually have to reset parameters for the site.  Everything from sorting to date ranges.

How can I take a url, for example something like craigslist, and change/append the url with the parameters to show search results how I wish?

I am new at this, just starting to learn about pfsense so some links/explanations so i can learn would be awesome...

Thanks,

David

Offline Grimson

  • Sr. Member
  • ****
  • Posts: 317
  • Karma: +46/-3
    • View Profile
Re: Modifying URL via matching regex to rewrite url
« Reply #1 on: January 09, 2018, 03:04:16 am »
That's not a job for a firewall, for this you'll need a proxy: https://forum.pfsense.org/index.php?board=60.0

Offline davlun

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Modifying URL via matching regex to rewrite url
« Reply #2 on: January 15, 2018, 11:59:16 pm »
Thanks for the reply.  Will move over there, thanks.