https://github.com/mdxabu/bridge-exp
Bridge is a project to implement and evaluate IPv6 to IPv4 communication using NAT64.
https://github.com/mdxabu/bridge-exp
dns64 docker docker-network ipv4 ipv6 nat64
Last synced: 8 months ago
JSON representation
Bridge is a project to implement and evaluate IPv6 to IPv4 communication using NAT64.
- Host: GitHub
- URL: https://github.com/mdxabu/bridge-exp
- Owner: mdxabu
- License: bsd-3-clause
- Created: 2025-02-13T12:08:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-02T05:45:32.000Z (9 months ago)
- Last Synced: 2025-06-30T02:52:26.667Z (8 months ago)
- Topics: dns64, docker, docker-network, ipv4, ipv6, nat64
- Language: Go
- Homepage:
- Size: 361 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://go.dev/doc/install)
3. Clone the repository
```bash
git clone https://github.com/mdxabu/bridge.git
cd bridge
```
4. Build the project
```bash
go build -o bridge
go install
```
5. Bridge Initialization
```bash
bridge init
```
This initializes the `bridgeconfig.yaml` file for Bridge CLI.
6. Bridge run
```bash
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.
7. Bridge DNS
```bash
bridge dns
```
By using bridge DNS, the DNS64 resolving starts
8. Bridge Metrics
```bash
bridge metrics --nat64
```
This command will show the live metrics of translation in the web dashboard.