It's a Mac. Of course you can do that.
- 2 minutes read - 399 wordsI installed K9 Web Protection filtering software on my sprog’s computer. They like playing Flash games on the Internet, and naturally I worry that some of these sites may… change in nature. Plus, I thought it’d be an interesting technical accomplishment for him to work out how to get around it.
I picked K9 because they have a Mac version. Always handy, that. The install was easy, and remarkably for a beta, it seemed to work fine. I checked a couple of sites I know they like, all fine. Then I tried something I thought would be blocked, and it was. All well and good. Being a fairly easy-going and liberal type, I checked the categories before going for a fairly generous setting. After all, my sprog is fairly sensible and mature about these things, plus I can see his screen from the corridor outside his room. Oh, and some schoolfriends and I once found a stash of one-handed magazines under a bush, and it never did me any harm…
All good. So, I went back to my computer, and fired up a web browser to check
out the ‘remote management’ features. Oh. There aren’t any. The management URL
is “http://127.0.0.1:2372”. Ah. Unlikely to work over a network. I wondered if
you could substitute the network address in, but no. “Curses,” I thought, “I’m
thwarted!”
But then I remembered something else — SSH port forwarding. My sprog’s machine has SSH access turned on, as you never know when you’ll need it. In fact, I think all of my Macs do. So, I wondered if I could use that. I fired up a Terminal, and entered this command:
ssh -L 2372:127.0.0.1:2372 192.168.2.8After a short delay, it prompted me for a password, which I provided, and I
logged in. Nothing out of the ordinary here, except that that command forwards
traffic over port 2372 backwards and forwards over the network. It also encrypts
it, but since it’s going over a WPA-protected wireless network, that’s not
really a big deal. So, does it work? I typed “http://127.0.0.1:2372” into a
browser on my laptop, and up came the K9 administration screen. I popped in my
password, and hey presto — I’m managing little one’s web protection. So, remote
administration for a product that doesn’t support it, thanks to having a Mac.
I probably ought to tell the K9 people about this…