Entradas

activar Proxy en la shell de Linux

Set http_proxy shell variable on Linux/OS X/Unix bash shell Type the following command to set proxy server: $ export http_proxy=http://server-ip:port/ $ export http_proxy=http://127.0.0.1:3128/ $ export http_proxy=http://proxy-server.mycorp.com:3128/ If the proxy server requires a username and password then add these to the URL. For example, to include the username foo and the password bar: $ export http_proxy=http://foo:bar@server-ip:port/ $ export http_proxy=http://foo:bar@127.0.0.1:3128/ $ export http_proxy=http://USERNAME:PASSWORD@proxy-server.mycorp.com:3128/ How do I setup proxy variable for all users? To setup the proxy environment variable as a global variable, open /etc/profile file: # vi /etc/profile Add the following information: export http_proxy=http://proxy-server.mycorp.com:3128/ OR export http_proxy=http://USERNAME:PASSOWRD@proxy-server.mycorp.com:3128/ Save and close the file. A note about enabling proxy access to a specific user To enable proxy access for a

How to access iPhone with iOS 11 in Linux

Imagen
How to access iPhone (6s) with iOS 11 in Linux A couple of years ago, I wrote a detailed tutorial on iPhone mount & use compatibility in Linux across multiple distributions. KDE/Plasma struggled with this the most, not seeing and/or not mounting the device automatically. But we did have a relatively neat solution in the form of idevice and ifuse utilities, with some command line hacking. With the release of iOS 11 (and possibly one version earlier) things seem to have changed somewhat. And I have only run and tested iPhone 6 with iOS 8/9. To wit, here's another tutorial to help you work around this. At the moment, I have an iPhone 6s model for testing, and I cannot guarantee this method will work well with newer models, but overall, the procedure should be identical for the rest of the Apple smartphone range. Anyway, after me. Tools of the trade This guide aims specifically at Plasma use, however, we will cover

x96 tv box, instalar un servidor proxy squid

Configuración del proxy squid: 1.modificar /etc/squid/squid.conf: #Recommended minimum configuration: acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 0.0.0.0/8 192.168.100.0/24 192.168.101.0/24 acl SSL_ports port 443 acl Safe_ports port 80   # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny to_localhost icp_access deny all htcp_access deny all http_port 3128 #Aqui definimos la salida de los logs, #podemos poner la salida a una MicroSD access_log /etc/squid/log/acce

PiVPN: Configura una VPN casera en una Raspberry Pi utilizando OpenVPN

NOTA: PONGO EN NEGRITA LAS MODIFICACIONES QUE HE REALIZADO PARA QUE ME FUNCIONE CORRECTAMENTE - J.C Esta nueva entrada del blog es relativa al grupo de publicaciones que pretenden demostrar que una Raspberry Pi se puede utilizar como una herramienta de seguridad. En ella vamos a crear un servidor VPN en nuestra Raspberry Pi, pero antes de nada vamos a explicar que es una VPN. Una VPN ( Virtual Private Network ) es una tecnología de red que permite extender de forma segura una red LAN sobre una red pública (Internet), es decir, podemos conectarnos a la red local LAN de nuestra casa desde el exterior y a través de Internet, de la misma forma que si estuviésemos dentro de nuestra casa. Como se muestra en la siguiente imagen, gracias a esta tecnología se crea un tunel seguro entre el cliente VPN (Smartphone, Ordenador, etc.) y el servidor VPN para que toda la comunicación que existe sea segura. Tanto el cliente VPN como el servidor VPN podrían ser routers con el objetivo de interc