Ok,
So I have a unique situation I am trying to work around...
I installed an alarm system and needed a phone line but did not want a *real* one. So I bought an ooma box which is pretty cool and works well. However, I did not like the thought of my alarm system calling me being dependent upon my cable modem, so I have setup a pay-as-you go 3G access point as a fallback internet connection with my N66U... That all works great in testing!!!
Now for the hard part, since the failback is pay-as-you-go, I only want my ooma box and the watchdog events that monitor WAN and Failover to have access to the outside world when it is on the 3G connection. Crashplan would eat it up pretty fast...
So I am thinking I could use the same sort of code that was shown in this forum to send an email on status changes, but instead customize the firewall when in failover and un-do it when back on WAN?
If anyone could just give me some hints as to where to look for what I need to do, it would be much appreciated. Like, would I need to learn all about the iptables command to get this going? I have very little experience in bash but I can figure it out.. Just a little lost on where to get started..
I figure someone has surely done something like this already..?..
CW
So I have a unique situation I am trying to work around...
I installed an alarm system and needed a phone line but did not want a *real* one. So I bought an ooma box which is pretty cool and works well. However, I did not like the thought of my alarm system calling me being dependent upon my cable modem, so I have setup a pay-as-you go 3G access point as a fallback internet connection with my N66U... That all works great in testing!!!
Now for the hard part, since the failback is pay-as-you-go, I only want my ooma box and the watchdog events that monitor WAN and Failover to have access to the outside world when it is on the 3G connection. Crashplan would eat it up pretty fast...
So I am thinking I could use the same sort of code that was shown in this forum to send an email on status changes, but instead customize the firewall when in failover and un-do it when back on WAN?
If anyone could just give me some hints as to where to look for what I need to do, it would be much appreciated. Like, would I need to learn all about the iptables command to get this going? I have very little experience in bash but I can figure it out.. Just a little lost on where to get started..
I figure someone has surely done something like this already..?..
CW