Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue accessing web servers through F5 setup on vmware lab environment

uskwarrior
Altostratus
Altostratus

Hello Folks,

I am working on setting up F5 LTM (version 17.1.0.1) in my lab environment on vmware workstation where my goal is to do a PoC on publishing the internal web servers through F5 to the external network.

However, after several attempts, I am able for the setup to get working.

Can you please advice on what am I missing ? I have provided information on my setup below.

I have two IIS web servers running (10.10.10.150 and 10.10.10.151) on windows server 2019 on the network 10.10.10.0/24. The web servers are accessible on port 80 and 443 from the internal network (10.10.10.0/24).

uskwarrior_11-1691686496696.png

 


On the F5, I performed the following steps:

  1. Ensured that the web servers are reachable from F5 (through ping and port 80/443)

uskwarrior_13-1691686557059.png

2. Created two VLANs - Internal (pointing to internal network) and External (pointing to external network) and mapped them to the two interfaces 1.1 (connected physically on vmware to homelab internal network) and 1.2 (connected physically on vmware to homelab external network)respectively.

uskwarrior_14-1691686589081.png

3. Associated self-ips to the internal and external vlan,.

uskwarrior_0-1691686641416.png

4. Created two separate pools for the two web servers on port 80 and 443 and added the nodes. The pool and nodes appear to be up on F5.

uskwarrior_1-1691686687296.png

uskwarrior_2-1691686715443.png5. Created two separate virtual servers for port 80 and 443 with destination address as 192.168.1.251 and 192.168.1.250 (external interface IP) respectively. Though I didn't make any changes to the configuration settings on virtual server. The virtual servers appeared to be up.

uskwarrior_3-1691686776858.pnguskwarrior_4-1691686791761.png

uskwarrior_5-1691686825993.png6. Finally, I Setup a workstation connected to the external network 192.168.0.0/24 to test access through F5 VIP for the addresses 192.168.1.251 and 192.168.1.250 where I get the certificate warning but the page doesn't get renderred

uskwarrior_6-1691686871617.png

uskwarrior_7-1691686885327.png

 

1 ACCEPTED SOLUTION
7 REPLIES 7

Tried source address translation (automap) on the VIPs?

I tried adding a SNAT rule with the destination NAT IP as the external interface of the F5 (192.168.1.250). But still the page is not being renderred 😞

uskwarrior_0-1691690271752.png

 

Try automap instead?

Changed to automap under the VS settings but the problem persists.

uskwarrior_0-1691691780233.png

 

Confirm that you can reach the server using curl via the command line?

ie. 

curl -v http://10.10.10.150/

 

Hi Patrik,

Actually after configuring automap on the VS and setting up the profile to http and SSL respectively, the issue was resolved. Thanks a bunch for your help.

uskwarrior_0-1691692219151.png

uskwarrior_1-1691692298606.png

uskwarrior_2-1691692339391.png

 

 

 

Ah, a classic. Glad to help.

Keep on truckin'! 👍