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

Site to site VPN for Cloudification #1413

Closed
modyngs opened this issue Mar 5, 2022 · 1 comment
Closed

Site to site VPN for Cloudification #1413

modyngs opened this issue Mar 5, 2022 · 1 comment
Labels
Housekeeping:ToClose Issues reviewed and closed. Old requests, issues which are not bug, feature or documentation request

Comments

@modyngs
Copy link

modyngs commented Mar 5, 2022

As discussed in #1341 (comment), #1341, #948 and herlesupreeth/docker_open5gs#33 (comment)

Also, your gNb is behind a NAT. You could explore whether there are any option to tackle NAT in your gNB. If not I would recommend settting up a site to site VPN using quicktun or any other easy to setup VPN software

@herlesupreeth

Thanks for the hint. have you ever used it in ubuntu?
I have checked Quicktun in order to setup a light weight ( low Delay ) site to site VPN on ubuntu.

According to the official Website ( http://wiki.ucis.nl/QuickTun ) we need to configure the network and add interface with nacl library for communication protocol!

I was just about to use this structure:

tunnels:
    wg0:
        mode: nacl
        key: /path/to/private.key
        mark: 42
        port: 5182
        peers:
            - keys:
                  public: rlbInAj0qV69CysWPQY7KEBnKxpYCpaWqOs/dLevdWc=
              allowed-ips: [0.0.0.0/0, "2001:fe:ad:de:ad:be:ef:1/24"]
              keepalive: 23
              endpoint: 1.2.3.4:5
            - keys:
                  public: M9nt4YujIOmNrRmpIRTmYSfMdrpvE7u6WkG8FY8WjG4=
                  shared: /some/shared.key
              allowed-ips: [10.10.10.20/24]
              keepalive: 22
              endpoint: 5.4.3.2:1

But the netplan man page in ubuntu (http://manpages.ubuntu.com/manpages/focal/man5/netplan.5.html) says something diffrent!

   Properties for device type tunnels:
       Tunnels  allow  traffic  to  pass  as if it was between systems on the same local network,
       although systems may be far from each other but reachable via the Internet.  They  may  be
       used  to  support IPv6 traffic on a network where the ISP does not provide the service, or
       to    extend    and     “connect”     separate     local     networks.      Please     see
       https://en.wikipedia.org/wiki/Tunneling_protocol   for   more  general  information  about
       tunnels.

       mode (scalar)
              Defines the tunnel mode.  Valid options are sit, gre, ip6gre, ipip, ipip6,  ip6ip6,
              vti,  and  vti6.   Additionally,  the  networkd  backend  also  supports gretap and
              ip6gretap modes.  In addition, the NetworkManager backend supports isatap tunnels.

naclis not supported by the network manager ( netplan) in ubuntu!

Can any one help me to configure this?
or any other lightweight ( low delay ) VPN would be much appritiated

P.S I'm using ubuntu 18.04

@pobk pobk added the Housekeeping:ToClose Issues reviewed and closed. Old requests, issues which are not bug, feature or documentation request label Feb 18, 2023
@github-actions
Copy link

This issue has been closed automatically due to lack of activity. This has been done to try and reduce the amount of noise. Please do not comment any further. The Open5GS Team may choose to re-open this issue if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Housekeeping:ToClose Issues reviewed and closed. Old requests, issues which are not bug, feature or documentation request
Projects
None yet
Development

No branches or pull requests

2 participants