This first export command is for a disabled sstp-server:
/interface sstp-server
add disabled=yes name=ppp3 user=ppp3
This export command is for a dynamically established sstp-server:
/interface sstp-server server
set authentication=pap,chap,mschap1 default-profile=sstp_bridging enabled=yes
keepalive-timeout=1 port=44443
The default-profile, sstp_bridging, is:
/ppp profile> print
1 name="sstp_bridging" bridge=bridge1 use-mpls=default
use-compression=default use-vj-compression=default
use-encryption=default only-one=yes change-tcp-mss=default
address-list=""
And bridge1 is:
/interface bridge> print
0 R name="bridge1" mtu=1500 l2mtu=1520 arp=enabled
mac-address=00:0C:42:A5:1C:3A protocol-mode=none priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m
Bridge1 has static port and a dynamic port for the incoming SSTP connection. This is when it works, otherwise, the dynamic port does not connect:
/interface bridge port> print
INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether3-master-local bridge1 0x80 10 none
1 D (unknown) bridge1 0x80 10 none
During this SSTP tunnel reconnect attempt, the error occurs. A few seconds later, it connects.
07:30:22 sstp,info ppp3: terminating... - terminated by remote peer
07:30:22 sstp,info ppp3: disconnected
07:30:22 sstp,info ppp3: initializing...
07:30:22 sstp,info ppp3: connecting...
07:30:24 sstp,info ppp3: authenticated
07:30:25 sstp,info ppp3: connected
07:30:25 sstp,info ppp3: terminating... - conn timeout
07:30:25 sstp,info ppp3: disconnected
07:30:26 sstp,info ppp3: initializing...
07:30:26 sstp,info ppp3: connecting...
07:30:28 sstp,info ppp3: authenticated
07:30:28 sstp,info ppp3: connected
07:30:28 sstp,error could not add bridge port: ppp3 is not allowed to be put in bridge (6)
07:30:28 sstp,info ppp3: terminating... - could not add bridge port: ppp3 is not allowed to be put in bridge (6)
07:30:28 sstp,info ppp3: disconnected
07:30:29 sstp,info ppp3: initializing...
07:30:29 sstp,info ppp3: connecting...
07:30:31 sstp,info ppp3: authenticated
07:30:31 sstp,info ppp3: connected
but a few minutes later, the SSTP tunnel reconnects immediately:
07:37:08 sstp,info ppp3: terminating... - terminated by remote peer
07:37:08 sstp,info ppp3: disconnected
07:37:08 sstp,info ppp3: initializing...
07:37:08 sstp,info ppp3: connecting...
07:37:10 sstp,info ppp3: authenticated
07:37:10 sstp,info ppp3: connected
and again a few minutes later, the SSTP tunnel reconnects immediately:
07:57:01 sstp,info ppp3: terminating... - terminated by remote peer
07:57:01 sstp,info ppp3: disconnected
07:57:01 sstp,info ppp3: initializing...
07:57:01 sstp,info ppp3: connecting...
07:57:03 sstp,info ppp3: authenticated
07:57:03 sstp,info ppp3: connected
The error occurs frequently, but not consistently. When the static SSTP-server binding is enabled, the error is constant. When I use only the dynamically connected SSTP-server binding, the error is less frequent.