|
Date: 4/14/2010 |
|
|
|
Make sure iptables has been installed:
Check iptables rules:
Copy the iptables script from fw-script.sh, make it executable, then run. Check the rules running again the same command,
You should see new active chains. Try to ping your node. Try to ssh to your node. If you succeed, try to ping your desktop machine. To enable ping, you need to add the following rules to your fw-script.sh (you can include them somwhere after the default policy)
Try to ssh somwhere outside of the subnet, for example, engsoft or eden. To enable return TCP-connections from the outside of the subnet, change "-s 192.168.5.0/24" and "-d 192.168.5.0/24" for "-s 0/0" and "-d 0/0" in the rules for "Accept local-network return traffic..." in the script. Restart the script and try ssh to outside hosts. |