Community discussions

MikroTik App
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

Port Forward but 2 sites

Thu May 28, 2009 6:52 pm

i have to sites inside my network
192.168.1.12 on ssp.domain.com
and 2nd one 192.168.1.15 on ggm.domain.com

i want to publish both on same public ip but the header is different ?
public ip is xx.xx.xx.xx
can i do it?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Port Forward but 2 sites

Fri May 29, 2009 1:06 am

it's possible using Web-Proxy, but your sites will see only your router's IP instead of IPs of external clients (but maybe you may use 'X-HTTP-FORWARDED-FOR' in proxy headers, didn't tested...)
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

Re: Port Forward but 2 sites

Fri May 29, 2009 1:44 am

great but how to do it in webproxy
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Port Forward but 2 sites

Fri May 29, 2009 1:47 pm

add their internal addresses to DNS and redirect all external requests to your proxy
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

Re: Port Forward but 2 sites

Sat May 30, 2009 9:16 am

great , i'll test and let you know