Download your favorite Linux distribution at LQ ISO.
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-10-2002, 01:08 PM   #1
LQ Newbie
Registered: Oct 2002
Posts: 1

Rep: Reputation: 0
routing on a specific port

I am trying to forward all traffic that hits my linux box, functioning as a router, on a specific port to be forwarded to another ip address of which is a windows 2000 machine. i thought i could use ip tables to do thsi but it does not seem to work

i am tried to use

iptables -I FORWARD -i eth1 -p tcp -d --dport 5555-j ACCEPT

iptables -t nat -A PREROUTING -i eth0 -p tcp -d 5555-j DNAT --to

It however is not working. Any suggestions?


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
Unable to Connect to Specific Port kaplan71 Fedora 10 05-09-2005 05:31 AM
routing mail out on a specific IP address LordFarquad Linux - Networking 0 09-01-2004 07:20 PM
DNS entry to specific Port? paintcheck200 Linux - Networking 2 05-03-2004 10:22 AM
Null routing to one specific IP/Port astroboy5714 Linux - Networking 1 03-12-2004 06:51 AM
Telnet to a specific port... Harbinger Linux - Networking 1 01-28-2001 10:41 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:21 PM.

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