hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Traffic redirection
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

Traffic redirection

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2011, 09:48 AM
Psyber Chris Psyber Chris is offline
WHT Addict
 
Join Date: Jun 2010
Posts: 114

Traffic redirection


My knowlage of iptables is a bit off anyone familer with redirecting traffic from one port to another using iptables (and its associated REDIRECT command) i.e 22 to 4321


Thanks in advance

Reply With Quote


Sponsored Links
  #2  
Old 01-05-2011, 02:43 PM
sourceworx sourceworx is offline
Junior Guru Wannabe
 
Join Date: Jan 2011
Location: Chelmsford, Essex, GB
Posts: 38
iptables -A PREROUTING -t nat -i ethX -p tcp --dport 22 -j REDIRECT --to-port 4321

where ethX is the network interface you want to set up the redirect on, eg eth0.

You will need to do this for each interface seperately if you use more than one (ie a multihomed host).

HTH.

Reply With Quote
  #3  
Old 01-05-2011, 03:06 PM
Psyber Chris Psyber Chris is offline
WHT Addict
 
Join Date: Jun 2010
Posts: 114
Thanks bud appreciated

Reply With Quote
Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Traffic redirection script Googled Web Hosting Lounge 0 04-18-2007 10:56 PM
Low Rate Targeted Traffic, No Popups! Premium URL redirection! bigdavestar Other Offers & Requests 0 09-24-2004 07:48 PM
redirection moflow Hosting Security and Technology 1 10-25-2003 06:58 PM
Interesting traffic redirection by enom Acroplex Domain Names 11 12-22-2002 09:46 PM
50MB 3GB traffic -> $10; 100MB 6GB traffic -> $20; 300MB 9GB traffic -> $30! trustedurl.com Shared Hosting Offers 0 05-01-2002 09:48 PM

Related posts from TheWhir.com
Title Type Date Posted
Cisco Study Estimates Cloud Traffic Will Grow 12-Fold by 2015 Web Hosting News 2011-11-30 21:29:02
Akamai Report Names Taiwan Number-One Source of Attack Traffic Web Hosting News 2011-10-28 18:33:23
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03
Web Host Go Daddy Says Outage Due to Software Upgrade Web Hosting News 2011-06-14 16:54:29
Application Publisher Conduit Deploys Cotendo CDN Services Web Hosting News 2011-05-30 17:54:41


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?