SoftetherVPN-docker icon indicating copy to clipboard operation
SoftetherVPN-docker copied to clipboard

ETA for bridge-support in docker

Open yelodevopsi opened this issue 10 months ago • 4 comments

Hi. I'm really in need of the bridge functionality for some VPN-clients. 🙏

Are there any howto/sources I could check in the meantime?

Anyhow, Thanks for a good product overall 👍

yelodevopsi avatar Jan 20 '25 09:01 yelodevopsi

@weidi , can you help please ?

btw, what kind of bridge are we talking about, SE bridge ? or docker bridged network ?

chipitsine avatar Jan 20 '25 09:01 chipitsine

@weidi , can you help please ?

btw, what kind of bridge are we talking about, SE bridge ? or docker bridged network ?

I'm in need for a VPN-client bridge running network_mode: host .

The setup I'm trying to solve is to access the LAN behind the VPN-client connecting to a central VPN public server we have (Spoke and Hub configuration).

They key problem here is that I have no control of the network router, but only the server.

My setup:

ClientA 192.168.30.2 --> public SE VPN <-- ClientB 192.168.30.3 

I want access the ClientB's LAN network from ClientA:

192.168.30.2 --> public SE VPN --> 192.168.30.3 --> 172.25.25.1

I haven't tested the softethervpn official docker image here yet.

Here is the docker-image I've tested up to now for easy connection from ClientB.

  vpnclient:
    image: "containinger/docker-softether-vpn-client:latest"
    container_name: vpnclient
    hostname: vpnclient
    privileged: true
    cap_add:
      - NET_ADMIN
    restart: "no"
    labels:
      service.name: "vpnclient"
    environment:
      SE_HUB: DEFAULT
      SE_SERVER: "vpn.my.central.server:5555"
      SE_USERNAME: myUsername
      SE_PASSWORD: <password>

yelodevopsi avatar Jan 20 '25 09:01 yelodevopsi

Isn´t vpnbridge the way better way to brige to the L2 segment ? https://www.softether.org/4-docs/1-manual/5 Currently working on the client in https://github.com/SoftEtherVPN/SoftetherVPN-docker/tree/vpnclient but adding vpnbridge image should be straigthforward.

weidi avatar Jan 21 '25 21:01 weidi

Just pushed vpnclient compose, updated some readme and also pushed vpnbridge images 4304296 Feel free to test it, i just testet client to server communication as of now.

weidi avatar Jan 30 '25 22:01 weidi