Posts

Showing posts with the label proxy

Use your private linux server (NAS or other) as a proxy with ssh, PuTTY and Firefox

Image
In PuTTY parameters, in Connection > SSH > Tunnels Configure your SSH connection as usual In Source port , input the port that putty will listen on (e.g. 44444). Use a port that is not currently used on the computer running putty In  the three-option Local, Remote, Dynamic, choose Dynamic Click the Add button Click the Open button to connect to the server In the Firefox options, Advanced > Network > Parameters , select the option Manual proxy configuration . In the field SOCKS host , input 127.0.0.1 and in port , the port you have configured in PuTTY. Your Firefox should now tunneling all your connections through your private server. (This should also work with any server running SSH) UPDATE 2014-03-12 :  If you also would like to secure your DNS queries, write "about:config" in the address bar. Then search for the value network.proxy.socks_remote_dns and set it to true  #1

Use squid on ubuntu server 11.10 joined to a domain in order to force NTLM authentication (review ubuntu 11.10)

This installation was made on an ubuntu server 11.10 and is partially based on my previous tutorial . Install squid: sudo apt-get install squid You can already test the installation by configuring your web browser to use your server on port 3128 as the proxy server. You should receive an error web page generated by squid or the requested web page. In order to request your domain controler, you have to install the following packages: sudo apt-get install samba krb5-user libpam-krb5 winbind During the installation, you should be prompted for a default kerberos realm . Enter your domain name in capital letters : YOURDOMAIN.COM You can test that all is running fine by typing the following command: sudo kinit Administrator You will be prompted for the administrator password. If all is correctly configured, the command should return no result. You can also check the credential cache with: sudo klist Edit /etc/samba/smb.conf and add or modify the following items: [glo...

Use squid on ubuntu server linked with a domain controler in order to force NTLM authentication

(This installation was made on an ubuntu server 10.10) Install squid: sudo apt-get install squid You can already test the installation by configuring your web browser to use your server on port 3128 as the proxy server. You should receive an error web page generated by squid or the requested web page. In order to request your active directory server, you have to install the following packages: sudo apt-get install samba krb5-user libpam-krb5 winbind During the installation, you could be prompted for some information. Just leave the default values, we will modify the config files later. Edit /etc/krb5.conf and add or edit the following values : [libdefaults] default_realm = YOURDOMAIN.COM [...] [realms] STARWARS.LOCAL = { kdc = dc admin_server = dc default_domain = YOURDOMAIN.COM } [...] [domain_realm] .yourdomain.com = YOURDOMAIN.COM yourdomain.com = YOURDOMAIN.COM [...] where yourdomain.com is your network domain (respect the character casing !) and dc i...