pfSense Support Subscription

Author Topic: URL Table Alias  (Read 1043 times)

0 Members and 1 Guest are viewing this topic.

Offline netphreak

  • Jr. Member
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
URL Table Alias
« on: June 24, 2012, 05:40:07 am »
Hello, maybe someone can help me solve this?

We have a bunch of VoIP mobile users connecting from various network locations. We all know how much unwanted traffic you get when you open port 5060 for inbound connections from anywhere, so we have used dyndns clients on our mobile users, and only accepting these dyndns addresses as "source". Working pretty well, but not perfect.

What I have been trying to do lately, is using URL Table Alias, instead of Network Alias, which would be ideal. I have made a login system on a website, which list each logged in client IP address, and output it to a *.txt file.

The problem is that it's not updated frequently enough. From reading another thread in the forum, it seems that one can run the script /etc/rc.update_urltables to load the changes from CLI. But it does not work!

Can anyone enlighten me how I can force a reload of the URL Table Alias?

Thank you.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14976
  • Karma: +4/-0
    • View Profile
Re: URL Table Alias
« Reply #1 on: June 24, 2012, 02:11:00 pm »
You can either rm the table file in /var/db/aliastables and then run the update, or use touch to set the date on the file to be >1wk old.

The frequency drop-down was fixed in 2.1, but the lowest setting is still 1 day. Any more often would require some manual hacking.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline netphreak

  • Jr. Member
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: URL Table Alias
« Reply #2 on: June 24, 2012, 02:47:28 pm »
Removing it did the trick, thank you!

Though, I can't understand why I didn't try that already...  :P