LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2005, 10:28 AM   #1
meadensi
LQ Newbie
 
Registered: Feb 2005
Posts: 18

Rep: Reputation: 0
Dual-homed Box won't forward packets


Ok, so I was using Redhat 7 (ipchains) and now I have upgraded to Fedora Core 3 (iptables), so at least I know I am using the latest techonologies.

I have bought Robert Ziegler's book "Linux Firewalls" which is all very interesting but my problem is absolutely no traffic at all is passing out.

I have a standard configuration with eth0 facing Internet and eth1 on the LAN side. All my iptables policies are set to ACCEPT. I have a '1' in /proc/sys/net/ipv4/ip_forward which mattered with RH7, dunno if still does.

I've checked my route table which looks fine, its quite obvious that packets destined for the Internet should be routed out on interface eth0.

So why the **** doesn't it forward packets?

I need to know if there are any gotchas out there which I don't know about.

Is there anything I've missed?

Thanks in advance,
meadensi
 
Old 02-19-2005, 10:33 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are you trying to masquerade connections? Take a look at this:
http://www.linuxquestions.org/questi...ticle&artid=23
 
Old 02-19-2005, 02:04 PM   #3
meadensi
LQ Newbie
 
Registered: Feb 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the lead. The article shows that Fedora IP_Forwarding flag has moved cf RH 7. However, this alone did not solve. Found http://www.chinalinuxpub.com/doc/www...m#_Toc33893559
which says you need to
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp
to enable address resolution protocol but thanks anyway.

Best Google search on words:
netfilter route "net.ipv4.ip_forward" genmask
because the routing table needs to be checked as well as the firewall

Cheers,
meadensi
 
  


Reply



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
DNS trouble w/ triple-homed box psychobyte Linux - Networking 1 11-28-2005 04:07 PM
forward packets between two interfaces sehh Linux - Networking 2 08-30-2005 03:11 PM
Dual-homed machine gubak Linux - Newbie 4 07-28-2004 01:53 AM
Forward netbios broadcast packets atlesn Linux - Networking 0 07-26-2004 09:37 AM
forward broadcast packets to another subnet VultureCulture Linux - Networking 9 10-25-2003 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:28 AM.

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
Open Source Consulting | Domain Registration