Forum Discussion
Igor430
Altostratus
Dec 01, 2017Virtual Server to pool with 3 source IPs on all ports and everyone else on 1 port
Hello,
I am trying to build a virtual server which allows 3 specific source network subnet addresses to a pool on all ports, while allowing everyone else access on port 80 only. It seems like I will ...
Stefan_Klotz
Cumulonimbus
Dec 01, 2017Hi Igor,
no, I'm still sure && is correct here. Your requirements are:
- port 80: allow everyone
- all other ports: allow only for "allowed_subnets"
The above mentioned if-statement checks, if the connection needs to be dropped. And that's the case if port is NOT 80 AND sourceIP is NOT from allowed_subnets. Just give it a try.
Ciao Stefan :)
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