22 lines
648 B
Markdown
22 lines
648 B
Markdown
# bypasser
|
|
|
|
Bypass CGNAT using wireguard
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
# Create an example interface
|
|
bypasser vpn new myvpn
|
|
# This will output the required client configuration
|
|
# to connect to the new interface
|
|
bypasser peer new myvpn:mypeer
|
|
|
|
# This is another VPN, this time with two users.
|
|
bypasser vpn new othervpn
|
|
bypasser peer new othervpn:u1 # Can ping u2's ip'
|
|
bypasser peer new othervpn:u2 # Can ping u1's ip'
|
|
|
|
# Then use caddy (or your preferred reverse proxy) to redirect traffic from one
|
|
# ip to another. You can also ship a sidecar wireguard container with a client
|
|
# config, to expose a docker service to other peers connected to an interface.
|
|
```
|