LinuxQuestions.org
Review your favorite Linux distribution.
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 02-14-2013, 06:24 AM   #31
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46

Alrihgt, both machines ping. This, believe it or not, is the fourth thread I open about the same subject and I had to wait for somebody like you to enter the scene to shed some light on the matter. For instance, nobody seemed to understand that the modem including router or not was immaterial. And I said before you said so: "it has to be very simple!". But idiomatic barriers and maybe some slowliness in me could have conspired to make this a large tread. Never mind, I drink to your health. Adieu,

Enrique.

P.S.: I expect this procedure, of which I have taken good note, enjoys the property of repeatability.

Last edited by stf92; 02-14-2013 at 06:26 AM.
 
Old 02-14-2013, 06:46 AM   #32
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 381

Rep: Reputation: 30
Quote:
Originally Posted by Poucket View Post
Will machine B also have internet through the alias?
in that situation, no. it can be make throught /etc/rc.d/rc.ip_forward make an executable, and make an /etc/rc.d/rc.firewall script like as


#!/bin/sh

echo "Starting Firewall & NAT "

IPTABLES="/usr/sbin/iptables"

#Flush all chains

$IPTABLES -F
$IPTABLES -t nat -F

# Erase all chains

$IPTABLES -X
$IPTABLES -t nat -X



#$IPTABLES -P INPUT DROP
#$IPTABLES -P OUTPUT DROP
#$IPTABLES -P FORWARD DROP

$IPTABLES -P INPUT ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT

###IP Aliasing

#SNAT Section

### cannot use -i with postrouting!
$IPTABLES -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE


but that - firewalling, address translation and so - is another, big, topic...
and with situation as there, when outer ( internet) in inner network is one, it not be safe thing, imho. inner, private network must be physically separated from outer, and that require additional network card in A machine.

Last edited by WiseDraco; 02-14-2013 at 06:48 AM.
 
1 members found this post helpful.
Old 02-14-2013, 07:01 AM   #33
Poucket
Member
 
Registered: Dec 2012
Location: California
Distribution: Slackware 14.1
Posts: 38

Rep: Reputation: Disabled
Quote:
Originally Posted by WiseDraco View Post
in that situation, no. it can be make throught /etc/rc.d/rc.ip_forward
I had not even seen rc.ip_forward in /etc/rc.d . I have been trying to understand how to bridge an RPi through
another computer with two network interfaces. Still working on it.
 
Old 02-14-2013, 07:10 AM   #34
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 381

Rep: Reputation: 30
Quote:
Originally Posted by Poucket View Post
I had not even seen rc.ip_forward in /etc/rc.d . I have been trying to understand how to bridge an RPi through
another computer with two network interfaces. Still working on it.
rc.ip_forward must be in /etc/rc.d if you use slackware.
what is RPi ?
 
Old 02-14-2013, 07:18 AM   #35
Poucket
Member
 
Registered: Dec 2012
Location: California
Distribution: Slackware 14.1
Posts: 38

Rep: Reputation: Disabled
Quote:
Originally Posted by WiseDraco View Post
rc.ip_forward must be in /etc/rc.d if you use slackware.
Yes, the file was there.
Raspberry Pi is a little computer that will not take much space if you place it on a desk.
 
Old 02-14-2013, 07:51 AM   #36
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 381

Rep: Reputation: 30
looks nice, but i already have an eeepc900 for mobile tasks and so on
 
  


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
giving SSH access to machines on LAN from internet tkmsr Linux - Server 4 03-09-2011 02:16 AM
Ubuntu server cannot access internet but LAN machines can. librano Linux - Server 2 05-13-2007 01:17 PM
LAN machines unable to connect to Internet through (firewall on )gateway nishi_k_79 Linux - Security 1 11-13-2003 01:30 PM
ssh to multiple lan machines from the internet - How? v00d00101 Linux - Newbie 4 06-20-2003 01:39 PM
Enabling Slackware Configuration on Network Machines deesto Slackware 5 12-21-2002 11:57 PM


All times are GMT -5. The time now is 03:05 AM.

Main Menu
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