CSS redirect based on client IP address?

We have a number of web servers behind CSS11500. We would like to be able to send an http redirect to a client browser, depending on the client's IP address.
I had thought this might be possible using ACL but I can't find anything that seems to fit the bill. Can anyone suggest whether this is even possible, and how?

create a redirect service.
Then you can use an acl like this :
clause 10 permit tcp x.x.x.x destination content prefer
Gilles.

Similar Messages

  • HTTP Redirect based upon SRC IP Address

    Is there a way to perform an http redirect based upon user's source IP address on the CSM/GSS environment?
    Logic:
    IF < src ip address is within exception list > THEN
    http redirect to URL2
    ELSE
    http to URL1
    END

    Is there a version of this solution (redirect by client source IP) for the CSS?
    I'm attempting to redirect clients from a few specific networks (source IP's) to the VIP of a second CSS using a service-type redirect and "prefer " ACL commands:
    clause 10 permit any 1.1.1.0 255.255.252.0 destination content owner/content-rule prefer service-type-redirect
    There is an "any any destination any" last clause in the ACL for the remaining source IPs. The ACL is applied to the incoming circuits leading to the webservers.
    A show of the ACL's shows all responses - no matter the client source IP - being caught by the permit any clause at the end of the ACL.
    Extra points: this is a one-arm design with source group destination applied (to return server traffic to the CSS) and traffic is https with SSL terminating at the servers (no SSL module). Content rules are set to be sticky for srcip. Both CSSs are answering content-based DNS queries for the same URL with their local VIP address (but controlling which DNS server clients query isn't readily possible, so static proximity using DNS didn't provide the answer).
    Each CSS is in a different data center: the idea is to keep traffic local by redirecting non-local traffic to its "local" (the other) CSS if services are active (and to keep traffic on the first CSS if the services at the redirected-to CSS are down).
    Don't want too much, do I? ;-)
    Thanks for everyone's time -
    -K.

  • Providing Access based on Client IP Address

    Current Scenario  -
    SAP Portal is accessible directly and via Citrix (VPN).
    Based on the URL alias - we have implemented Desktop Filtering.
    eg if the URL ends with / internet - You get restricted roles
    eg if the URL ends with / intranet - You get wider roles
    In Production, we also have Netscaler Reverse Proxy and HTTPs settings in place for External (outside firewall) access.
    New Requirement (Example) -
    Based on the IP address of the client, determine which subnet it falls under and based on that -
    If used within Citrix - Provide certain roles
    If not used within Citrix - Restricted access / Redirect to a different URL on the redirect server.
    Questions -
    With the current desktop filtering in place based on URL determination and no specific restriction for inside/outside Citrix access -
    1 - Please suggest which would be a good way to crack this? Inside Portal (IP address determination and SAP Logon modification) / Outside Portal (eg Citrix, Network OS Exit, Reverse Proxy etc) based on Best Practise ?
    2 - Not sure if this is relevant : Find IP address of Client with webdybpro (This API works only in Web Dynpro and not PDK) ? I believe tweaking SAP Logon logic can get very painful  and overtly complicated for such scenarios.
    Thanks for your inputs ~ Dhanz

    Vivek,
    On the coding front -
    1 - Will reading the IP address  in the header field x-forwarded-for retrieve right results if reverse proxy is in place ? Wouldnt it retrieve the proxy / load balancer IP instead of Client IP ?
    2 - Also we have HTTPS settings for extranet access - So encrypted data (eg Client IP ) is transferred that the Web Dispatcher cannot manipulate ?
    Please suggest.
    Remember to be polite
    Edited by: Anja Engelhardt on Jan 27, 2012 11:27 AM

  • HTTP redirect based on client IP

    Hello,
    Is anyone aware of a method to redirect an HTTP request based on the Client IP using ICM/Web Dispatcher?
    The "icm/HTTP/redirect_" parameter doesn't appear to allow you to use the client IP as a criteria for the redirect, and I have not been able to find any other indication of how this might be accomplished on SMP, SDN, or Online Help.
    The goal of this is to perform a protocol switch and redirect all HTTP requests from a specific IP range to HTTPS.
    thanks!
    John

    Just a thought:
    Have two instances of Web Dispatcher, listening on different ports.
    Split incoming connections to different ports, whichever way is available:
    1. Ask you network team to forward request from one subnet to one port and another subnet to another port.
    2. On Windows server use RRAS
    3. On any server use software routing;
    4. Setup routing appliance before the server.
    Not too elegant, but should work...
    Regards,
    Slava

  • Redirect based on source IP address????

    I have a site that I don't want our competitors to view! By
    tracking code, I have managed to obtain their source IP addresses.
    After looking around, there is a .php solution to my problem
    but my host is not well suited to .php files (although it does some
    processing).
    My pages are in .shtml (to process css drop-down menus
    correctly) and I understand that this attached code, if put at the
    top of the page before anything else, will work.
    I have managed to get one working
    http://www.donbur.co.uk/gb/newindex.php
    but am having difficulty getting this code to work elsewhere.
    The problem is, when I try to put this code into either a
    template or as an include, it won't process correctly or the page
    won't render at all.
    Do I have to use .php files or can I insert php script into
    an .shtml document.
    Getting really confused now.... HELP

    Thanks for the constructive advice...
    quote:
    >After looking around, there is a .php solution to my
    problem but my host is not well
    >suited to .php files (although it does some processing).
    What does this mean? Does your hosting plan include php
    support or not?
    You can't just put a php script into any page. It needs to be
    a .php page or you need to reconfigure the server to parse other
    pages for php. But if your hosting plan doesn't support php then it
    won't work in any case.
    My host is BT Internet and they claim not to process .php
    files which is why our main .php site is hosted elsewhere; however,
    it seems that, although it has difficulty (to clarify: doesn't
    render) with main full scripts, it does seem to process simple
    <?php echo commands for example.
    It has been suggested on another forum that the .shtml files
    are set to be recognised by .php in the cpanel but our host will
    not do this...
    Our competitors are not particularly smart or up-to-date and
    this would have been reasonably effective; however, I bow to better
    judgement and close this topic.

  • CSS 11500:Client ip-address visible to the real server

    Is it possible to keep the original ip-address of the client when the the css is redirecting the traffic to the real server. customer needs the client ip-address on the real server for reporting.
    regards
    Dietrich Schleyer

    Dietrich,
    by default the CSS will keep the original client ip address.
    To have the CSS changing the client ip, your customer must have configured a group with 'add destination service'.
    Probably because your client is using a one-armed setup which is the easiest to implement but the worst to use.
    So, your customer should go to a 2-sides CSS design and have the traffic flow through the CSS without the need to do client nat.
    Once the design is correct, you can remove the group and the CSS will keep the client ip address.
    Regards,
    Gilles.
    Thanks for rating.

  • How do I stop Firefox from redirecting me to another site based on my IPS address?

    I work in California. Our corporate offices are in Oklahoma and my desktop computer is set up with an IPS address in OK. When I try to go to the CA website for AAA, Firefox redirects me to the OK website for AAA. How do I stop from being redirected to OK sites when trying to open CA sites?

    hello eajames, sites can show you content and redirect you based on your IP address which will reveal your approximate location - there is not much a browser can do against this...
    http://www.yougetsignal.com/tools/network-location/

  • How to pass client IP address via CSS with SSL offload?

    Hello,
    We use Cisco CSS 11501S to do the SSL offload of web servers in one-armed mode. So we have to SNAT client IP in order to guaranty correct return path via the CSS. In this case web server can see only the IP address of the VIP used for SNAT. If there is a way to pass customer?s IP to the web server - i.e insert customized HTTP HEADER something like HTTP_REMOTEADDRESS:<IP address of the client> - similar to what is possible with BIG IP device for instance?
    Second question if there is a way to get from the CSS access log data similar to what we have in Apache access.log file to be used by Webalizer or similar application to analyze web traffic.

    Scott,
    if you're not doing src nat, the css will spoof the client ip and therefore, there is no need to save the client ip in the http header.
    Gilles.

  • Conditional button based on client's IP address

    i know this is not secured, but ....
    I have little app with no login. It is a documentation for our project, it uses a tree, .... bla bla bla
    nobody can change anything (it is really just a few pages of documentation). I want one, just one, user to be able to edit one form for next few weeks. My idea was to add "SAVE" button and make it conditional based on his IP address or computer name. Is there a way how to do this?
    thanks
    jiri

    Just make the button conditional upon the following PL/SQL expression
    owa_util.get_cgi_env('REMOTE_ADDR')='xx.xx.xx.xx'Best practices: You should create a named authorization scheme with that code (returns true/false to allow/deny access) and attach that scheme to the button and any After-Submit processes that actually does the save.
    Hope this helps.

  • Route call based on source IP address

    Hello Guys,
    Is there a way to route calls based on source IP address?
    I want to redirect calls to specific queues based on the ip of the phone who's starting it.
    Any ideas?
    Thanks in advance.
    Filipe Leite                  

    Hi Filipe
    I'm assuming here that you are using CallManager rather than CME?
    One option might be to use the 'device mobility' feature to assign a specific CSS to devices based on their IP subnet. That CSS could have the appropriate partitions to route to a seperate trigger that directs calls to a separate CSQ.
    Of course, whether you can do this depends on whether it would be appropriate to override the device CSS in this way.
    Aaron

  • Redirect based on list of source IP ranges

    Hi everyone
    We are looking for a way to 302 redirect a client to an alternate url based on their source IP address. If they do not match the source IP, the request will be load balanced to a farm.
    The list of matching IP ranges is quite large though - there are upwards of 5000.
    Is there a way to do this on the ACE 4710 efficiently?
    Thanks
    A

    Yes, you can use an HTTP class-map
    Scimitar1/User1(config)# class-map type http loadbalance redirect_clients
    Scimitar1/User1(config-cmap-http-lb)# match source-address ?
        Enter client source address to match
    Then you can use this class-map in your policy-map to use different serverfarm
    Scimitar1/User1(config)# policy-map type load first-match WEB
    Scimitar1/User1(config-pmap-lb)# class ?
      class-default     Specify actions for default class-map
      redirect_clients
    Scimitar1/User1(config-pmap-lb)# class redirect_clients
    Scimitar1/User1(config-pmap-lb-c)#
    <.....add your redirect serverfarm here ......>
    Scimitar1/User1(config-pmap-lb-c)# ex
    Scimitar1/User1(config-pmap-lb)# class class-default
    Scimitar1/User1(config-pmap-lb-c)#
    <.... add your loadbalancing serverfarm here .....>
    This is going to be a bit tedious to configure your 5000 client ip addresses.
    Maybe you could script it ?
    Gilles.

  • CSS Redirect message

    Hi,
    I have 2 services configured on my only CSS.
    What I will like to do is , if both services become unavailable then it will display a message like " services down" we can host this message on diffrent web server.Please help me how to do this, does I have to add the ip address or URL of the server where this warning message host?
    current config.
    service test01
    ip address 10.253.20.17
    keepalive type tcp
    keepalive port 443
    active
    service test02
    ip address 10.253.20.18
    keepalive type tcp
    keepalive port 443
    active
    !*************************** OWNER ***************************
    owner Hello
    content Hello-SSL
    vip address 10.253.20.14
    add service test01
    add service test02
    advanced-balance sticky-srcip
    sticky-inact-timeout 35
    active

    All you need to do is create another service with a type of redirect as shown:
    service test-down
    type redirect
    ip address x.x.x.x -some unused IP address
    redirect-string "serverdown.com"
    active
    Then in your content rule just add this new service. The default behavior of the CSS is to send traffic to any services of type local (which is what the default service type is). And if all local services are down it will send the redirect to the client which will ofward them to a page of your choosing.

  • Role based on Client IP

    Hi all. A customer would like to assign a role to users based on their
    IP address. I've taken a look to the Developer Kit and I've seen the
    Client IP is available only for Authentication Condition and not for
    Role Condition.
    Is there another way to achieve this? Thanks,
    Alessandro
    afolli
    afolli's Profile: http://forums.novell.com/member.php?userid=6964
    View this thread: http://forums.novell.com/showthread.php?t=382220

    Hey the other post will help you. Put the getSelectItemList method in your backing bean and bind the selectItemsList to your drop down in the jspx. That should work.

  • Re-direct based on source ip address

    Dear all,
    i wish to redirect url traffic to another server based on their ip address. We currently have sharepoint server and was hoping to utilise it facilities to redirect to another server. https://www.abc.com to
    http://www.abc.com/def 
    we have iis7 runnin in the backgroup if that help.. Would iis be a better choice? 
    Thanks in advance..
    N DHANRAJ

    Hi Dhanraj,
    I understand that you want to redirect the url from
    https://www.abc.com to http://www.abc.com/def, you can try URL Rewrite rules to achieve this goal.
    Here are some posts about this topic, you can take a look.
    http://stackoverflow.com/questions/22182087/iis-rewrite-rule-to-redirect-specific-domain-url-to-different-url-on-same-domain
    http://social.technet.microsoft.com/wiki/contents/articles/23074.sharepoint-2013-url-rewrite.aspx
    Supportability of Rewrite and Redirects with SharePoint 2007/2010/2013
    More about the IIS redirect, I would recommend you post in IIS forum below, there will be more experts assisting on this issue.
    http://forums.iis.net/t/1153050.aspx?URL+Rewrite+for+SSL+redirection
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Retreiving the soap client ip address

    Am using Websphere Application Developer to create a web service. I wanted to authenticate the webservice client based on the ip address of the client. Please help me out in doing this.

    Are you setting this up with a single pc connected to it? If so, go to a command prompt and type in:
    ipconfig (if using win XP)
    winipcfg (if using 98)
    what is the IP address ?

