F5 BIGIP APM Resources

Download Template
Commonly used resource templates.

cstubbs
March 14, 2015
















apm resource webtop WEBTOP-Full-1 {
    webtop-type full
}
apm resource webtop WEBTOP-Full-No-URL-Entry-1 {
    show-url-entry-field false
    webtop-type full
}
apm configuration captcha CAPTCHA-Example-1 {
    captcha-theme theme-white
    exposition-threshold 3
    private-key %{CAPTCHA_PRIVATE_KEY}%
    public-key %{CAPTCHA_PUBLIC_KEY}%
}
apm resource portal-access PORTAL-ACCESS-Example-1 {
    application-uri https://example.net
    publish-on-webtop true
    scheme-patching true
}
apm resource webtop-link WEBTOP-LINK-Generic-Example-1 {
    application-uri https://example.net
}
apm resource remote-desktop rdp REMOTE-DESKTOP-ActiveX-Example-1 {
    host %{RDP_HOST}%
    port ms-wbt-server
    redirect-keyboard-commands enable
    redirect-sound false
    window-size full-screen
}
apm resource remote-desktop rdp REMOTE-DESKTOP-Java-Example-1 {
    color-depth 16-bit
    host %{RDP_HOST}%
    java-client enabled
    port ms-wbt-server
    window-size full-screen
}
apm resource app-tunnel APP-TUNNEL-ActiveX-SSH-Example-1 {
    apps {
        item {
            compression-adaptive false
            compression-bzip2 false
            compression-deflate false
            compression-lzo false
            description "App Tunnel via ActiveX"
            host %{APP_TUNNEL_TARGET}%
            order 1
            port-range %{APP_TUNNEL_TARGET_PORT}%
        }
    }
}
apm resource app-tunnel APP-TUNNEL-Java-SSH-Example-1 {
    apps {
        item {
            description "App Tunnel via Java"
            host %{APP_TUNNEL_TARGET}%
            order 1
            port-range %{APP_TUNNEL_TARGET_PORT}%
        }
    }
    java-tunnel true
}
apm resource leasepool LEASE-POOL-IPv4-Example-1 {
    members {
        %{IPv4_LEASE_POOL_START}%-%{IPv4_LEASE_POOL_END}% { }
    }
}
apm resource ipv6-leasepool LEASE-POOL-IPv6-Example-1 {
    members {
        %{IPv6_LEASE_POOL_START}%-%{IPv6_LEASE_POOL_END}% { }
    }
}
apm resource network-access NETWORK-ACCESS-Example-1 {
    leasepool-name LEASE-POOL-IPv4-Example-1
    ipv6-leasepool-name LEASE-POOL-IPv6-Example-1
    address-space-include-dns-name { %{NETWORK_FQDN}% }
    address-space-include-subnet {
        {
            subnet %{IPv4_NETWORK}%
        }
    }
    ipv6-address-space-include-subnet {
        {
            subnet %{IPv6_NETWORK}%
        }
    }
    split-tunneling true
    address-space-loc-dns-servers-excluded true
    address-space-local-subnets-excluded true
    auto-launch false
    compression gzip
    dns-enforce-search-order false
    dns-register-connection false
    dns-use-dns-suffix-for-registration false
    dns-primary %{DNS_PRIMARY}%
    dns-secondary %{DNS_SECONDARY}%
    dns-suffix %{NETWORK_FQDN}%
    wins-primary %{WINS_PRIMARY}%
    wins-secondary %{WINS_SECONDARY}%
    microsoft-network-server true
    supported-ip-version ipv4-ipv6
}

You must be logged in to comment.