Forum Discussion
Bartek_Krajnik_
Nimbostratus
Jan 07, 2010serverssl and ssl offloading (http to https)
Hi,
I'm trying to make ssl offloading on HTTP.
Request comes from client via HTTP and on F5 I'm trying to tunel it on HTTPS to the server.
For example client requests: http://www.f5.com and it comes via http to f5, then on F5 I make ssl connection to https://www.f5.com (client can view only http connection).
I created 2 virtualservers:
virtual virtualserver1 {
ip forward
destination any:any
mask none
vlans IN
OUT enable
}
virtual virtualserver2 {
pool nextrouter
destination any:80
mask none
ip protocol tcp
vlans IN enable
rules proxyit
profiles
serverssl
tcp
}
rule proxyit {
when CLIENT_ACCEPTED {
node U.X.Y.Z 443
}
}
Where U.X.Y.Z is IP address of interface where virtualserver1 listens (IN).
pool nextrouter has IP address of next gateway.
And now I can see packets, which comes in via IN interface, goes to virtualserver2 and that's all.
Directive "node U.X.Y.Z 443" doesn't send packets to IN interface.
Where can be the problem?
6 Replies
- hoolio
Cirrostratus
I'm not sure this would work, but can you try changing the iRule to:when CLIENT_ACCEPTED { node [IP::local_addr] 443 }
- Bartek_Krajnik_
Nimbostratus
Trick with "node [IP::local_addr] 443 " doesn't work. - Bartek_Krajnik_
Nimbostratus
Can it be a problem with different software version? I'm using 9.6.1 and somone told me, that upgrade to version 10 can help. - hoolio
Cirrostratus
If you remove the proxyit iRule and define the nextrouter pool member(s) on port 443 does it work? If not, do you see a server side connection attempted to the destination IP address? - Bartek_Krajnik_
Nimbostratus
If I add "forward" rule to iRule then it forwards packets. - Bartek_Krajnik_
Nimbostratus
resolved:
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