Maybe you are looking for

  • Oracle 11g install for WinXP 64-bit - is 32-bit client needed?

    I just saw that the WinXP 64-bit version of 11g is now available. Does anyone know if it is necessary to install both the 64-bit Database and 32-bit Client on the same machine for a development server. This was the procedure for 10gR2 as the 64-bit O

  • Not able to read wsdl file

    Hello, I created a method in AM AMImpl.java class. For that method i created a service interface. In service interface folder i tested web service serviceImpl.java file. But it is unable to read the wsdl document. This might be the reason why i am un

  • Help Needed to import package

    Hi, I am developing a JAVA project following Graphical Editing Framework in Eclipse. I have 3 packages ( in order of build) - ProcessModel, Process Editor and Application. I am trying to import application package and use its class in Process Model.

  • JTable in JTabbed Pane

    Hello, I am wondering is there anyway to create a Table View and attache that to a tab in a tabbed pane? I am confused, because always Table extends from JFrame. (It seems like it is a stand alone application). If I create the table this way, how can

  • Css not found after import

    hello, i import my application from htmldb.oracle.com to my vmware machine. it's all went good just it doesn't find the css file. when i check the css file from htmldb.oracle.com it's located at: http://htmldb.oracle.com/pls/otn/wwv_flow_file_mgr.get