Sign inSign up

xlmnxp/bridge46

By xlmnxp

•Updated about 1 year ago

Image
Networking
0

1.1K

xlmnxp/bridge46 repository overview

⁠Bridge46

Bridge46 is simple bridge between IPv4 and IPv6 it's works by listen on IPv4 well known services and forward the traffic to IPv6 services

⁠Supported services

  • HTTP
  • HTTPS
  • Websocket (ws) and Secure Websocket (wss)
  • Minecraft (TCP)

⁠How to use

⁠Build from source
  1. Clone the repository
  2. Run the following command to build and run the project
cargo run
  1. Add A record of IPv4 of the server to your DNS records (make sure you have IPv6 AAAA record too)
  2. Now you can access your IPv6 services using IPv4
⁠Docker
  1. Pull the image from docker hub (optional because the image will be pulled automatically when you run the container)
docker pull xlmnxp/bridge46:latest
  1. Run the image
docker run -d -p 80:80 -p 443:443 -p 25565:25565 --name bridge46 xlmnxp/bridge46:latest

Optionally you can pass the following environment variables to the container

Environment VariableDescriptionDefault Value
DNS_SERVERspecify the DNS server to use1.1.1.1:53
BIND_ADDRESSspecify the address to bind to::
BRIDGE46_IPV4specify the IPv4 address for service validation of A Records point to the service (see #1)empty
BRIDGE46_IPV6specify the IPv4 address for service validation of AAAA Records point to the service (see #1)empty
  1. Add A record of IPv4 of the server to your DNS records (make sure you have IPv6 AAAA record too)

⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details

Tag summary

Content type

Image

Digest

sha256:ea2728e2b…

Size

669.7 MB

Last updated

about 1 year ago

docker pull xlmnxp/bridge46