Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hola!
Muchas gracias por tu manual y tu tiempo.
¿Sería posible instalar openvpn para montar un servidor vpn y que los clientes se pudieran conectar tan solo con tener el host, un usuario y una contraseña? Sin certificados.
Muchas gracias de nuevo
Muy buen artículo, solo tuve que modificar las reglas del arno-iptables-firewall en:
/etc/arno-iptables-firewall/custom-rules
con los datos obtenidos de https://arashmilani.com/post?id=53 :
iptables -A INPUT -i eth0 -m state --state NEW -p udp --dport 1194 -j ACCEPT iptables -A INPUT -i tun+ -j ACCEPT iptables -A FORWARD -i tun+ -j ACCEPT iptables -A FORWARD -i tun+ -o eth0 -m state --state RELATED,ESTABLISHED -j ACCE PT iptables -A FORWARD -i eth0 -o tun+ -m state --state RELATED,ESTABLISHED -j ACCE PT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE iptables -A OUTPUT -o tun+ -j ACCEPT
For error: “key-config-pointing-to-the-wrong-version-of-openssl-cnf”
Do: ln -s openssl-1.0.0.cnf openssl.cnf
Hola,
Encontré un error al arrancar el servicio debido a que generamos la clave PEM de 2048 y en el fichero /etc/openvpn/server.conf por defecto viene configurado para usar 1024. Para corregirlo hay que cambiar la siguiente línea:
dh dh1024.pem
por:
dh dh2048.pem
Muchas gracias por el tutorial, muy bien explicado.
Tengo una pregunta los comandos colocados en este tutorial serian los mismos para Debian 8 ? ya que al momento de teclear como superusuario este comando me aparece este error.
Comando: apt-get install openvpn easy-rsa
Error.
Package easy-rsa is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source.
Podrian ayudarme, y de antemano gracias por el tutorial.
Hola, al pasar el archivo client1.ovpn la app me arroja un error que dice: Error reading file referenced by profile: ta.key
Muy buen tutorial, realicé el montaje de un servidor siguiendo el manual, y logré conectar un cliente remoto, asignando una ip publica a mi servidor. Con la ip que se conecta mi cliente vpn no puede acceder a una plataforma web, que tiene permiso por la ip de navegación que tiene mi red por defecto. Como le indico al mi cliente vpn que utilice mi puerta de enlace predeterminada para salir a internet?
Hi friends,
I follow the guide using port 443 and tcp.
When I use the command :
sudo systemctl status openvpn@server
The result is:
● openvpn@server.service - OpenVPN connection to server │ inet6 addr: fe80::1cd1:98ff:feb6:ec4/64 Scope:Link
Loaded: loaded (/lib/systemd/system/openvpn@.service; enabled; vendor preset: enabled) │ inet6 addr: 2604:a880:800:a1::94:1/64 Scope:Global
Active: active (running) since Fri 2017-11-03 11:22:03 UTC; 54min ago │ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Docs: man:openvpn(8) │ RX packets:141612 errors:0 dropped:0 overruns:0 frame:0
https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage │ TX packets:160558 errors:0 dropped:0 overruns:0 carrier:0
https://community.openvpn.net/openvpn/wiki/HOWTO │ collisions:0 txqueuelen:1000
Main PID: 17388 (openvpn) │ RX bytes:96010699 (96.0 MB) TX bytes:34111047 (34.1 MB)
CGroup: /system.slice/system-openvpn.slice/openvpn@server.service │
└─17388 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --│lo Link encap:Local Loopback
│ inet addr:127.0.0.1 Mask:255.0.0.0
Nov 03 11:22:03 newyork ovpn-server[17388]: GID set to nogroup │ inet6 addr: ::1/128 Scope:Host
Nov 03 11:22:03 newyork ovpn-server[17388]: UID set to nobody │ UP LOOPBACK RUNNING MTU:65536 Metric:1
Nov 03 11:22:03 newyork ovpn-server[17388]: Listening for incoming TCP connection on [undef] │ RX packets:86 errors:0 dropped:0 overruns:0 frame:0
Nov 03 11:22:03 newyork ovpn-server[17388]: TCPv4_SERVER link local (bound): [undef] │ TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
Nov 03 11:22:03 newyork ovpn-server[17388]: TCPv4_SERVER link remote: [undef] │ collisions:0 txqueuelen:1
Nov 03 11:22:03 newyork ovpn-server[17388]: MULTI: multi_init called, r=256 v=256 │ RX bytes:6424 (6.4 KB) TX bytes:6424 (6.4 KB)
Nov 03 11:22:03 newyork ovpn-server[17388]: IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0 │
Nov 03 11:22:03 newyork ovpn-server[17388]: IFCONFIG POOL LIST │tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Nov 03 11:22:03 newyork ovpn-server[17388]: MULTI: TCP INIT maxclients=1024 maxevents=1028 │ inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
Nov 03 11:22:03 newyork ovpn-server[17388]: Initialization Sequence Completed
but I don’t found the lines of the example:
May 03 15:30:05 openvpn2 ovpn-server[5856]: /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
May 03 15:30:05 openvpn2 ovpn-server[5856]: /sbin/ip route add 10.8.0.0/24 via 10.8.0.2
However when I do ifconfig I see the turn0 interface
./make_config.sh: line 9: /root/client-configs/files/PORTATIL.ovpn: No such file or directory
???
No consigo crear los ovpn