Results 1 to 1 of 1
Thread: nat routing
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2004
i am pretty new to linux, but I installed fedora 3 at the server right now. I enabled internet connection sharing through the following statements:
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to "ipadres"
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m state --state NEW -i ! eth0 -j ACCEPT
iptables -P INPUT DROP
iptables -A FORWARD -i eth0 -o eth0 -j REJECT
Th efirst line fails, but the remaining didn't. It all works, but if I do a speedtest my server is twice as fast as the windows xp clients. I get 930 KByte/sec at the server and 420 KByte/sec at my windows xp client. Can I do something to speed up the internet connection at the clients ???
I have a adsl conenction from demon.
Thanxs a lot ...