LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-17-2006, 12:13 AM   #1
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 87

Rep: Reputation: 18
Slack based FW/Router


I have 2 networks 10.10.10.0/24 and 10.10.11.0/24 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, 01:59 PM   #2
RJ76
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, 03:45 PM   #3
Voltar
Member
 
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?
 
  


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


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