Need help with iptables setup
I have 2 ethernet cards:
eth0 -> internet
eth1 <- laptop
Here is a little scheme of what I want the firewall/router to do:
eth0 <- internet Block unless DHCP or FTP info
eth0 -> internet Allow if from eth1 or from premade DHCP/FTP connections
eth1 <- laptop Allow All? (good idea or no? do I need to block dumb windows services like NETBIOS or w/e?)
eth0 -> laptop FORWARD 59, 113, 1024-5000; Allow if from premade laptop connection
Everything else should be Rejected
So how would I setup iptables for all of this?
I am a newbie when it comes to iptables, I just compiled my first linuxfromscratch.org system yesterday.
Thanks,
Bobby Black
|