OPNsense Forum

English Forums => General Discussion => Topic started by: novel on December 03, 2024, 05:52:00 PM

Title: How get and extract protonvpn IPs then put them in alias.
Post by: novel on December 03, 2024, 05:52:00 PM
Hello I found this 

https://gist.github.com/SamsungGalaxyPlayer/9fe423c693ab534e9e458ca108e5938d

This script gets all ips from protonvpn servers then save to a file. I would like to import as alias in opnsense then I block them.

from script file if you change this line from:

exit_ip = server_info['ExitIP'] to exit_ip = server_info['EntryIP'] then gets all remote servers from protonvpn .

How can import all this ip range to alias ?
Title: Re: How get and extract protonvpn IPs then put them in alias.
Post by: novel on January 06, 2025, 10:17:05 AM
Bump