Click to See Complete Forum and Search --> : iptables


kmfan
11-17-2002, 05:24 PM
I am using my RedHat 8.0 box as a file server for my Windows XP box.....while setting this up I had to stop the iptables because it was blocking access to the Linux box from the Windows box....I would like to configure iptables so that I can turn iptables back on and still access the Linux box from the windows box.......I have no idea how to do this....can someone please help....thank you

yosarian
11-17-2002, 05:59 PM
You'll probably need to add a rule along these lines:

iptables -A INPUT -s {ip add of win xpbox w/o brackets} -j ACCEPT

There may be other rules that you need to delete or add, depending on how it is set up right now. To list the rules of the chains use:

iptables -L INPUT or iptables -L OUTPUT or iptables -L FORWARD

Here's a link (http://www.linuxguruz.org/iptables/howto/iptables-HOWTO-6.html) to the iptables HOWTO for more details.

Good luck.

pcghost
11-22-2002, 01:11 PM
I suggest you get guarddog. It will make the who can talk to who on what ports thing alot easier to setup in Iptables. See my sig for the link. I got it, and now Iptables doesn't give me a headache (most of the time)..:)