New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/nevakrien/vpn_proxy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nevakrien/vpn_proxy

  • v0.0.0-20240331234503-323c3c37ad0d
  • Source
  • Go
  • Socket score

Version published
Created
Source

vpn_proxy

simple relible proxy server for webscraping

setup

the proxies come preset with openvpn configs assuming you are using nordvpn (if this is not the vpn you are using simply reset the configs based on the instructions below)

"vpn-auth.txt" This file should contain your VPN username on the first line and your VPN password on the second line or if you dont have it

go build main.go vpn.go

sudo main #this is needed for ovpn.

setting your own ovpn configs

get_proxy_files.go 

this would setup all the vpn configs to the proxies

TCP considerations

I was trying to disable having the keepalives stay open but honestly there was no clean way to do it. because of this we get this fairly anoying situation where it takes WAY too long for it to close (multiple seconds)

the only safe way I can think of to handle it is to manualy kill the proxy out right. this is not really a pattern I like so we will just have to take long die times

FAQs

Package last updated on 31 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc