ip masquerade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello every body,
I'm naxis a newbie.
Trying to make ip masquerade run on my fedora core 2 two saw how to on
this mailing list I tried everything writen but still I cannot make it
run.this is what I've done until now.
I want to make pc in my local network get access to the internet

eth0 get dynamic ip address from the isp
eth1 FC2 local dhcp server (IP:192.168.1.1 GW:192.168.1.1)

I run
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j MASQUERADE

I edited  /etc/sysctl.conf setting
net.ipv4.ip_forward = 1
and run  "sysctl -p"(advices I saw on this mailing list)

"iptables -L -n -t nat" shows this for the POSTROUTING:

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 192.168.1.0/24 0.0.0.0/0

But local network cannot have the internet.
Is there anything I'm missing to do?
Is there any way to that without iptables?
I need your help



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux