From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Juda Barnes" Date: Fri, 08 Mar 2002 00:19:23 +0000 Subject: [LARTC] How i define my linux to act as simple router MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_01C1C647.A9F64030" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C1C647.A9F64030 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable Here is a short brief on my network My network have both Public IP Address and Private iP Address For this example My Public IP Addresses are 194.90.1.x =20 And my private IP Addresses are 192.168.0.x Linux A - IP Address 194.90.1.253 Work as Default Gateway of my public = IPs I am using IPTABLES to manage access list and firewalls Workstation B - IP Address 194.90.1.1 With Default Gate 194.90.1.253 Is able to ping the Internet via eth0 Workstation C - IP Address 192.168.0.1 I Want Workstation B Will be able to PING the private network, so i = have set up on Linux A eth0:1 with IP Address 192.168.0.5 * i have sent ping from Workstation B to 192.168.0.5 And i have got = echo reply. * Also ping from Linux A with the new IP Address (192.168.0.5) to = Workstation C gets echo reply. The only thing that i have left is to set up routed to make packets = that come from eth0 will forward to eth0 , Yes thats the same interface i know ;-) How Will i do that=20 sincerly Juda B Barnes ------=_NextPart_000_0007_01C1C647.A9F64030 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
Here is a short brief on my = network
 
My network have both Public IP Address = and Private=20 iP Address
For this example My Public IP Addresses = are=20 194.90.1.x  
And my private IP Addresses are=20 192.168.0.x
 
Linux A - IP Address 194.90.1.253 Work = as Default=20 Gateway of my  public IPs
       =20       I am using IPTABLES to manage access list = and=20 firewalls
 
Workstation B - IP Address = 194.90.1.1 =20 With Default Gate 194.90.1.253
       =20             =     Is=20 able to ping the Internet via eth0
 
Workstation C - IP Address = 192.168.0.1
 
 
I Want Workstation B Will be able to = PING the=20 private network,   so i have set up on Linux A
 
eth0:1   with IP Address=20 192.168.0.5
 
* i have sent ping from Workstation B = to=20 192.168.0.5     And i have got echo = reply.
* Also ping from Linux A with the new = IP Address=20 (192.168.0.5)  to Workstation C gets echo reply.
 
 
The only thing that i have left is to = set up=20 routed   to make   packets that come from eth0 will=20 forward
to eth0 ,   Yes thats the = same interface=20 i know ;-)
 
 
How Will i do that
sincerly
Juda B Barnes
 
 
 
------=_NextPart_000_0007_01C1C647.A9F64030-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/