Can't get MPD5 to start in FreeNAS Jail

Status
Not open for further replies.
Joined
Jun 23, 2013
Messages
26
I am trying to get MPD 5 to run in a FreeNAS jail. I have followed the instructions on a number of sites but when I start the MPD5 service I get the following in the log:

Jun 23 16:01:22 Plugins mpd5: Multi-link PPP daemon for FreeBSD
Jun 23 16:01:22 Plugins mpd5:
Jun 23 16:01:22 Plugins mpd5: process 51422 started, version 5.7 (root@Plugins 15:24 23-Jun-2013)
Jun 23 16:01:22 Plugins mpd5: MppcTestCap: can't create socket node: Operation not permitted
Jun 23 16:01:22 Plugins mpd5: LinksInit(): can't create socket node: Operation not permitted.

My rc.conf has:

# MPD5
mpd_enable="YES"
mpd_flags="-b -s mpd5"
gateway_enable="YES"
arpproxy_all="YES"
and my mpd.conf:
##
startup:
# Setup console user, password and level
set user admin pw admin
set console self 127.0.0.1 5005
set console open
set web self 0.0.0.0 5006
set web open
##
default:
load pptp_server
##
pptp_server:
## The pptp server section has two parts, Bundle Layer and Link Layer
# Setup the PPTP bundle
create bundle template MYVPN
# Range of addresses for PPTP DHCP clients (first IP - Last IP in DHCP pool)
set ippool add pool1 192.168.1.50 192.168.1.58
# Enable proxy-arp for routing
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
# IP Control Protocol options
# Van Jacobson compression see note 1
set ipcp yes vjcomp
# This is your PPTP server's IP plus a CIDR mask - See note 2
set ipcp ranges 192.168.1.6/24 ippool pool1
# DNS server the clients will use
set ipcp dns 192.168.1.254
# Set the WINS server address
set ipcp nbns 192.168.1.254
# enables tunnel compression
set bundle enable compression
# See note 3
set bundle enable encryption
# enables microsoft point-to-point compression
set ccp yes mppc
40-bit MPP encryption
set mppc yes e128
# Faster recovery, less secure option
set mppc yes stateless
/usr/local/etc/mpd5/mpd.conf: unmodified: line 1

I am new to FreeBSD so would appreciate a simple step by step guide if anyone can help.
 
D

dlavigne

Guest
In FreeBSD, mpd is implemented using netgraph. It won't work in FreeNAS as the netgraph framework is not included.
 
Joined
Nov 2, 2013
Messages
4
Thanks for this link.
I was looking for a VPN client on freenas not a server, but since I did not find it, I will try install a server then I will changed the other side from server to client :(
In fact, it seems to be simplier to install a VPN server with certificate than to install a vpn client with just password...weird
Thanks again for your reply!
Julien.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Thanks for this link.
I was looking for a VPN client on freenas not a server, but since I did not find it, I will try install a server then I will changed the other side from server to client :(
In fact, it seems to be simplier to install a VPN server with certificate than to install a vpn client with just password...weird
Thanks again for your reply!
Julien.
OpenVPN can also run in a client mode. It is just a matter of configuration.
 
Joined
Nov 2, 2013
Messages
4
Great it's work fine!
Thanks for answering!

I have an other question (but perhaps I may open a new topic).
I want to save my login/password and when i tried it's say :"Sorry, 'Auth' password cannot be read from a file"
I have read that it is beacause openvpn is not compile with this option by default.
Is there a way to save login/password in freenas ?
 
Status
Not open for further replies.
Top