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 01-22-2004, 04:45 PM   #1
nidputerguy
Member
 
Registered: Oct 2003
Posts: 47

Rep: Reputation: 15
NAT Port forwarding problems!


I'm using Qwest DSL with a Cisco 678 DSL router. I'm on PPP with a dynamic IP. My IP doesn't change, I always get the same IP. I'm using NAT on the Cisco as I only have the one IP address. Port 53 UDP and TCP is forwarded to my Redhat box running Bind. Internally my RH box takes all DNS requests without a problem resolving everything as expected. yahoo.com, google.com all resolve without issue. You can ping my domain and my alias's I have defined for it and the DNS server returns the correct IP. When you try and use my DNS server as your primary DNS server external to my network it returns the IP of the DSL router for every request. If you ping yahoo.com it will return the IP of the DSL router as the IP of yahoo.com. I know there is communication back to the DNS server because it will resolve my aliases for my domain. Here's the odd part. Even with an internal IP scheme setup in the DNS server it still returns the DSL routers IP for those aliases. Currently I have it set up to return the DSL routers IP. As you can see my setup seems to have some issues. The problem is with NAT and port forwarding and PPP. Somewhere in that mix lies the issue. Any help would be appreciated. My IP is: 207.108.54.93. My domain is spokanerc.net. One of my aliases is: ns1.spokanerc.net. Any help is appreciated!
 
Old 01-23-2004, 08:57 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Have you made any FORWARD chain rules to allow/block UDP/53?

After the NAT chain, packets pass thru FORWARD...
 
Old 01-27-2004, 10:33 PM   #3
nidputerguy
Member
 
Registered: Oct 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I'm not even using ipchains as far as I know. This is a bare min RH8 install. I"m manually adding each package as I build up this system. I'm probably going to call this port forwarding from the Cisco issue moot soon, break down and spend the extra $14 a mos for 5 static IPs. I really need two DNS servers for this to be set up properly. Right now I pointed my domain record secondary dns to an unused IP that qwest has : ) but that isn't the right way to do things. Thanks for the advice!

Last edited by nidputerguy; 01-27-2004 at 10:35 PM.
 
Old 01-27-2004, 11:29 PM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
can u post your zone files and your named.conf
 
Old 01-31-2004, 10:29 AM   #5
nidputerguy
Member
 
Registered: Oct 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I'll let you all know where it stands once I get my block of statics working. Qwest is horrible for tech support! By the time I'm done with them I'll have over 3 hours on the phone, most of it on hold. I'm going to demand they rescind the 50$ setup fee or they can keep their IP's and I'll go to a different ISP.
 
  


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
NAT and Port Forwarding aq_mishu Linux - Networking 2 09-16-2005 07:58 AM
SSH port forwarding thru a NAT Firewall whoever Linux - Networking 3 07-29-2005 03:24 AM
Port Forwarding without NAT on an old Kernel linuxpyro Linux - Networking 0 06-02-2004 12:31 PM
iptables + NAT + Port forwarding problem SirGertrude Linux - Networking 9 05-14-2004 04:02 AM
Problems with port forwarding MS3FGX Linux - Networking 4 01-27-2004 03:22 PM

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

All times are GMT -5. The time now is 03:26 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