Hi all,
This is a question about firewalling on an O2 router, not really about mac issues, but the background includes information about the mac stuff to motivate why I want to configure the router in this way.
so...
I have a mac at home that I often access using SSH from my work or my parents' house. To do this, I have opened up port 22 on my O2 Wireless Box II. So far so good.
I also have a Time Capsule and Snow Leopard running on the mac. These two together mean I can have the mac be asleep most of the time, and will only wake up automatically when an SSH request comes in.
However, my mac has become an iMac, well - an insomniac Mac! It never sleeps, and if I do put it to sleep, it just wakes up again almost immediately. If I turn off the port forwarding on the router, the mac will sleep soundly.
So, I wondered what was coming in to keep it awake and ran WireShark overnight one night. I can see that I am recieving hundreds of access attempts over SSH, trying to get into the mac. They don't succeed, but simply by trying they are keeping my mac awake and so running up my electricity bill by quite a lot.
I tried changing the incoming port to a different port to port 22. However, my work only allows ssh outgoing over port 22 through their firewall, so ruining most of the point of having an ssh server at home at all! Furthermore, after about a week of using the different port, the access requests started again.
On an old netgear router I had, you could restrict port forwarding to certain WAN IP addresses. This means I could whitelist my work and parents' IPs, and block everyone else from ssh-ing in. I tried this, and it worked successfully. However, my old netgear only syncs at about 4Mb/s, whereas my O2 box syncs at about 12Mb/s. So I would much, much rather use my O2 box!
I would like to know how to restrict access to open ports to certain WAN IPs on my O2 Wireless Box II (rebranded Thomson Speedtouch 585v7).
I am quite at ease with the CLI if that is required to configure the firewall!
thanks in advance!!



Print Thread
