LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 01-03-2004, 10:45 AM   #1
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Rep: Reputation: 15
Making Slackware a router


I have been at this for such a long time and I still can't figure out. (I'm a newbie.)

I have Slack installed and running. The machine has two NICs, one for cable, and the other to share the cable connection. I can already ping to the internet from the Slackware box and I can also access the Slackware box from within the network, but I can't seem to figure out how I can have Slack route data from one NIC to the other so I can share the internet connection. I've been playing around with route, but I'm not getting anywhere. Any help would be very much appreciated.
 
Old 01-03-2004, 11:29 AM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
I have a very similar setup for one of my networks, and I use Jay's Firewall. It has a simple interface to configure NAT/IP Masquerading.
 
Old 01-03-2004, 07:15 PM   #3
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks a lot! I got it to act as a firewall now ... but I'm having trouble following the instructions on how to get it to run automatically on boot. Any ideas? I don't have any idea what I'm supposed to be doing on /etc/inittab.
 
Old 01-03-2004, 08:22 PM   #4
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
I remember running into that at first too.
It looks like the documentation assumes a System V init, whereas Slackware uses a BSD style init. (this is explained in the Slackware book [www.slackware.com/book] if you're interested)

The easy way to get it to run automatically at boot is to add an entry for it in your /etc/rc.d/rc.local. something like this:
Code:
echo "Starting Jay's Firewall"
/etc/init.d/fw-jay restart
hope that helps

Last edited by superbondbond; 01-03-2004 at 08:26 PM.
 
Old 01-03-2004, 08:56 PM   #5
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Original Poster
Rep: Reputation: 15
It worked great! Thank you very much. You've been of great help.
 
  


Reply


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
Making a Router sibtay Linux - Networking 4 10-13-2004 04:03 AM
making a router in slackware kmail Slackware 6 06-20-2004 10:12 PM
Making a slackware 9.0 2.4.22 router kleptophobiac Slackware 3 09-07-2003 10:54 PM
making a wireless router box yocompia Linux - Wireless Networking 0 08-05-2003 05:31 PM
Making a router!!! BouReaq Linux - Networking 6 03-19-2003 03:23 PM


All times are GMT -5. The time now is 04:46 PM.

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