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-16-2006, 11:13 PM   #1
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 130

Rep: Reputation: 32
Slack based FW/Router

I have 2 networks and that I want to connect with a slackware based FW/router. My router/fw has the 10.1 and 11.1 addresses for the respective networks.

If I try to ssh from any of the network to the other the traffic never gets there. For example if I ssh from 10.4 to 11.6, 11.6 never receives the traffic. The strange thing is that if I try to ssh from 10.4 to 11.1 I get connected just fine (itís like the traffic is never being routed out the interfaces.)

There are no IPTables rules (actually IPT are not even being started). Any ideas on what I may try to get this to work will be appreciated.
Old 07-17-2006, 12:59 PM   #2
LQ Newbie
Registered: Sep 2004
Location: UK
Distribution: RHEL 4; RHEL 5; CentOS 4; Slackware 10.2
Posts: 28

Rep: Reputation: 15
You'd need to enable IP Forwarding on your Slackware router box:

This can be done with the following command.

echo 1 > /proc/sys/net/ipv4/ip_forward

and similarly, disabled by the following command:

echo 0 > /proc/sys/net/ipv4/ip_forward

when the box is restarted the enable command would need to be re-executed, so it may be an idea to put it in a script which is executed when the machine starts. rc.local for example.

Hope this helps. Good luck
Old 07-17-2006, 02:45 PM   #3
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Rep: Reputation: 15
To enable IP Forwarding at boot just chmod 755 /etc/rc.d/rc.ip_forward

Also is there a seperate NIC for each network? Are you using DHCP?


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
PPC based Linux router? 8-bitDesigner Linux - Distributions 9 01-17-2006 11:19 PM
Slack based floppy distro Vgui Slackware 4 12-16-2005 05:00 PM
ncurses based programs in Slack 10.0 superandrzej Slackware 3 08-08-2004 04:58 PM
Suggestions for a CD based router/firewall distro ConcreteClam Linux - Networking 3 05-25-2004 03:59 PM
Linux based Router/Print Server pldobs Linux - Networking 1 12-26-2003 11:11 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:23 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