Dear All,
i just did the following:
/ip pool add p2pA ranges=10.10.10.1/255.255.255.252
/ip pool add p2pB ranges=10.10.10.1/30
Then i assigned one of them to a ppp user and established ovpn connection.
/ppp profile print
0 name="ovpn-cli" local-address=p2pA remote-address=p2pA use-compression=default
use-vj-compression=default use-encryption=required only-one=no change-tcp-mss=yes
/ppp secret print detail
0 name="user1" service=ovpn caller-id="" password="xxx" profile=ovpn-cli routes=""
limit-bytes-in=0 limit-bytes-out=0
As a result the ovpn server local address is
# ADDRESS NETWORK BROADCAST INTERFACE
5 D 10.10.10.3/32 10.10.10.2 0.0.0.0 <ovpn-user1>
and the remote address is
inet addr: 10.10.10.2 P-t-P:10.10.10.3 Mask:255.255.255.255
I think this is wrong. It should yield:
Network: 10.10.10.0/30
HostMin: 10.10.10.1
HostMax: 10.10.10.2
Broadcast: 10.10.10.3
What do you think?