Internet Connection Sharing
hey guys ,
i have this tutorial on how to share the internet with other comptures on my network, the script the tutorial gave me was : #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /etc/rc.d/rc.ipmasq #1) Flush the rules tables. /sbin/ipchains -F input /sbin/ipchains -F forward /sbin/ipchains -F output #2) Set the MASQ timings and allow packets in for DHCP configuration /sbin/ipchains -M -S 7200 10 60 /sbin/ipchains -A input -j ACCEPT -i eth1 -s 0/0 68 -d 0/0 67 -p udp #3) Deny all forwarding packets except those from local network # Masquerage those. /sbin/ipchains -P forward DENY /sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ #4) Load forwarding modules for special services. /sbin/modprobe ip_masq_ftp /sbin/ipchains ip_masq_raudio /sbin/modprobe ip_masq_cuseeme /sbin/modprobe ip_masq_irc /sbin/modprobe ip_masq_quake and when i run the script (rc.local) it gives me this : [root@c211-30-252-109 root]# /etc/rc.d/rc.local ipchains: Protocol not available ipchains: Protocol not available ipchains: Protocol not available ipchains: setting MASQ timeouts failed: Protocol not available ipchains: Protocol not available ipchains: Protocol not available ipchains: Protocol not available modprobe: Can't locate module ip_masq_ftp Try `/sbin/ipchains -h' or '/sbin/ipchains --help' for more information. modprobe: Can't locate module ip_masq_cuseeme modprobe: Can't locate module ip_masq_irc modprobe: Can't locate module ip_masq_quake [root@c211-30-252-109 root]# if you can help me fix up my internet connection sharing it would be GREATLY appreciated [ i have been trying to start up a Linux server for 2 weeks now... i finally settled with Fedora because it was easy to set up.... and now the Internet Connection sharing thingo doesnt work :( EDIT : Does anyone know how to turn off the firewall so ALL the pcs in my network can connect to the internet??? i think thats the case..... |
Don't double post in several forums.
This doesn't increase your chance of a good reply, it only makes the people in here annoyed and less willing to answer. |
Try using the iptables command instead.
|
ditch the howto completely. It's obsolete.
|
All times are GMT -5. The time now is 06:47 AM. |