Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-10-2004, 10:07 PM   #1
Registered: Apr 2004
Posts: 33

Rep: Reputation: 15
Thumbs down 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 :

# 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
#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 -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.....

Last edited by phoenix07; 04-11-2004 at 12:48 AM.
Old 04-11-2004, 05:17 AM   #2
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
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.
Old 04-11-2004, 07:57 AM   #3
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Try using the iptables command instead.
Old 04-11-2004, 11:31 PM   #4
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ditch the howto completely. It's obsolete.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error In Rsh Connection, poll:protocol failure in circuit set xhx321 Red Hat 5 04-20-2004 12:06 AM
Error In Rsh Connection, poll:protocol failure in circuit set xhx321 Linux - Networking 1 04-18-2004 06:34 AM
Sharing internet connection KRunch Linux - Software 1 02-22-2004 04:46 AM
Internet Connection Sharing quozt Linux - General 7 09-08-2003 09:06 PM
Sharing internet between DHCP protocol? tr4nce Linux - Networking 10 03-25-2003 06:38 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration