Posts filed under ‘Uncategorized’

Ssh tunnel for security web access in insecure web connection

Use ssh tunnel is a good way to get web security in public
wireless connection. I did this experiment tonight.

Set up sshd service in my Arch

  • Allow sshd in /etc/hosts.allow, check /etc/hosts.deny
  • Choose port number other than 22 for security reason
  • Choose protocol version 2
  • add it as daemon at /etc.rc.conf
  • start it =/etc/rc.d/sshd restart

Configure client

  • For linux, simply run : ssh -D 5555 xxx@ip  -p port
  • putty setting (you can download putty here)
    At tunnel section, Add a source port,e.g.5555, select Auto and Dynamic

  • Firefox setting (you can download firefox here)
    add 127.0.0.1:5555 as socket 5. If you want DNS to be translated
    securely, in firefox, input about:config, then change to
    network.proxy.socksremotedns=true

For speed up settings, check

out wiki.archlinux.org and search ssh

November 20, 2010 at 3:28 am Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

October 9, 2010 at 2:44 am 1 comment


Recent Posts

Archives

Blog Stats

  • 988 hits

Follow

Get every new post delivered to your Inbox.