Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-10-2015, 11:56 AM   #1
LQ Newbie
Registered: May 2015
Posts: 21

Rep: Reputation: Disabled
Port Forwarding - Refer Traffic From Port 8000 to another internal IP


I am running two sites/accounts on one server,

Site 1 -
Site 2 -

I receive a lot of traffic on port 8003 on site 1, that I want to redirect over to site2.

Hence - in essence, then becomes

Is there anyway I can do this in csf, is this even possible?

Please note, that it is just port 8003 on site 1 that needs redirecting internally, the other traffic is fine.

Thank you
Old 10-10-2015, 02:30 PM   #2
Doug G
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
If you'd rather not tinker with your firewall directly, rinetd is a tcp redirection server that's pretty easy to set up.
Old 10-10-2015, 03:44 PM   #3
LQ Newbie
Registered: May 2015
Posts: 21

Original Poster
Rep: Reputation: Disabled

I've installed rinetd, but struggling to get it working.

The public IP for site one is, the public IP for site two is, the port in question is 8044.

I tried the following in rinetd.conf: 8044 8044

But receive the following message:

rinetd: couldn't bind to address port 8044
Old 10-10-2015, 04:17 PM   #4
LQ Newbie
Registered: May 2015
Posts: 21

Original Poster
Rep: Reputation: Disabled
Managed to do this via. redir:

redir --laddr= --lport=8044 --caddr= --cport=8044


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
Port Forwarding Within Internal Network marzak Linux - Networking 5 02-27-2010 11:39 AM
Port Forwarding to RHEL Internal Webserver thiruknv Linux - Networking 1 01-29-2007 05:14 PM
External port forwarding to an internal host antken Linux - Networking 3 12-17-2006 10:43 AM
IPTABLES port forwarding to internal network ivanros Linux - Networking 2 12-28-2002 11:19 PM
Port forwarding to internal machine zamzara Linux - Networking 8 12-01-2002 01:21 AM > Forums > Linux Forums > Linux - Newbie

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