Giter Club home page Giter Club logo

docker-softether-vpnsrv's Introduction

Anurag's GitHub stats Top Langs

docker-softether-vpnsrv's People

Contributors

cenk1cenk2 avatar disaac avatar dormancygrace avatar superhofstad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-softether-vpnsrv's Issues

can`t build image

Hi, Im trying to build own image but getting error: Step 7/10 : COPY ./dist/pipe /usr/bin/pipe
COPY failed: file not found in build context or excluded by .dockerignore: stat dist/pipe: file does not exist
`

Hi could you please give me some info on how to populate the .env file.

I have tried a lot, but when using docker compose, it first says that the .env file is missing. When creating one (which with i thought default vars) it doesn't seem to be recognized by the build process of the container.
So I suppose my syntax inside the .env file is with a wrong syntax.
I have tried:
LINUX_BRIDGE_INTERFACE_NAME="bridge"

$LINUX_BRIDGE_INTERFACE_NAME="bridge"

LINUX_BRIDGE_INTERFACE_NAME "bridge"

Is it perhaps json syntax?
If so what are its dict/array names

And all sorts of combo's
Then I noticed it get loaded with pipe from golang.
Which you have another repo for.
So the questions also arose if I needed to install or do something with that.

Edit: No json doesn't get parsed all

Anyway's a little help would be much appreciated.

Experimental build

Hi. Me, again. Can you make experimental build, based on Ubuntu/OracleLinux instead of Alpine?

Error after update to latest version

Hi, after updating to latest version I got the following error and the container won't start:

[W] [postrouting] Warning: Extension MASQUERADE revision 0 not supported, missing kernel module?
[W] [postrouting] iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
[E] [postrouting] [FAIL] $ iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE > exit status 4
[E] [postrouting] exit status 4
[F] [postrouting] exit status 4

Can you please help?

Docker version 20.10.22-qnap7, build 57ed8b8 on QNAP QTS QTS 5.1.5.2645
Container Station Version 3.0.5.623 ( 2023/09/12 )

Running the latest version on CentOS system, the client connection has no network.

With the same settings, in the old version: no issues on CentOS system, in the latest version: issues on CentOS system, and in the latest version: no issues on Ubuntu system. The server has network connectivity, and the client can connect successfully. However, after a successful connection, the client loses network connectivity.

[root@server ~]# uname -a
Linux server.domain.com 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

[root@server ~]# docker logs vpnsrv
docker-softether-vpnsrv - BUILD.20240408Z0242

[I] [conf:softether] Persistent configuration file found: /conf/vpn_server.config
[I] [postrouting] Created postrouting rules for: 192.168.30.0/24
[I] [conf:dnsmasq] DHCP server configuration file generated: /conf/dnsmasq.conf
[I] [interface:tap] Created tap adapter: tap_soft
[I] [dnsmasq] Started DNSMASQ DHCP server.
[I] [softether] Started SoftEtherVPN server.

img_20240408

Seems not to work for some reason

Hello,

I have a VPS running Ubuntu 23.04 (x84) and want to set up your docker SoftEther Server so that I can connect to it from another location.

I installed Docker and Docker-Compose as well as pulled your latest docker image from docker hub.

