Search Results

Search: Posts Made By: 3happypenguins
Forum: IP Networking 02-28-2014
15,002
Posted By 3happypenguins
Sorry, I misunderstood. I actually tried that...
Sorry, I misunderstood. I actually tried that first (did not put --days or --weekdays or anything; just the time). I got an error and the rule wouldn't apply.

How would he "lie" to the clock....
Forum: IP Networking 02-28-2014
15,002
Posted By 3happypenguins
Actually, that's really good in my case. That...
Actually, that's really good in my case. That means that if my friend's son changes the time or time zone, it won't matter because the iptable rule is always going by GMT. :)

And yes, it really...
Forum: IP Networking 02-28-2014
15,002
Posted By 3happypenguins
I got the code from here: Iptables Restricting...
I got the code from here: Iptables Restricting Access By Time Of The Day - nixCraft (http://www.cyberciti.biz/tips/iptables-for-restricting-access-by-time-of-day.html)

You're right about the...
Forum: IP Networking 02-28-2014
15,002
Posted By 3happypenguins
Okay, I had a little bit of clear in my brain...
Okay, I had a little bit of clear in my brain fog, and I think I missed the obvious. I am assuming that if I want to block the Android from accessing any internet after 11:30pm, I would do this...
Forum: IP Networking 02-28-2014
15,002
Posted By 3happypenguins
THANKS!!!! :D ---------- Post updated at...
THANKS!!!! :D

---------- Post updated at 03:58 PM ---------- Previous update was at 12:17 PM ----------

So... I have this other crazy idea. What if I want to simply block the neighbour's...
Forum: IP Networking 02-28-2014
15,002
Posted By 3happypenguins
No, it's totally ok. I plan on connecting my...
No, it's totally ok. I plan on connecting my friend's son's phone to the neighbour's first, then typing the command in the emulator to get the LAN MAC address.

Just curious... is there another way...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
IT WORKS!!! *facepalm*. So it's definitely...
IT WORKS!!!

*facepalm*. So it's definitely my LAN MAC address that needs to be used. However, when I had tried the LAN address before, it didn't work because I needed to REBOOT MY PHONE!!! It...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
I just did that and it's showing a different MAC...
I just did that and it's showing a different MAC address. It's labelling it as "[ether] on eth0". I checked in my router, and it's showing my LAN MAC address. I've tried my LAN (and WAN) in the past...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
Yes, I'm putting in router's MAC address (BSSID)....
Yes, I'm putting in router's MAC address (BSSID). After I typed in those commands into the terminal app, I typed in iptables -L and it didn't show my changes.

Ok... I already have PuTTY for...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
If I turned off AFWall+, I had no internet...
If I turned off AFWall+, I had no internet access. So I just uninstalled it. When you said "root console," I assume you mean the Android Terminal Emulator app? I opened that app, and typed in:
...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
Ok, I put in the code that you said: ...
Ok, I put in the code that you said:

$IPTABLES -A INPUT -m mac --mac-source 00:00:00:00:00:00 -j DROP
$IPTABLES -A FORWARD -m mac --mac-source 00:00:00:00:00:00 -j DROP

Still not blocking...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
I downloaded the "Android Terminal Emulator" app....
I downloaded the "Android Terminal Emulator" app. I typed in su and pressed enter. That made the superuser app pop up and I allowed it.

Then I typed in modprobe config

and pressed enter. It...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
Can you further elaborate? In AFWall+, I navigate...
Can you further elaborate? In AFWall+, I navigate to 'Set Custom Script', then I enter $IPTABLES -A INPUT -m mac --mac-source 00:00:00:00:00:00 -j REJECT

I choose 'OK'. Then I go to the menu...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
This is what the firewall rules look like...
This is what the firewall rules look like (obviously changing any of my personal addresses)... yet, I still have internet access:

==========
IPv4 Rules
==========

Chain INPUT (policy ACCEPT...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
No. I have no access to the router that I am...
No. I have no access to the router that I am trying to block. I am trying to force my friend's son to use his router at home. What he is doing is disconnecting from the home router (which has access...
Forum: IP Networking 02-27-2014
15,002
Posted By 3happypenguins
[SOLVED] AFWall+ iptables help
I am attempting to block connection to a specific BSSID. My friend's son has been getting around the access restrictions I set for the family on my friend's behalf (I have Tomato running on his...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy