Posts Tagged ‘Apple’

Use a SSH tunnel as a (Mac) system-wide SOCKS proxy to secure your traffic or bypass firewalls.

Alright, so before you push on through this post lets cover some basic scenarios where-by this might be useful:

  1. You’re on an insecure network and want to prevent your traffic being snooped on.
    All your traffic will be sent over SSH so it’ll all be encrypted to the point that it leaves your tunnel end.
  2. You want to get local access to a work or home network that’s behind a firewall.
    By tunnelling all your traffic through a host internal to that network requests will appear to come from it’s local address within that network, allowing you to access things you usually wouldn’t be able to remotely as if you were internal to the network.

Amusingly this was actually the best explanatory image on the subject of SSH tunnelling I could find, courtesy of an Engadget post here.

ssh tunnel diagram ht Use a SSH tunnel as a (Mac) system wide SOCKS proxy to secure your traffic or bypass firewalls.

Read more

AppleScript to dial VPN and run something

This is a work in progress where halfway through I realized that what I wanted to do wasn’t achievable via the Office VPN, I thought someone else might find it useful:

tell application "System Events"
tell current location of network preferences
set VPNservice to service "VPNNAME" -- name of the VPN service
if exists VPNservice then connect VPNservice
repeat until (connected of current configuration of VPNservice)
delay 1
end repeat
set isConnected to connected of current configuration of VPNservice
if isConnected then
-- Do something
end if
end tell
end tell

Why the iPhone worms are a load of rubbish

I’ve been keeping track of some of the online and media coverage regarding the recent iPhone ‘worms’ and it’s mainly a pile of crap.

Read more

iWeb odd  characters

On Friday I discovered something odd about Apple’s iWeb. A customer was seeing that a site she’d uploaded was full of odd ‘Â’ characters.

Read more

Macbook Pro 13 / Snow Leopard Initial Opinions

Alright, so I’ve been using my Macbook Pro 13 with Snow Leopard as my main computer for around 4-5 days.

Read more

Return top