I am trying to create a bash script to block my internet users.
It looks like this
Code:
#! /bin/bash
iptables -A FORWARD -s 192.168.1.222 -j DROP
I would like to be able for this script to ask for the IP address and ad it itself.
where I try block and an ip address and it changes the script to match.
Recent comments
15 hours 43 min ago
16 hours 43 min ago
20 hours 30 min ago
21 hours 44 min ago
1 day 1 hour ago
1 day 8 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 10 hours ago
2 days 12 hours ago