Hello everybody
I encoutered an issue while attempting to install OpenVPN on my server. Every app is working properly, but when I try to install OpenVPN, I have an issue : first the following error =
- sudo service nginx reload Reloading nginx configuration: nginx. + sudo service openvpn restart Stopping virtual private network daemon:. Starting virtual private network daemon: yunohost failed!
Now, I changed the path and I got this =
- path=/proxy
- sudo iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-yunohost tcp – anywhere anywhere multiport dports http,https
fail2ban-nginx tcp – anywhere anywhere multiport dports http,https
fail2ban-dovecot tcp – anywhere anywhere multiport dports smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s
fail2ban-sasl tcp – anywhere anywhere multiport dports smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s
fail2ban-postfix tcp – anywhere anywhere multiport dports smtp,ssmtp
fail2ban-ssh tcp – anywhere anywhere multiport dports ssh
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:https
ACCEPT tcp – anywhere anywhere tcp dpt:ssmtp
ACCEPT tcp – anywhere anywhere tcp dpt:submission
ACCEPT tcp – anywhere anywhere tcp dpt:imaps
ACCEPT tcp – anywhere anywhere tcp dpt:xmpp-client
ACCEPT tcp – anywhere anywhere tcp dpt:xmpp-server
ACCEPT tcp – anywhere anywhere tcp dpt:490
ACCEPT tcp – anywhere anywhere tcp dpt:smtp
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:mdns
ACCEPT udp – anywhere anywhere udp dpt:openvpn
ACCEPT all – anywhere anywhere
ACCEPT icmp – anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-dovecot (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
Chain fail2ban-nginx (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
Chain fail2ban-postfix (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
Chain fail2ban-sasl (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
Chain fail2ban-yunohost (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
- [[ ! 0 -eq 0 ]]
- sudo yunohost app checkurl jeremy-mazzonetto.com/proxy -a openvpn
- [[ ! 0 -eq 0 ]]
- [[ ! -c /dev/net/tun ]]
++ sudo cat /etc/yunohost/interface
- iface=eth0
- sudo yunohost app checkport 1194
Succès ! Le port 1194 est disponible
- [[ ! 0 -eq 0 ]]
- sudo yunohost firewall allow UDP 1194
- sudo apt-get install openvpn openvpn-auth-ldap -y -qq
- sudo useradd openvpn
useradd : l’utilisateur « openvpn » existe déjÃ
- sudo openssl dhparam -out /etc/yunohost/certs/jeremy-mazzonetto.com/dh.pem 2048
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
The path is created when I check on filezilla (OpenVPN) when I tried to install it for the first time, there are some files inside, but there is no app neither by entering directly the URL nor by checking at /yunohost/sso.