Hulu and the BBC iPlayer everywhere with a little VPN action to bypass Geo IP filters. We’ll be setting up Network Manager in BackTrack5. Plus, Linux inside of Windows, graphing trace-routes in terminal and a whole lot more this time on Hak5!

Download HD Download MP4 Download WMV

VPN in BackTrack 5 with Network Manager

BackTrack 5 is rocking my world as of late. I’ve been running the gnome 32bit version as my primary os on one of my laptops since release and I so far it has been fantastic out of the box.

That is until I wanted to easily connect to a PPTP VPN. While BackTrack5 includes Wicd — the Wireless (and wired) Interface Connection Daemon I’m more familiar with Network Manager, which includes a VPN client. Two birds, one stone!

In this segment I setup Network Manager in BackTrack 5.

  • apt-get install network-manager-gnome
  • cp /etc/network/interfaces{,.backup}
  • echo “”auto lo”” > /etc/network/interfaces
  • echo “”iface lo inet loopback”” >> /etc/network/interfaces
  • service network-manager start
  • nm-applet&
  • reboot

  • Run Linux apps in Windows with AndLinux

    If you want to run Ubuntu seamlessly inside a Windows box, perhaps you’ll be interested in this tool called andLinux. AndLinux is a complete Ubuntu system that runs in Windows (all except 64-bit 7) and uses a program called coLinux as it’s core. CoLinux is a port of the Linux kernel to Windows. It’s kind of like running linux in a VM, except with coLinux, andLinux merges itself with Windows and the Linux kernel instead of running through an emulated PC. andLinux is for fun and development and it can run almost any Linux applications without having to do any modifications.
    So, with andLinux you get a fully functional Linux system, with no desktop interface. It gives you a second panel or start menu where you can load Linux apps. The apps can be run simultaneously with Windows apps and you can cut and paste text between them.

    AndLinux comes in a couple of different versions- KDE version (which is a full version) or XFCE (minimal). When you go through the andLinux installation on Windows, there are a few important steps to keep in mind.
    Choosing your start up type: I chose run andLinux automatically as a NT service because it is the most convenient choice. You don’t have to do any kind of configurations if you choose this option.
    You’ll be asked to create a username and password for andLinux login.
    For Windows file access, I chose COFS as it gives you easier configuration compared to Samba. Samba will, though, let you share files with special characters.
    Also, if Windows starts freakin because it’s not Microsoft certified, just click continue anyway.

    Once the installation has finished, just restart your computer and unblock any windows firewall settings that may occur from the installation. To start using andLinux, first run the NT console. This will open a command prompt that’ll ask you for your username and password. You can then close that window and start using any of the programs and applications that are available in the boot menu. It’s kind of like downloading all the Linux programs straight into Windows without using a Linux OS.

    So I’m just going to try some of these programs out, and they all seem to work just fine. So andLinux looks to be a very handy way to use Linux applications indeed! If you like it, tell me so! feedback@hak5.org.

    Nibble: MTR isn’t your fathers traceroute

    MTR isn’t your father’s Traceroute. It’s the ultimate command line tool for finding out where those tasty little packets are getting lost. From bash issue mtr –report-wide –curses and your destination of choice.

    mtr –report-wide –curses 8.8.8.8

    MTR will bring up a curses terminal interface with a constantly updating report on hops and pings, complete with hostname, best and average latency, and percentage of packets lost at each link.

    Thanks to Brian for sending this in and scoring some complimentary hak5 swag. Submit your 4-bits at hak5.org/nibble

    If you’re into Hak5 you’ll love our new show by hosts Darren Kitchen and Shannon Morse. Check out HakTip!

    Whether you’re a beginner or a pro, HakTip is essential viewing for current and aspiring hackers, computer enthusiasts, and IT professionals. With a how-to approach to all things Information Technology, HakTip breaks down the core concepts, tools, and techniques of Linux, Wireless Networks, Systems Administration, and more

    And let’s not forget to mention that you can follow us on Twitter and Facebook, Subscribe to the show and get all your Hak5 goodies, including the infamous WiFi Pineapple over at HakShop.com. If you have any questions or suggestions please feel free to contact us at feedback@hak5.org.

    If you’re an IT or software consultant, you’re always looking to compete with the big guys. Problem is you may be a one man show! You need a remote support tool – and the best is Go To Assist Express. The faster you can connect to a customer, the faster you can move on to the next challenge! Reduce your travel time and increase revenue by handling more support requests. Brought to you by Citrix, you KNOW Go To Assist Express is easy and secure. Try GoToAssist Express FREE for 30 Days. For this special offer visit GoToAssist.com/Hak5.

    If you want to build a video site or if your website has a play button, I recommend getting a dot TV domain. A dot TV website lets you showcase your original content and create a unique site, not just another YouTube channel.
    Just go to domain.com and search for the perfect dot TV domain for your new idea. Then use coupon code Hak5 at checkout to save an extra 15%.
    If you need to host your dot TV website, don’t forget about Domain.com’s web hosting plans. They’re less than six bucks a month and have everything you need to build, maintain, and promote your site.
    Remember – when you think domain names, think domain.com.
    Got a great idea? It all starts with a great domain. domain.com

    Audible.com is the leading provider of downloadable digital audiobooks and spoken word entertainment. Audible has over 75,000 titles to choose from, to be downloaded to your iPod/MP3 player and played back anywhere, anytime. Choose from books in every genre, science fiction, thrillers, drama, comedy, business, history and more. Go to audiblepodcast.com/ hak5 to get a FREE audiobook-download of your choice when you sign up today. Again go to Audiblepodcast.com/hak5 for your Free Audiobook!

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    18 Comments

    • where’s the free vpn in the us/uk to watch hulu/bbc mm ? :D
      hehe

    • 27C3

    • Magnus 3 years ago

      Yay, Sheffield

    • Thanks for curly expansion trick. Here’s another one. Why not use tab expansion ? I think its more intuitive because it displays what is actually happening.


      cd /etc
      cp int int.bak

      As you type the tab it will expand to the filename (if it is unique), if you type tab and nothing happens, then type a few more letters like inte or inter. If still nothing it means there are still multiple file names. If so, just hit and you will get a list.

      Cheers,
      ..c
      http://www.cogwheel.com
      http://www.cogwheelcircuitworks.com

    • ir0n1c 3 years ago

      It’s the Chaos Communication Congress in Berlin,
      short: 27C3, 28C3 etc.

    • Just want to point out, if you are trying to configure network manager as shown in the video he seems to have overlooked a small step.

      In order for network-manager to manage your network interfaces, you will need to edit ‘/etc/NetworkManager/nm-system-settings.conf’ and change ‘managed=false’ to ‘managed=true’. Then ‘service network-manager restart’ to implement the change.

      This will allow the system to control your interfaces and it will act just like normal ubuntu-gnome network manager after that.

      Great job, enjoying the CLI-fu you’ve been giving out recently.

    • TheFu 3 years ago

      Hint: command completion via the tab key? Know it, love it, use it.
      Watching the typing in the demonstrations is … painful.

      X/Windows copy/paste is wonderful too. During that ‘sed’ demo I was screaming at the TV, “Copy/Paste Dude!”

    • Love the Top Gear reference in the close :)

    • bloomz 3 years ago

      Love how Darren slipped in how Sheffield is cool hah.

    • Skyrell 3 years ago

      Re: bypass GeoIP Filters

      Hello Darren and Shannon
      I found a simple windows utility called tunnelbear that removes all the work of building VPN tunnels and bypassing the GeoIP Filters on your own and does it for free. This simple utility builds the VPN tunnel for you. It is limited to US and UK VPN tunnels, but for the majority of the English TV viewers this should be enough.
      Thanks for the great display of technolust.

    • Intrepid 3 years ago

      Hello Darren, Shannon!
      Your geoip-bypass-how-to helped me really.

      One question:
      Why do you use the VPN Service and not just a Proxy?
      What is the difference? (Without the encryption)
      Is it faster?

      Great job!
      Intrepid

    • mcjazzman 3 years ago

      hi @ all,

      there is a easier way to do that changing ip stuff.

      just change your web proxy in your browser. you can find for example some open and free web proxies here: http://hidemyass.com/proxy-list/

      just use the ip adresses there with the port numbers and thats it!

      br

      mcjazzman

      • Intrepid 3 years ago

        Yes, there are several organisations which distribute such lists.
        Also you can sort the list by country, so it is also possible to
        bypass GeoIP filters.

        Intrepid

    • janvanderwijk 3 years ago

      Nice topic on the networkmanager for BackTrack. And the
      “cp /etc/network/interfaces{,.backup}” was quite an eye opener for me.

      There is another way of accomplishing it.

      If you have another box running Ubuntu and run

      “dpkg –get-selections > installed-software”

      You’ll end up with a file called installed-software. Copy the file to a usb key and copy it to a location on your backtrack machine.
      Run: “dpkg –set-selections < installed-software" in the directory where you copied the file installed-software.
      Finally the "sudo apt-get dselect-upgrade" commands completes all of this. Be aware that is might take while until the installtion finishes.

      If the above doesn't work, you probably do not have dselect installed.
      In that case, run "apt-get install deselect"

    • wezyap 2 years ago

      Just wondered, should wicd be uninstalled when installing network-manager (to avoid conflicts) and how to set the default NIC in network-Manager?

    • crashdogy 2 years ago

      OK followed every thing, now that i rebooted i cant connect to my AP keeps saying my wpa2 key is bad but all was working befor trying this Help Please ???

    • IPv6 PPTP VPN IP Leak Fix?:

      echo “#disable ipv6″ | sudo tee -a /etc/sysctl.conf
      echo “net.ipv6.conf.all.disable_ipv6 = 1″ | sudo tee -a /etc/sysctl.conf
      echo “net.ipv6.conf.default.disable_ipv6 = 1″ | sudo tee -a /etc/sysctl.conf
      echo “net.ipv6.conf.lo.disable_ipv6 = 1″ | sudo tee -a /etc/sysctl.conf

    • Great Show!!
      You have a mistake in the show notes above ^^
      You went a little crazy with the quotation marks.
      Lines :-

      echo “”auto lo”” > /etc/network/interfaces
      echo “”iface lo inet loopback”” >> /etc/network/interfaces

      should read:-

      echo “auto lo” > /etc/network/interfaces
      echo “iface lo inet loopback” >> /etc/network/interfaces

      Peace out
      Paul