Hi,

not sure ports@ is the best place for that, but either mlvpn doesn't work
anymore or I made something wrong (I guess it's the latter).

I'm trying to make a mlvpn tunnel and it refuses to start on both side
(server and client) with the exact same issue.

mlvpn doesn't ship with specific instructions so I guess default install should
work.

Server is running 6.6 and client -current

this is the client configuration, but the server configuration is quite
identical.


[general]
statuscommand = "/etc/mlvpn/mlvpn_updown.sh"
mode = "client"
ip4 = "10.42.43.1/30"
ip4_gateway = "10.42.43.2"
ip4_routes = "192.168.1.0/24"

mtu = 1444
tuntap = "tun"
#linux only
interface_name = "tunnel0"

timeout = 30
password = "XXXXXXXXXX"
cleartext_data = 0

[dsl1]
bindhost = "192.168.1.31"
remotehost = "perso.pw"
remoteport = 5080


myawesomepony$ mlvpn -u _mlvpn -c mlvpn.conf  --debug -vvvv 
2019-11-28T09:46:10 [ DBG] absolute maximum mtu: 1444
2019-11-28T09:46:10 [INFO/config] new password set
2019-11-28T09:46:10 [INFO/config] dsl1 tunnel added
2019-11-28T09:46:10 [INFO] dsl1 bind to 192.168.1.31
2019-11-28T09:46:10 [ DBG/protocol] dsl1 mlvpn_rtun_challenge_send
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
mlvpn: ioctl(TUNSIFMODE): Invalid argument
2019-11-28T09:46:10 [WARN/tuntap] unable to open any /dev/tun0 to 32 
read/write. please check permissions.
2019-11-28T09:46:10 [CRIT/fatal] cannot create tunnel device



I tried `chown _mlvpn /dev/tun0` without success, I tried 
`ifconfig tun0 create` before starting mlvpn and still same issue.

I use openvpn and tun on the client and it works fine.

Reply via email to