Skip to content
/ bridge Public

Bridge is a project to implement and evaluate IPv6 to IPv4 communication using NAT64.

License

Notifications You must be signed in to change notification settings

mdxabu/bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bridge

Bridge is a NAT64 gateway implementation that enables communication between IPv6-only networks and IPv4-only resources. It translates IPv6 packets to IPv4 and vice versa, allowing IPv6 clients to access IPv4 services without requiring dual-stack support. This lightweight, Go-based solution offers efficient packet handling, customizable configurations, and easy deployment in various network environments. Bridge aims to ease the transition to IPv6 while maintaining compatibility with the existing IPv4 infrastructure.

Running the Project

To run Bridge, follow these steps:

  1. Ensure you have Go installed (version 1.19 or later) The latest version of GoLang can be installed from here. https://go.dev/doc/install

  2. Clone the repository

    git clone https://github.com/mdxabu/bridge.git
    cd bridge
  3. Build the project

    go build -o bridge
    go install 
  4. Bridge Initialization

    bridge init

    This initializes the bridgeconfig.yaml file for Bridge CLI.

  5. Bridge run

    bridge run

    This command runs the bridge CLI. The source IP, the destination IP, RTT, the number of sent and received packets, and results are listed in a tabular column.

  6. Bridge DNS

    bridge dns

    By using bridge DNS, the DNS64 resolving starts

  7. Bridge Metrics

bridge metrics --nat64

This command will show the live metrics of translation in the web dashboard.