The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux distro or network traffic cop? It's both! iBot UNIX and Linux RSS News 0 12-01-2007 11:05 AM
Monitoring network traffic using snoop mansoorulhaq UNIX for Advanced & Expert Users 3 09-22-2007 05:13 AM
How to capture network traffic kayode Security 2 01-28-2005 06:27 AM
monitoring network traffic yls177 UNIX for Dummies Questions & Answers 6 04-03-2003 01:20 PM
routing - mandrake sTorm UNIX for Dummies Questions & Answers 2 04-25-2002 09:10 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-16-2001
Deuce Deuce is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 15
Routing Network Traffic With Mandrake

I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf" to our school's router. My Eth0 is configured for the school's network (DHCP) and I can surf the internet with no problem.
Workstations on the internal network can ping both cards on my Mandrake machine, but CAN NOT go past ETH0!! I have downloaded several tutorials on ipchains and ip masquerading but none seem to be helping.

Please help!!
  #2 (permalink)  
Old 10-20-2001
Andy Hibbins Andy Hibbins is offline
Registered User
  
 

Join Date: Jun 2001
Location: Leicestershire, UK
Posts: 92
Hi,

Have you checked that ip forwarding is enabled? This can be checked by running the following command:

cat /proc/sys/net/ipv4/ip_forward

If the result is 0 then you need to run:
echo 1 >> /proc/sys/net/ipv4/ip_forward


You'll also need to check that ip masquerading is enabled via your ipchains/iptables firewall.

The following is a basic rule to enable ip masq, where 192.168.1.0/24 is the range of ip addresses on your lan.

ipchains -A forward -i eth1 -s 192.168.1.0/24 -j MASQ

You might find the following tutorials useful for configuring the rest of you firewall rules:

http://www.linuxplanet.com/linuxplan...orials/1241/1/

http://www.linuxplanet.com/linuxplan...orials/2100/1/


Hope this helps


Andy
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0