![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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!! |
|
||||
|
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 ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|