27-Oct-2021 01:11
i have one web server behind the big-ip which applied on it variety services , I need to access web application from outside as below :
when write HTTP://abc.com forward traffic to normal web service, and when write HTTP://abc.com:2003 forward traffic to cpanel on web server.
i have one node and one pool and one Virtual server enabled HTTP on it .
how to configure this case .
thanks
28-Oct-2021 00:08
Hi ahmed,
Create 2 virtual servers and 2 pools.
virtual1:
=========
vs_abc.com_80
vs ip: 1.2.3.4
vs port: 80
pool1
=========
pool : pool_abc.com_80
pool member : 5.6.7.8:80
===========================
virtual2:
=========
vs_abc.com_2003
vs ip: 1.2.3.4
vs port: 2003
pool2:
=========
pool : pool_abc.com_2003
pool member : 5.6.7.8:2003
If you want with one virtual server:
31-Oct-2021 00:26
hi Enes
if i need to configure two VS but I have one public IP how to configure it , on utm when I mapped public IP to VS accept one mapped IP only
28-Oct-2021 01:15
thanks for your replay
in my case I have one VS , and I tried to add port list to VS but in utm logs gives me server rst the connections.
which means that the vs can't listen on port 2003
28-Oct-2021 01:18
may you please give me any tshoot steps to ensure that the service 2003 its work fine on the backend server
28-Oct-2021 01:43
Hi ahmed,
You can get packet capture and analyze it
tcpdump -nn -i any:nnnp -s0 -w /shared/tmp/2003.pcap host <vs-ip> and port 2003
Could the cpanel 2003 port be working with ssl?
28-Oct-2021 03:17
yes Cpanel working with ssl through 2003
28-Oct-2021 05:39
Can you add server ssl profile to the virtual server and try this iRule?
when HTTP_REQUEST {
if { [HTTP::host] ne "abc.com:2003" } {
SSL::disable serverside
}
}
When you access cpanel from http://abc.com:2003, if it redirects to https, you will need to 2nd virtual server.