LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-18-2006, 08:37 PM   #1
edman007
Member
 
Registered: Sep 2003
Distribution: slackware-current
Posts: 173

Rep: Reputation: 30
making slack into a router


does anyone have any good tips or tutorials for making slack into a router, i havent done this before with slack and don't know what i have to do to make sure that all ports are blocked from the outside unless i specify that it should be open, and what about port forwarding, how is that done, the actual routing part seems to be working as i enabled ip_forwarding in slack and it seems to work as a router

i will continue googling this but was hoping that some of you may have some nice tips or tutorials on this, so far the searching is going slow
 
Old 02-18-2006, 10:11 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Well, if you're used Cisco equipment, you might find Zebra useful. It provides an IOS-like user interface.
 
Old 02-19-2006, 02:41 PM   #3
edman007
Member
 
Registered: Sep 2003
Distribution: slackware-current
Posts: 173

Original Poster
Rep: Reputation: 30
well i looked at that and it seems too complicated, i just need to know how to make it work as a NAT, forward ports to the inside, allow some ports from the outside to go to the router (such as ssh) and no firewall on the inside (all ports open by default on the lan ip, all closed by default on the wan), i've been going torough many scripts but they all seem to restrictive and firewalling the lan ports
 
Old 02-19-2006, 03:14 PM   #4
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
I would say Iptables.?!!

Basically my server uses iptables to share my internet conection using NAT with client machines on my lan.
It allows bi-directional communication from any hosts within my designated lan,and silently drops all incoming packets from extenal sources,i.e the net.

You can apply filters using interfaces,ip adresses or ip subnets or tcp/udp ports and in any direction that you wish.
very flexible and powerful.
On the down side;its configuration is a bit cryptic IMO .
There is alot of docs on it n the web though.
Is this what you require?
 
Old 02-19-2006, 03:30 PM   #5
edman007
Member
 
Registered: Sep 2003
Distribution: slackware-current
Posts: 173

Original Poster
Rep: Reputation: 30
i found what i needed, a script that can get iptables running and allow me to drop the firewall on any interface using an easy config file

http://www.asgardsrealm.net/linux/firewall/
 
  


Reply



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 03:03 AM
making a router in slackware kmail Slackware 6 06-20-2004 09:12 PM
Making Slackware a router wenberg Linux - Networking 4 01-03-2004 07:56 PM
Making a slackware 9.0 2.4.22 router kleptophobiac Slackware 3 09-07-2003 09:54 PM
Making a router!!! BouReaq Linux - Networking 6 03-19-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration