Forum Discussion

Igor_Grushevski's avatar
Igor_Grushevski
Icon for Nimbostratus rankNimbostratus
May 18, 2013

Acces to Web Management Portal of F5 through SSH tunnel

Dear experts, please, help to solve the problem related to the connection to the web GUI of F5 through the SSH tunnel with enabled port forwarding feature.

 

The reason why I need such thing - our external F5 is located in the DMZ zone and has totally another subnet.

 

Tunnel works, port forwarding for the 443 port also works.

 

Problem is when login like https://127.0.0.1:1212, F5 web gui successfully shows me login page.After this I input the login and password, submit them BUT after this I see redirecting procedure in the browser and as a result empty error page in the browser.

 

So I need to know for what kind of port need to make forwarding in the SSH tunnel to access F5 web gui successfully?

 

For internal F5 for debugging reasons checked netstat -an | grep (IP from which I establish connection) output in the F5 console when I connect to the direct IP of the BIG-IP device and see that during browsing F5 web gui there re a lot of connections to 443 port and that`s ok.

 

So I don`t understand the reason why the page in the browser after logging to the F5 outputs standart:"IE cannot display the page" error.

 

 

  • So I need to know for what kind of port need to make forwarding in the SSH tunnel to access F5 web gui successfully?it works fine here. i only configured local port forwarding to bigip port 443.

    this is my post request/response header.

    POST /tmui/logmein.html? HTTP/1.1
    Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Referer: https://localhost:1212/tmui/login.jsp
    Accept-Language: en-US
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; MS-RTC LM 8; .NET4.0E)
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    Host: localhost:1212
    Content-Length: 27
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: JSESSIONID=B8B62933251093015F0045B31C1648F7; f5advanceddisplay=""
    
    HTTP/1.0 302 Found
    Date: Sat, 18 May 2013 13:29:38 GMT
    Server: Apache
    X-Frame-Options: SAMEORIGIN
    Set-Cookie: BIGIPAuthCookie=E478E0591018427D1E412AC98E779A490A83CD0F; path=/; Secure;
    Set-Cookie: BIGIPAuthUsernameCookie=admin; path=/; Secure;
    Location: /
    Content-Encoding: gzip
    Content-Length: 164
    Connection: close
    Content-Type: text/html; charset=iso-8859-1