Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-02-2001, 02:34 AM   #1
LQ Newbie
Registered: Oct 2001
Location: Miami, FL
Distribution: Red hat 7.1, Redhat 7.2, and Mandrake 8.1. I have used Slackware 8, and Debian
Posts: 1

Rep: Reputation: 0
Unhappy IPTables Port Forwarding Problem

hi, i recently set up ip masquerading, so im usign my Redhat 7.1 linux box as my router. I have an internal box running a service that i need to make available to the
outside. the port is 5500 and the internal ip of the box is,
heres what i tried:

# iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 5500 \
********-j DNAT --to-dest

it goes through without any errors, but when i try to connect to the service
usign my external ip *it says Host Refused connection. i also tried port
scanning for this port, and it doesnt find it. Please help me solve this ASAP.

Thank you in advance,


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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 08:35 PM
iptables port forwarding jefmwols Linux - Networking 9 05-20-2005 05:08 PM
IPTables port forwarding problem deadlydemon Linux - Security 2 04-25-2005 05:43 PM
IPTables port forwarding.. NeoTech Linux - Networking 2 01-03-2005 12:27 PM
iptables + NAT + Port forwarding problem SirGertrude Linux - Networking 9 05-14-2004 05:02 AM

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration