waspbloke
Group: Members
Posts: 4
Joined: Jan. 2006 |
|
Posted: Jan. 07 2006,11:44 |
|
Have you switched ip_forwarding on? You probably want to install the ip_tables extension aswell with some basic rules.
For ip_forwarding with iptables, edit your /opt/bootlocal.sh
Code Sample | iptables --flush iptables --table nat --flush iptables --delete-chain iptables --table nat --delete-chain
# Set up IP FORWARDing and Masquerading iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE iptables --append FORWARD --in-interface eth2 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
|
*you might want to change the iptables rules slightly to suit your ethX interfaces, there are two basic rules you can hack away with - try duplicating the FORWARD/ACCEPT rule for the other ethX interface. Hope this helps. I was having similar problems myself but that fixws it, then you can add more paranoid rule sets to iptables as you figure it out.
|