I need help on configuring my iptables, so that it allows a computer on the network with an IP address "192.168.0.102 connect to the linux box and disallow any other computers.
how extensive a ruleset are you looking for?
Do you want the machine to be able to get out to other machines besides the one?
What services do you want exposed?
Here is a rather robust iptables script..
I added the allow _only at the top of it just for you. It allows only incoming from the machine...cenrtain outgoing (and return based on outgoing..for updates and things like that) to any host is enabled..
modify to your hearts content.
*note:It was a quick edit. make sure you modify the vars at the top to what you need.
rename to iptables.sh and run with
test rules to make sure they are acceptable...
if you save before testing, even a hard reboot will not save you..
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