I then found this docker-compose.yml in some closed issues (#29) that you have previously done since I did not know what is needed to set up the ".env" file and added "SERVER_MODE: 'bridge'" in the "environment" section as a guess for what I need.

version: '3.7'
services:
  softether-vpnsrv:
    image: cenk1cenk2/softether-vpnsrv:latest
    environment:
      LINUX_BRIDGE_INTERFACE_NAME: 'bridge'
      SERVER_MODE: 'bridge'
    devices:
      - /dev/net/tun
    ports:
      - 1443:1443/tcp
      - 992:992/tcp
      - 5555:5555/tcp
      - 1194:1194/udp
      - 500:500/udp
      - 4500:4500/udp
      - 1701:1701/tcp
    network_mode: bridge
    volumes:
      # Configuration Files
      - ./volumes/softether-vpnsrv:/conf
      # Log files
      - ./logs/server_log:/etc/softether/server_log
      - ./logs/security_log:/etc/softether/security_log
      - ./logs/packet_log:/etc/softether/packet_log
    cap_add:
      - SETGID
      - SETUID
      - NET_ADMIN
      - NET_RAW
      - NET_BIND_SERVICE

The problem that I have now is that when I try to bring up things with "docker-compose up", things seem to error out on me.

~$ docker-compose up
[+] Running 1/0
 ✔ Container lonnie-softether-vpnsrv-1  Created                                                                                                                                                    0.0s
Attaching to softether-vpnsrv-1
softether-vpnsrv-1  | docker-softether-vpnsrv - BUILD.20240126Z2218
softether-vpnsrv-1  | ---------------------------------------------
softether-vpnsrv-1  | [I] [conf:softether] Persistent configuration file found: /conf/vpn_server.config
softether-vpnsrv-1  | [I] [postrouting] Created postrouting rules for: 10.0.0.0/24
softether-vpnsrv-1  | [I] [interface:tap] Created tap adapter: tap_soft
softether-vpnsrv-1  | [I] [interface:bridge] Created bridge adapter: bridge -> tap_soft eth0
softether-vpnsrv-1  | [I] [interface:bridge:dhcp] Bridge adapter upstream IP: bridge ->
softether-vpnsrv-1  | [I] [softether] Started SoftEtherVPN server.
softether-vpnsrv-1  | [E] [health:ping] Can not ping the upstream DHCP server: 10.0.0.1
softether-vpnsrv-1  | [F] [health:ping] Can not ping the upstream DHCP server: 10.0.0.1
softether-vpnsrv-1  | [W] [docker-softether-vpnsrv] [terminate] Forcefully terminated since hooks did not finish in time: 2 of 3
softether-vpnsrv-1 exited with code 1

Not sure what is happening here as everything is a fresh install.

Any thoughts on how to get things working would be greatly appreciated.
Thanks in advance

container not exposing ports correctly?

container 1: portainer, can access outside eth0(ens33) on port 9000 no problem
container 2: softether-vpnsrv, cannot access outside eth0(ens33), can access it from within, on host(docker host)

host running docker on ubuntu, network is bridged, no firewall.

I.e: can access portainer-container port 9000tcp, cannot access softether-vpnsrv-container on any ports, outside eth0(ens33)

Can confirm in portainer that all ports are assigned.

2 local bridge interface create

hello, how can I create two vpn hubs with dnsmasq and run the network interface for example name "soft1" at the same time

Connection no network

hi~
Cloud host:
image
image
image

in container:
image
image

Cloud host:

192.168.0.36

docker container softether :

eth0 172.20.30.2
tap_soft 192.168.32.1

remote vpn client

image
image
image

docker-compose.yml

version: '3'
services:
  softether:
    image: cenk1cenk2/softether-vpnsrv:latest
    container_name: softether
    restart: always
    networks:
      soft_network:
        ipv4_address: 172.20.30.2
    devices:
      - /dev/net/tun
    environment:
      - TZ=Asia/Shanghai
      - LOG_LEVEL=trace
      - SERVER_MODE=dhcp
      - SERVER_CIDR_ADDRESS=192.168.32.0/24
      - DHCP_SERVER_LEASE=12h
      - DHCP_SERVER_SEND_GATEWAY=true
      - DHCP_SERVER_GATEWAY=192.168.32.1
      - DHCP_SERVER_FORWARDING_ZONE=127.0.0.11
      - SOFTETHER_TAP_INTERFACE=soft
      - SOFTETHER_DEFAULT_HUB=VPN
    ports:
      - 443:1443/tcp     # softether
      - 992:992/tcp       # softether alternative
      - 5555:5555/tcp     # softether alternative
      - 1194:1194/udp     # openvpn
      - 500:500/udp       # l2tp IPSec IKE
      - 4500:4500/udp     # l2tp IPSec
      - 1701:1701/tcp     # l2tp
    volumes:
      - ./conf:/conf
      - ./hooks:/docker.init.d:ro
      - ./server_log:/etc/softether/server_log
      - ./security_log:/etc/softether/security_log
      - ./packet_log:/etc/softether/packet_log
    cap_add:
      - SETGID
      - SETUID
      - NET_ADMIN
      - NET_RAW
      - NET_BIND_SERVICE
networks:
  soft_network:
    driver: bridge
    ipam:
      config:
        - subnet: 172.20.30.0/24
          gateway: 172.20.30.1

dnsmasq.conf

# Comment out the port=0 so dnsmasq can provide dns services to clients
# port=0
interface=tap_soft
dhcp-range=tap_soft,192.168.32.10,192.168.32.200,255.255.255.0,12h
dhcp-option=tap_soft,3,192.168.32.1
# set option 6 to announce itself as the DNS server
dhcp-option=tap_soft,6,192.168.32.1
# Use option 121 to announce to *nix vpn clients various routes you want routed through the VPN to allow split tunnel
dhcp-option=tap_soft,121,192.168.0.0/24,192.168.32.1,192.168.10.0/24,192.168.32.1
# use option 249 to announce to windows vpn clients the same routes as 121
dhcp-option=tap_soft,249,192.168.0.0/24,192.168.32.1,192.168.10.0/24,192.168.32.1
# Send microsoft-specific option to tell windows to release the DHCP lease
# when it shuts down. Note the "i" flag, to tell dnsmasq to send the
# value as a four-byte integer - that's what microsoft wants. See
# https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dhcpe/4cde5ceb-4fc1-4f9a-82e9-13f6b38d930c
dhcp-option=vendor:MSFT,2,1i

conf-dir=/etc/dnsmasq.d

runtime log:
image

The docker docker-softether-vpnsrv container 172.20.30.2 is deployed on the cloud host 192.168.0.36, and the 1443 port is connected through the softether client ssl protocol. It is now connected and assigned the IP address 192.168.32.53, but it can only communicate with the container 172.20. 30.2 Communication, I cannot access the host, LAN, or Internet. Can you help me see how to modify it?

Error response from daemon when creating container

running this command to create docker, added port 443 for later configuration.(using the "Deploy via Docker" as a template): docker run -d --name=softether-vpnsrv -e TZ=Europe/Vienna -e SRVIPSUBNET=10.0.0.0 -p 443:443/tcp -p 1443:1443/tcp -p 992:992/tcp -p 5555:5555/tcp -p 1194:1194/udp -p 500:500/udp -p 4500:4500/udp -p 1701:1701/tcp -v /cfg/vpn_server.config:/cfg/vpn_server.config -v /cfg/dnsmasq.conf:/cfg/dnsmasq.conf --restart unless-stopped --privileged cenk1cenk2/softether-vpnsrv:latest
Maybe update the "Deploy via Docker" code, didn't work for me as is.

Container is created, but with an error return: docker: Error response from daemon: error while creating mount source path '/cfg/vpn_server.config': mkdir /cfg: read-only file system.

The code was run from host cli, ubuntu 18.04, docker running as root.

running without `--privileged`

These are the minimal capabilities required to run:

sudo podman run \
--device /dev/net/tun \
--cap-drop all --cap-add cap_setgid,cap_setuid,cap_net_admin,cap_net_raw,cap_net_bind_service \
...
docker.io/cenk1cenk2/softether-vpnsrv:latest

rootful is still required, but now that only necessary capabilities are granted it should be more secure than running with full privileges.
don't know how docker works with above options, but podman works just fine.

I didn't do more testing, don't know if network bridge works (local network bridges button in vpn manager is not grayed out so it should work). but there's a capsh utility to help working with capabilities.


--privileged should be avoided if possible: https://www.redhat.com/sysadmin/privileged-flag-container-engines

As a security engineer, I actually do not like users running with the --privileged mode. I wish they would figure out what privileges their container requires and run with as much security as possible, or better yet, they would redesign their application to run without requiring as many privileges.

Providing example for pushing routes to clients via dnsmasq

Currently the default dnsmasq.conf provides a configuration that is well suited to get the service up and running using google dns for the default dns provider disabling dnsmasq dns services. The container also works great if you want to use dnsmasq to push routes as dhcp options to windows and *nix clients to support split tunneling enabling the dnsmasq dns service.

Below is an example configuration that would push to vpn clients private routes: 10.11.11.0/24 & 192.168.128.0/24. Also a public IP: 172.217.4.174/32. The routes would cause VPN clients to send traffic for those destinations through the VPN connection supporting split tunneling.

I have verified this configuration works well when using the native windows and macos VPN client to connect to the softether L2TP/IPSEC service.
Assumes PR#10 has been merged or issue #9 has been otherwise addressed

# Comment out the port=0 so dnsmasq can provide dns services to clients
# port=0
interface=tap_soft
dhcp-range=tap_soft,$SRVIPSUBNET.10,$SRVIPSUBNET.200,$SRVIPNETMASK,12h
dhcp-option=tap_soft,3,$SRVIPSUBNET.1
# set option 6 to announce itself as the DNS server
dhcp-option=tap_soft,6,$SRVIPSUBNET.1
# Use option 121 to announce to *nix vpn clients various routes you want routed through the VPN to allow split tunnel
dhcp-option=tap_soft,121,10.11.11.0/24,$SRVIPSUBNET.1,192.168.128.0/24,$SRVIPSUBNET.1,172.217.4.174/32,$SRVIPSUBNET.1
# use option 249 to announce to windows vpn clients the same routes as 121
dhcp-option=tap_soft,249,10.11.11.0/24,$SRVIPSUBNET.1,192.168.128.0/24,$SRVIPSUBNET.1,172.217.4.174/32,$SRVIPSUBNET.1
# Send microsoft-specific option to tell windows to release the DHCP lease
# when it shuts down. Note the "i" flag, to tell dnsmasq to send the
# value as a four-byte integer - that's what microsoft wants. See
# https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dhcpe/4cde5ceb-4fc1-4f9a-82e9-13f6b38d930c
dhcp-option=vendor:MSFT,2,1i

no internet access in clients

hi set-up docker like this

docker create
--name=softether-vpnsrv
-e TZ=Asia/Jakarta
-e SRVIPSUBNET=10.255.0
-e SRVIPNETMASK=255.255.255.0
-p 110:110/tcp
-p 992:992/tcp
-p 5555:5555/tcp
-p 1194:1194/udp
-p 25000:25000/udp
-p 500:500/udp
-p 4500:4500/udp
-p 1701:1701/tcp
-v $PWD/cfg/vpn_server.config:/cfg/vpn_server.config
-v $PWD/cfg/dnsmasq.conf:/cfg/dnsmasq.conf
-v /etc/letsencrypt/:/etc/letsencrypt/
-v /etc/ssl/:/etc/ssl/
--restart unless-stopped
--privileged
cenk1cenk2/softether-vpnsrv:latest

then setting hub and importing letsencrypt certs. there is trouble after I set the whole thing in server, clients can't connect or get assign IP from server. and trying reboot server then login softether manager(server) in windows and all the setting removed, just what happened, did I miss something?

local bridge

Hi!
I'm trying to build a container bridge
My system:
Ubuntu 22.04
Docker Swarm 20.10.21

My compose file:

version: '3.8'
services:
  softether:
    image: cenk1cenk2/softether-vpnsrv:latest-ubuntu
    devices:
      - /dev/net/tun
    cap_add:
      - SETGID
      - SETUID
      - NET_ADMIN
      - NET_RAW
      - NET_BIND_SERVICE
    restart: always
    network_mode: bridge
    environment:
      SERVER_MODE: 'bridge'
      SOFTETHER_TAP_INTERFACE: 'soft0'
    ports:
      - 53:53
      - 443:443
      - 992:992
      - 1194:1194/udp
      - 5555:5555
      - 8888:8888
      - 500:500/udp
      - 4500:4500/udp
      - 1701:1701/udp
    volumes:
      - '/etc/localtime:/etc/localtime:ro'
      - '/etc/timezone:/etc/timezone:ro'
      - '/docker_local/softether_test:/conf'
    deploy:
      replicas: 1
      placement:
        constraints: [node.hostname==node02]

but when creating a container, an error appears in the logs:

docker-softether-vpnsrv - BUILD.20221205Z1218
---------------------------------------------
[I] [conf:softether] Persistent configuration file found: /conf/vpn_server.config
[I] [postrouting] Created postrouting rules for: 10.0.0.0/24
[W] [interface:tap] open: No such file or directory
[E] [interface:tap] [FAIL] $ ip tuntap add dev tap_soft0 mode tap > exit status 1
[E] [interface:tap] exit status 1
exit status 1

Tell me what I'm doing wrong.
How to launch a container?)

vpncmd: not found

docker exec -it vpnsrv vpncmd

/usr/local/bin/vpncmd: exec: line 2: /usr/local/libexec/softether/vpncmd/vpncmd: not found

docker exec -it vpnsrv softether-vpncmd

/usr/bin/softether-vpncmd: exec: line 2: /usr/local/libexec/softether/vpncmd/vpncmd: not found

docker exec -it vpnsrv ls -la /usr/local/libexec/softether

total 20
drwxr-xr-x 1 root root 4096 Dec 1 08:07 .
drwxr-xr-x 1 root root 4096 Dec 1 08:07 ..
drwxr-xr-x 1 root root 4096 Dec 2 05:57 vpnserver

Howto use it

Hi,

I try to use your image with the dnsmasq but it's impossible to make it working.

Here is my attempt, maybe you can explain how to use/start the container.

docker run -v /opt/dnsmasq.conf:/usr/local/vpnserver/dnsmasq.conf --privileged --cap-add NET_ADMIN cenk1cenk2/softether-vpnsrv

Thanks in advance

restart loop, iptables, 10-routing.sh

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] 10-routing.sh: executing...

Creating postrouting rules.

iptables v1.8.3 (legacy): host/network `10.0.0.0.0' not found

Try `iptables -h' or 'iptables --help' for more information.

