Forum Discussion
mikegray_198028
Cirrus
Feb 13, 2016irule to connect external domains via webproxy
Hello,
Here i am searching for a solution to connect to a public domain (www.ventanillaunica.gob.mx)) via web proxy
User/client(https://test.mydomain.com)) => LTM VIP => Proxy pool => inte...
Kai_Wilke
MVP
Feb 17, 2016Hi Mike,
I've recycled some existing code of my SNI RDP Proxy project for you. Enjoy...
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set tls_start [TCP::payload]
TCP::payload replace 0 [TCP::payload length] "CONNECT www.ventanillaunica.gob.mx:443 HTTP/1.0\r\n\r\n"
TCP::release
}
when SERVER_CONNECTED {
TCP::collect
}
when SERVER_DATA {
if { [TCP::payload] contains "Connection established" } then {
TCP::payload replace 0 [TCP::payload length] ""
TCP::respond $tls_start
unset -nocomplain tls_start
TCP::release
} else {
reject
}
}Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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