Skip to content

kopchik/proxy64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6proxy4

Proxy traffic from IPv6 to IPv4 back and forth. Requires useful library (find it on my github page).

Unlike tinyproxy and other proxies:

  1. Just mirrors traffic between sockets.
  2. Has only neccessary settings
  3. Only python is required to work
  4. It was created by me :)

TODO:

  1. Rework debug logging

Note that all addresses are resolved only once on start.

USAGE

  1. Install it by doing ./setup.py install
  2. Create a config. An example config:
$ cat /etc/pr64.py
#!/usr/bin/env python3

from proxy64 import *
from useful.resolver import r6

# KLIGA.RU
p = Proxy(src=Addr('127.0.0.1', 8081), dst=Addr(r6('kliga.ru'), 80))

p.start()
p.join()
  1. Run it:
$ chmod +x /etc/pr64.py
$ ./pr64.py
  23:32:15 info 127.0.0.1:8081 => 2a01:4f8:131:1025::6:80: listening on 127.0.0.1:8081
  1. ...
  2. Profit!

About

Proxies traffic from IPv6 to IPv4 back and forth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published