[cont-init.d] 10-routing.sh: exited 2.

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] syncing disks.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

I checked the code in 10-routing.sh, but to my limited knowledge about linux and network, it looks good.

This is the code it should run:
"iptables -t nat -A POSTROUTING -s ${SRVIPSUBNET:-10.0.0}.0/24 -j MASQUERADE"

Haven't tried on an other server yet, but this is using the unmodified(almost, see pull request) "Deploy via Docker" command set

Why is DnsMasq DHCP server needed

Hello,

I am wondering why DnsMasq DHCP server is needed when the SoftEther Server already provides a DHCP server?

The DnsMasq DHCP server could be useful from the aspect that I do not think that SoftEther provides this feature when running in Cluster mode from what I have read, but just wanted to get some information from you as to why it was included.

Thanks

tap_soft interface created without specifying netmask

Currently there is no netmask specified in ifconfig tap_soft even though the defaults are using /24 through out the other configurations. This would prevent properly routing/masquerading any additional networks that may exist in the 10.8.0.0/16 CIDR.

Created PR#10 to address this. PR allows providing a netmask and defaulting to 255.255.255.0 as is the case for the other configurations such as dnsmasq.conf. It additionally adds the netmask to the ifconfig so the route table is properly set.

OpenVPN clone function not working

Me, again =) Have you tried ovpn clone function? it doesn't work in this container. Even can't save port #. And there is some differences in config for v4 and v5 server

