Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-08-2002, 07:05 PM   #1
LQ Newbie
Registered: Jul 2002
Location: Chile
Distribution: Debian Sid
Posts: 29

Rep: Reputation: 15
Question Graphic program for sharing internet connection?

Do you know any program that automatic configures your system for sharing an internet conection using my eth2? eth1 is for the cable modem....

thanks in advance
Old 07-08-2002, 07:05 PM   #2
LQ Newbie
Registered: Jul 2002
Location: Chile
Distribution: Debian Sid
Posts: 29

Original Poster
Rep: Reputation: 15
Or any good howto....
(i already read that masquerading howto but found too boring and long! )
Old 07-16-2002, 08:27 AM   #3
LQ Newbie
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
<smart ass reply>
I believe it is called Internet Connection Sharing. However, you might need some flavor of Windows to run it in. And hey, did you see Windows XP? Did you see the exciting new colors and menus?
</smart ass reply>

Seriously though, last time I set up nat on slack, all it entailed was configuring ipchains/iptables and writing a few (3?) lines to an rc file.

You should be able to just copy stuff available online and change the IPs, etc, to suit your setup.
Old 07-16-2002, 11:31 AM   #4
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
if [ ${KERNEL_VERSION} < "2.4.x" ]; then
/bin/echo "1" > /proc/sys/net/ipv4/ip_forward
/bin/echo "1" > /proc/sys/net/ipv4/ip_dynaddr
/bin/echo "1" > /proc/sys/net/ipv4/ip_always_defrag
/bin/echo "1" > /proc/sys/net/ipv4/ip_masq_udp_dloose

/sbin/modprobe ip_masq_portfw
/sbin/modprobe ip_masq_autofw
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_raudio

for CHAIN in forward input output; do
${IPCHAINS} -P forward DENY
${IPCHAINS} -A forward -s ${NETWORK}/${NETMASK} -j MASQ
${IPTABLES} -t nat -F
/bin/echo "1" > /proc/sys/net/ipv4/ip_forward
/bin/echo "1" > /proc/sys/net/ipv4/ip_dynaddr

Is this what you're looking for? Will require some tweaking on your part.
It's not graphical, and I call it rc.firewall, even though it's really just a simple ip masquerading setup. Hope this helps. If you really want a graphical tool, check out:



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
Internet Connection Sharing Xelopheris Linux - Networking 1 02-28-2005 01:08 PM
Internet Connection Sharing quozt Linux - General 7 09-08-2003 10:06 PM
Sharing Internet Connection andy18 Linux - Networking 6 05-06-2003 04:00 PM
Internet Connection Sharing Keys Linux - Networking 5 03-09-2003 04:48 PM
Internet Connection Sharing joe7.1 Linux - Newbie 0 02-07-2002 01:25 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 AM.

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