vpn_proxy

command module
v0.0.0-...-323c3c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL