Multiple Check IP Services
-
According to the official manual, I can define multiple Check IP Services. However, the manual does not make it clear how exactly multiple Check IP Services work together. Apart from the default service, I added one more third-party check IP service (i.e., I get two Check IP Services in total). My question is, when pfSense checks if my IP changed, will it use both services concurrently? But what if the results from two services are different? Or is the 2nd service only used when the first service is unavailable?
Thanks!
-
@mamsds said in Multiple Check IP Services:
will it use both services concurrently?
Noop.
It will take the first one - the one on the top.
These test really can't fail.
If you can reach the "what is my IP" test server, this server can see your IP .... v4 or v6.
So it shows your IP.I've been trying to create my own 'IP check page', as it should be https these days :
I created a
https://my-domain.tld/whatismyip.php
that returns a :But, as usuall, I thought I understood everything without redaing the manual.
As usual, I was wrong - because ignorant.
Actually, you should look one level lower- the html : It should return :Look also here Add support for non-Oracle IP Check providers
=> adding your own or other IP test sites with a 'regex'.
-
@gertjan sorry I don't quite get your point.
Firstly, what do you mean by "These test[s] really can't fail." I think all services will fail, sooner or later. Perhaps an IP checking service is discontinued for lack of funding, or a server program may encounter a bug, returning a wrong IP.
Secondly, it seems to me that the "my own 'IP check page'" part is irrelevant to my question. My question is basically about the relationship/priority of different IP Checking services defined in pfSense. I am not going to create a service myself.
-
@mamsds said in Multiple Check IP Services:
do you mean by "These test[s] really can't fail."
As it is not a complicated thing.
Your browser does the same thing : "GET www.facebook.com".
This can fail, of course, but most often because he network is down or some other 'external' reason.@mamsds said in Multiple Check IP Services:
Perhaps an IP checking service is discontinued for lack of funding
That's probably why pfSnse decided to surface the "Check IP Services" facility. The actually default "http://checkip.dyndns.org " might die tomorrow, breaking some functionalities on the firewall.
@mamsds said in Multiple Check IP Services:
returning a wrong IP.
The IP shown is the IP used to send the answer to.
You couldn't receive the result ;)@mamsds said in Multiple Check IP Services:
part is irrelevant to my question
True.
I've was asking the same question to myself : what gets used when ? Is there an order ? So I created "the other side of the 'Check IP Service''" myself so I could monitor the requests coming from pfSense, thus answering my question.