Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Network: gateway tunnel wireguard #2055

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

cheina97
Copy link
Member

@cheina97 cheina97 commented Oct 2, 2023

Description

This PR contains the wireguard tunnel container, used by WGServerTemplate and WGClientTemplate resources to init a tunnel between 2 gateways. It can act as a Client or Server.

The main features are:

  • Create a wireguard interface in the Pod.
  • Configure this interface with a peering.
  • Periodically check the endpoint DNS address (if specified) and update the wireguard configuration if the result changes (client only).

The build of the container has been added to the CI

@cheina97 cheina97 marked this pull request as draft October 2, 2023 13:08
@adamjensenbot
Copy link
Collaborator

Hi @cheina97. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@cheina97
Copy link
Member Author

cheina97 commented Oct 2, 2023

/hold

@adamjensenbot adamjensenbot added the hold Prevent bot merging label Oct 2, 2023
@cheina97 cheina97 changed the title Gateway Tunnel: wireguard External Network: gateway tunnel wireguard Oct 2, 2023
@cheina97 cheina97 force-pushed the frc/wgtunnel branch 7 times, most recently from 193547d to 5d0471c Compare October 3, 2023 14:09
@cheina97
Copy link
Member Author

cheina97 commented Oct 3, 2023

/build

@cheina97 cheina97 force-pushed the frc/wgtunnel branch 3 times, most recently from 580b40a to 73f1315 Compare October 4, 2023 13:09
@cheina97
Copy link
Member Author

cheina97 commented Oct 4, 2023

/unhold

@adamjensenbot adamjensenbot removed the hold Prevent bot merging label Oct 4, 2023
@cheina97 cheina97 force-pushed the frc/wgtunnel branch 2 times, most recently from e602d0e to 0560a0e Compare October 5, 2023 14:13
@cheina97 cheina97 force-pushed the frc/wgtunnel branch 6 times, most recently from 60ec619 to 141556a Compare October 9, 2023 08:24
@cheina97 cheina97 force-pushed the frc/wgtunnel branch 3 times, most recently from 19a16a4 to 8e5dc92 Compare October 18, 2023 08:44
.github/dependabot.yml Outdated Show resolved Hide resolved
.github/workflows/integration.yml Outdated Show resolved Hide resolved
pkg/gateway/tunnel/wireguard/device.go Outdated Show resolved Hide resolved
pkg/gateway/tunnel/wireguard/dns.go Outdated Show resolved Hide resolved
@cheina97 cheina97 force-pushed the frc/wgtunnel branch 14 times, most recently from 9f09387 to d2bea19 Compare October 18, 2023 15:03
@cheina97 cheina97 force-pushed the network-external branch 3 times, most recently from 3a13ba4 to 6861dad Compare October 18, 2023 16:10
@cheina97 cheina97 force-pushed the frc/wgtunnel branch 2 times, most recently from 6e72b0a to 431a630 Compare October 18, 2023 17:38
@cheina97
Copy link
Member Author

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Oct 18, 2023
@adamjensenbot adamjensenbot merged commit 2e5df6e into liqotech:network-external Oct 18, 2023
8 checks passed
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Oct 18, 2023
@cheina97 cheina97 deleted the frc/wgtunnel branch October 18, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants