Unable to set up direct connection with iptables
Dear friends,
I am trying to set up internet sharing. meaning I have a computer connected to internet, then i setup an iptables on the computer,
on the iptables i have say a rule like this:
$IPT -A FORWARD -s 192.168.27.44 -j ACCEPT
Meaning, i want computer with ip 192.168.27.44 to be able to directly connect to the internet. I have set echo 1 >/proc/sys/net/ipV4
On the computer with IP 192.168.27.44, i have also set the DNS to use my ISP dns, but when i try to connect to internet it doesn't work...
I can't figure out whats the problem...i thought the rule like that can give free access for any machine with ip 192.168.27.44 to the internet?
....anywhere i have made a mistake, thats just one rule of my iptables, of course is not the full script...
pls help me....thanks..
Regards
Y
|