Results 1 to 6 of 6
Thread: Port Redirect.....
-
02-07-2011, 12:53 AM #1Junior Guru
- Join Date
- Apr 2008
- Location
- India
- Posts
- 227
Port Redirect.....
Hello Friends,
Please check my query and update me if it is possible or not...
I have 2 application servers (i.e. A and B)
A ip is :- 192.168.11.22 port :- 7013 (single lan card)
B ip is :- 10.10.10.22 :- 8014 (single lan card)
Now i want to set port fowarding/ redirection. When any client request to 192.168.11.22:7013 it will redirect to 10.10.10.22:8014 . How it is possible by iptables or any other way ?
Thank you.
-
02-07-2011, 08:02 AM #2Junior Guru
- Join Date
- Apr 2008
- Location
- India
- Posts
- 227
Hi,
I have tried with below link, but only local redirection is working and i want to redirect to remote machine.....
http://www.cyberciti.biz/faq/linux-p...with-iptables/
Thank you.
-
02-07-2011, 02:52 PM #3Web Hosting Guru
- Join Date
- Apr 2009
- Posts
- 254
For example, turn your router into a bridging router based on this article:
http://ebtables.sourceforge.net/br_f....html#section7
then write iptables postrouting rules
net.ipv4.conf.default.forwarding setting in router must be in 1█▌KVM-based SSD VPS
█▌Unmetered Dedicated Servers
█▌Colocation at 100 Delawanna Ave, Clifton, NJ
-
02-07-2011, 05:06 PM #4Junior Guru Wannabe
- Join Date
- Mar 2007
- Location
- East Lansing, Michigan
- Posts
- 86
-Russell
http://corenetworks.net
-
02-09-2011, 01:17 AM #5Junior Guru
- Join Date
- Apr 2008
- Location
- India
- Posts
- 227
Thank you to all for your valuable reply....
HI Russell, Can you give me the rinetd documentation.... So i will check..
Thank you.
-
02-09-2011, 03:54 AM #6Junior Guru
- Join Date
- Apr 2008
- Location
- India
- Posts
- 227
Hi,
I have done it by following way :-
http://www.linuxsurgeon.org/kb/ip-an...direction.html
Thanks to all....
Similar Threads
-
IP:Port Redirect to another IP:Port?
By SaintGTR in forum Dedicated ServerReplies: 10Last Post: 04-24-2010, 02:21 AM -
Redirect .do requisitions to Tomcat port
By latitude in forum Hosting Security and TechnologyReplies: 3Last Post: 10-02-2005, 06:01 PM -
Redirect webmail port?
By sis3970 in forum Dedicated ServerReplies: 7Last Post: 08-27-2004, 06:00 PM -
Redirect outgoing port for -1- host only
By 2Grumpy in forum Hosting Security and TechnologyReplies: 3Last Post: 08-22-2004, 04:17 PM -
listen on 1 port, redirect to 2 internal ips
By cher in forum Hosting Security and TechnologyReplies: 0Last Post: 02-25-2004, 10:19 PM