ShortNews

Donnerstag, 16. Januar 2014

IPv6 connections over SSH SOCKS server tunnel to a possible DNS server

  • Provide a SOCKS server by an ssh-tunnel to your remote DNS server:
    ssh <DNS-server> -N -D8080
  • Configure firefox for the usage of the SOCKS server:
    Edit -> Preferences -> Advanced -> Network -> Settings
    Manual Proxy Configuration:
      SOCKS Host: localhost:8080
      Let HTTP, SSL, FTP Proxy empty!
    Visit: about:config
    Set network.proxy.socks_remote_dns = true
    Restart firefox
  • Visit kame.net - the turtle should dance if IPv6 is working. 

You can use your new SOCKS server port (8080) not only by a web browser (as it's shown for firefox) but also for another applications.
  • For using the new SOCKS port by your ssh client, e.g. to reach your-ssh-server. net with only an IPv6 address, just type:
    ssh -o ProxyCommand='nc -x localhost:8080 %h %p' name@your-ssh-server.net