How to adding users at runtime ?

Hey,

Since I don't have a lot of experience with softether-vpn I do not know how to add users at run time.
I mainly wan to use it for l2tp and sstp connection.

Thanks,

old router can't connected to l2tp

can't use old cipher DHE-RSA-AES256-SHA cause the old router can't connect l2tp.
then compare to RTM build 17 august with that cipher it's work fine. is it related to a different softether version?

[F] [health:ping] socket: permission denied

docker-compose.yaml

version: '3.7'
services:
  softether-vpnsrv:
    image: cenk1cenk2/softether-vpnsrv:latest
    env_file: ./env
    devices:
      - /dev/net/tun
    ports:
      - 5555:5555/tcp
    network_mode: bridge
    user: "0:0"
    privileged: true
    restart: always
    volumes:
      - ./conf:/conf
      - ./logs/server:/etc/softether/server_log
      - ./logs/security:/etc/softether/security_log
      - ./logs/packet:/etc/softether/packet_log
    cap_add:
      - SETGID
      - SETUID
      - NET_ADMIN
      - NET_RAW
      - NET_BIND_SERVICE

env

TZ=Asia/Shanghai
LOG_LEVEL=INFO
SERVER_MODE=dhcp

log

Creating vpn_softether-vpnsrv_1 ... done
Attaching to vpn_softether-vpnsrv_1
softether-vpnsrv_1  | docker-softether-vpnsrv - BUILD.20220921Z1407
softether-vpnsrv_1  | ---------------------------------------------
softether-vpnsrv_1  | [W] [conf:softether] SoftEtherVPN server configuration file generated: /conf/vpn_server.config
softether-vpnsrv_1  | [I] [conf:dnsmasq] DHCP server configuration file generated: /conf/dnsmasq.conf
softether-vpnsrv_1  | [I] [postrouting] Created postrouting rules for: 10.0.0.0/24
softether-vpnsrv_1  | [I] [interface:tap] Created tap adapter: tap_soft
softether-vpnsrv_1  | [I] [dnsmasq] Started DNSMASQ DHCP server.
softether-vpnsrv_1  | [I] [softether] Started SoftEtherVPN server.
softether-vpnsrv_1  | [F] [health:ping] socket: permission denied
softether-vpnsrv_1  | [W] Running termination tasks...
softether-vpnsrv_1  | panic: interface conversion: interface {} is *os.SyscallError, not string
softether-vpnsrv_1  |
softether-vpnsrv_1  | goroutine 19 [running]:
softether-vpnsrv_1  | gitlab.kilic.dev/libraries/plumber/v3.(*TaskList[...]).handleFloc(0xc0003b3230?, 0x774760?, {0x6bb9e0?, 0xc0003d9100?})
softether-vpnsrv_1  | 	/go/pkg/mod/gitlab.kilic.dev/libraries/plumber/[email protected]/task-list.go:179 +0xb3
softether-vpnsrv_1  | gitlab.kilic.dev/libraries/plumber/v3.(*TaskList[...]).RunJobs(0x964100, 0xc000319bc0)
softether-vpnsrv_1  | 	/go/pkg/mod/gitlab.kilic.dev/libraries/plumber/[email protected]/task-list.go:169 +0x85
softether-vpnsrv_1  | gitlab.kilic.dev/libraries/plumber/v3.(*Task[...]).RunSubtasks(0xc000319bc0)
softether-vpnsrv_1  | 	/go/pkg/mod/gitlab.kilic.dev/libraries/plumber/[email protected]/task.go:192 +0x32
softether-vpnsrv_1  | github.com/cenk1cenk2/docker-softether-vpnsrv/pipe.Terminate.func3(0xc000319bc0)
softether-vpnsrv_1  | 	/builds/docker/softether-vpnsrv/pipe/terminate.go:41 +0x2c
softether-vpnsrv_1  | gitlab.kilic.dev/libraries/plumber/v3.(*Task[...]).Run(0xc000319bc0?)
softether-vpnsrv_1  | 	/go/pkg/mod/gitlab.kilic.dev/libraries/plumber/[email protected]/task.go:338 +0x163
softether-vpnsrv_1  | gitlab.kilic.dev/libraries/plumber/v3.(*Task[...]).Job.func2.2({0xc000054060?, 0xc000080d18?})
softether-vpnsrv_1  | 	/go/pkg/mod/gitlab.kilic.dev/libraries/plumber/[email protected]/floc.go:76 +0x1b
softether-vpnsrv_1  | github.com/workanator/go-floc/v3/guard.Resume.func2({0x774718, 0xc0003b3230}, {0x774760, 0xc00037f600})
softether-vpnsrv_1  | 	/go/pkg/mod/github.com/workanator/go-floc/[email protected]/guard/resume.go:56 +0x216
softether-vpnsrv_1  | github.com/workanator/go-floc/v3/run.If.func1({0x774718, 0xc0003b3230}, {0x774760, 0xc00037f600?})
softether-vpnsrv_1  | 	/go/pkg/mod/github.com/workanator/go-floc/[email protected]/run/if.go:47 +0xb3
softether-vpnsrv_1  | github.com/workanator/go-floc/v3/run.Background.func1.1(0x0?)
softether-vpnsrv_1  | 	/go/pkg/mod/github.com/workanator/go-floc/[email protected]/run/background.go:43 +0x3a
softether-vpnsrv_1  | created by github.com/workanator/go-floc/v3/run.Background.func1
softether-vpnsrv_1  | 	/go/pkg/mod/github.com/workanator/go-floc/[email protected]/run/background.go:42 +0x110

