Network Config + Proxy : Fast Facts
Par Arnaud Charlier, mercredi 27 mai 2015 à 01:41 :: Linux et Debian :: #48 :: rss
Some quick reminder of file to modify
To hard code IP and needed URL
/etc/hosts 123.134.123.123 mysite.test.com
To modify the DNS server IP
/etc/resolve.conf nameserver 8.8.8.8Pay attention, at reboot this maybe overwritten
To setup your static network config
/etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #auto eth0 #iface eth0 inet dhcp auto eth0 iface eth0 inet static address 10.32.69.60 netmask 255.255.255.0 gateway 10.32.69.1 dns-nameservers 10.32.3.10
To configure a proxy
/etc/environnement PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" https_proxy="https://10.32.69.50:8888" HTTPS_PROXY="https://10.32.69.50:8888" http_proxy="http://10.32.69.50:8888" HTTP_PROXY="http://10.32.69.50:8888"Tips: proxy server could be a tiny proxy, quite easy to setup
Commentaires
Aucun commentaire pour le moment.
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.