User Tools

Site Tools


guifi.net:proxy_transparent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
guifi.net:proxy_transparent [2011/11/06 02:04] – creado 46.105.107.141guifi.net:proxy_transparent [2015/04/13 20:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid
 +
 +
 +
 **Proxy transparente** **Proxy transparente**
 ====== Puerto 80 ====== ====== Puerto 80 ======
Line 27: Line 31:
   iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE   iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
  
 +
 +Corkscrew:
 +Fichero .ssh/config:
 +  Host calafouproxy
 +  Port 443
 +  ProxyCommand /usr/bin/corkscrew 10.145.0.36 3128 94.23.80.158 443 /home/caedes/.proxycalafou
 +  IdentityFile /root/.ssh/tunnel_key
 +
 +OpenVPN
 +  client
 +  dev tun
 +  proto tcp
 +  remote 127.0.0.1r 1194
 +  resolv-retry infinite
 +  nobind
 +  persist-key
 +  persist-tun
 +  ca ca.crt
 +  cert seldon.crt
 +  key seldon.key
 +  #comp-lzo
 +  verb 3
 +  #cipher none
 +  script-security 2
 +  up /etc/openvpn/up.sh
  
  
 +Fichero /etc/openvpn/up.sh es el script del uptables
  
 +/etc/inetd.conf
 +  # ssh tunnel to smarthost.com's SMTP server
 +  127.0.0.1:1194  stream  tcp     nowait  root    /usr/bin/ssh  -q -T vpncalafou@calafouproxy
  
  
guifi.net/proxy_transparent.1320545055.txt.gz · Last modified: 2015/04/13 20:19 (external edit)