pretty new with docker

What's the difference between docker pull cenk1cenk2/softether-vpnsrv and deploy through cloning your repo?

Enable VPN Gate plugin

Hello,

I am experimenting with, and learning about SoftEther.

With your wonderful docker-compose script, I have been able to set up a SoftEther Server on one of my servers for testing and would now like to test being able to "enable" the server to join the SoftEther VPN Gate project.

https://www.vpngate.net/en/join.aspx

I started the windows VPN server manager and connected to the SoftEther VPN server container without any problems, but do not see the "VPN Gate Setting" button and have tried different vpnmgr.exe releases to see if was something there, but they all seem the same and do not show it.

I have to assume that there is some SoftEther flag that needs to be enabled in order to load that plugin option, but not completely sure on this.

Any ideas?
Thanks in advance.

sorry again

Sorry to bother you again,

whatever I try, I get

failed to create endpoint mystifying_franklin on network bridge: adding interface vethd652ad6 to bridge docker0 failed: could not find bridge docker0: route ip+net: no such network interface

At step 6.
And can't seem to find anywhere where it is defined. Is this inherent to your building environment? Because my assumption was that the var LINUX_BRIDGE_INTERFACE_NAME: 'bridge' should be covering that.

ive tried to add in constants.go in the flags.co as .env and as environment in the docker-compose.yml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.