Skip to content

oxylabs/socks5-udp-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Oxylabs SOCKS5 UDP examples

This an example of using SOCKS5 UDP protocol with Oxylabs and Go.

You can modify main.go constants for default values to run without params

const defaultProxyURL = "socks.pr.oxylabs.io:7777"
const defaultProxyUsername = "customer-USERNAME"
const defaultProxyPassword = "PASSWORD"
const defaultTarget = "TARGET:PORT"
const defaultContent = "Hello UDP"

or build and run it as is by providing auth and target paramters:

  -c string
        content to send to target (default "Hello UDP")
  -p string
        proxy password (default "PASSWORD")
  -proxy string
        proxy URL (hostname:port (default "socks.pr.oxylabs.io:7777")
  -t string
        target (hostname:port) (default "TARGET:PORT")
  -u string
        proxy username (default "customer-USERNAME")

About

An example of using SOCKS5 UDP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages