Forum Discussion
RobS
Altostratus
Jan 25, 2013Proxy External Virtual Server to Internal non-LTM website v11.2.1
I've been asked if I can create an external public facing VS that brings users to an internal website that has no association with the F5 (ie http://external-site.com -> http://internal-site.com/abc/...
nitass
Employee
Jan 25, 2013is this usable?
[root@ve10:Active] config b virtual bar list
virtual bar {
destination 172.28.19.252:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch [string tolower [HTTP::path]] {
"/" {
HTTP::header replace Host "internal-site.com"
HTTP::uri "/abc/def/site.aspx"
snat automap
node 200.200.200.101 80
}
default {
do something
reject
}
}
}
}
[root@ve10:Active] config ssldump -Aed -nni 0.0 port 80
New TCP connection 1: 172.28.19.251(47631) <-> 172.28.19.252(80)
1359177477.6073 (0.0011) C>S
---------------------------------------------------------------
GET / HTTP/1.1
User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Accept: */*
Host: external-site.com
---------------------------------------------------------------
New TCP connection 2: 200.200.200.253(47631) <-> 200.200.200.101(80)
1359177477.6131 (0.0035) C>S
---------------------------------------------------------------
GET /abc/def/site.aspx HTTP/1.1
User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Accept: */*
Host: internal-site.com
---------------------------------------------------------------
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects