OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How get and extract protonvpn IPs then put them in alias.
« previous next »
  • Print
Pages: [1]

Author Topic: How get and extract protonvpn IPs then put them in alias.  (Read 35 times)

novel

  • Full Member
  • ***
  • Posts: 140
  • Karma: 0
    • View Profile
How get and extract protonvpn IPs then put them in alias.
« on: Today at 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 ?
« Last Edit: Today at 06:23:40 pm by novel »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How get and extract protonvpn IPs then put them in alias.
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2