It is necessary to parse the site, but the problem is that access to it only when vpn is raised. The script will run on a server on Debian. Tell me where to dig or maybe someone will share a ready-made solution.
Source: https://ru.stackoverflow.com/questions/876116/
All Articles
route add -host 1.2.3.4 -dev vpn0for * nix platforms will help you. 1.2.3.4 ip address of your server, vpn0 name vpn virtual device. - NewView