LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 11: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, 11:33 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Are you trying to masquerade connections? Take a look at this:
http://www.linuxquestions.org/questi...ticle&artid=23
 
Old 02-19-2005, 03: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


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

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

All times are GMT -5. The time now is 07:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration