Help with query filter #25
Replies: 3 comments 3 replies
-
Is it even possible to stack filters on the QUERY env var? I'm interested in this as well. Example: I'd like to connect to P2P servers in New York. Does this work : QUERY=filters\[city_id\]=8971718,\[servers_groups\]\[identifier\]=legacy_p2p and if not, if possible, what would be the correct syntax? |
Beta Was this translation helpful? Give feedback.
-
You need to use the URL syntax of the NordVPN API but need to escape for |
Beta Was this translation helpful? Give feedback.
-
Hi all, Thanks to @ThxAndBye I got everything seemingly working fine. However, I'm not sure whether the connected server actually meets the criteria from my query. In particular, my public IP does not pop up in the query results. My current query is the following: In the nordlynx container, my public IP is listed as $ curl ipinfo.io/ip
176.119.195.136 This IP seems to be from a NordVPN server in Amsterdam. All seems fine so far. However, a manual query (like nordlynx with limit=1, without limit) doesn't show that IP anywhere. This confuses me. Does someone have an idea to what is happening here? Does it make sense, or is this an issue? |
Beta Was this translation helpful? Give feedback.
-
Hi All, I see that most people are using the following filter to specify a country to connect to:
I want to connect to a server type rather than a county. I am trying to use the filter below but do not think it is working right, can someone help me with the correct syntax to only connect to P2P servers no matter the country?
EDIT 02/03/2022:
I believe the filter I have is actually working to parse only P2P servers but I cannot combine with a country filter like this:
filters\[country_id]=228\&filters\[servers_groups\]\[identifier\]=legacy_p2p
Wireguard will not start in the container and I see a config parsing error. Does that query need to be modified somehow to make it work in the container? It works directly in a web page to query the API.
Beta Was this translation helpful? Give feedback.
All reactions