LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-01-2009, 04:36 AM   #1
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Rep: Reputation: 30
Port Forwarding to Debian box


I have been trying to get Port Forwarding working to my Debian Lenny Server.

At first I had a D-Link modem router which I set to forward ports 80,443, and 22 to the Debian Box.

screenshot:

However, when I accessed the network (through dyndns), I just got the modem's web admin screen.

I replaced the modem with a mega 105WR modem, but the result is the same.

So I started to think it may be the Debian Box. However, it would appear that the Firewall is turned off.

Code:
 iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
Can anyone think of something I can look at?

I'm seriously confused.
 
Old 12-01-2009, 05:20 AM   #2
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Weirdness!

Sitting on the network, any attempt to access the server through the internet (through Dyndns) results in a connection to the modem's web admin page.

If I leave the office and go through the dyndns site externally, I access the server as expected.

It would seem that the modem recieves a request for it's own IP from inside the network and, rather than forwarding the ports to the server, intercepts them and serves up it's own pages.

If it receives a request from outside the network, it forwards on to the server as expected.

Does this behaviour sound typical? Or is it just our backwards South African Proxy-based system?
 
  


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
LXer: Port-Forwarding With rinetd On Debian Etch LXer Syndicated Linux News 0 09-08-2008 11:00 AM
linux box router & port forwarding saifurab Linux - Networking 3 08-17-2007 04:36 PM
how to make azureus (or any port forwarding) works in my suse 9.3 box and squid proxy efm Linux - Newbie 0 10-31-2005 01:22 AM
Port forwarding - Debian Dirk the Daring Linux - Networking 1 03-23-2004 10:31 PM
Port forwarding in Linksys Box (cable/dsl) pudhiyavan Linux - Networking 1 01-22-2004 09:37 AM

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

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