How to force dg4msql to use a specific port

I've configured an Oracle Database Gateway (Linux RHEL 5) to connect to my SQL Server boxes, but have a host based firewall (on the Linux box) in between them. Sniffing shows that the communication to port 1433 comes from a range of port numbers on the Linux box. Is there a way to force 'dg4msql' to only use a specific port?
Removing the host based firewall is not an option, nor is opening up total communication between the two machines. Hopefully 'dg4msql' can be configured to use a specific port.

Hi,
It isn't possible to configure the gateway to onlyuse specific ports.
This is not just a gateway issue but the way that SQL*Net works and you should see the same problem connecting from one Oracle database to another through a firewall.
The only workround is to use a firewall which is SQL*Net compliant or a firewall which will limit the number of ports to a certain application.
You could also review this note -
Oracle and Firewalls: Answers to Frequently Asked Questions (Doc ID 2084440.6)
Regards,
Mike
Edited by: mkirtley on Mar 2, 2010 8:45 AM

Similar Messages

  • [help] How to limit gnome started using a specific resolution?

    TV via vga interface, the default will use the 1920 * 1080 resolution, however, when the TV will prompt "mode is not supported"! Tests found under Windows supports up to 1280 * 1024, another big mistakes!
    Ask, gnome how to limit starts to use a specific resolution?
    Thank you!

    Please remove the "[help]" from your title.  All threads in that subforum are requests for help.  The inclusion of things like that, "please help", etc are both unnecessary and somewhat irritating to many members of this community.  It is not required that yu remove it, but I would strongly recommend it.

  • How can I control instrument using its RS232 port in VB or VC++?

    1)How can I control instrument using its RS232 port in VB or VC++?
    2)What's the module or .h file need I add-in to VB or VC++?
    3)Can you provide me some easy examples for that?
    Thanks!

    Kevin,
    I've used Measurement Studio - Tools for Visual Basic and Tools for Visual C++ (ActiveX component) for instrument control.
    I've used both the VISA and non VISA versions and they are pretty straight forward to use for GPIB, Serial or VXI.
    You might find the following page useful.
    http://www.ni.com/mstudio/cworks.htm#ICC
    Regards,
    Kamran

  • SRW2024 - Forcing clients to use a specific IP address (based on port)

    With the SRW2024 managed switch, is it possible to force a client computer connected to a port to use a specific IP address (for example 192.168.1.30) and if the client tries to configure any other address which is not 192.168.1.30, the traffic is dropped and they essentially cannot access any LAN or internet resources? 
    Basically what I would like to do is associate an IP address with every port on the switch.  It sounds like this would be possible using the IP based access control feature, however I wanted to confirm. 
    Thank You
    Message Edited by RedWarrior on 12-05-2008 11:49 AM

    Well, I have contacted three different stores asking which hardware version they have in stock, (even providing instructions on how they can check)... Two of the three stores said they didn’t know what I was talking about and couldn’t check it for me, and the third one actually told me to contact Linksys and ask them... as if Linksys is supposed to know which hardware version their store carries!
    So I guess I will have to ask once more if anyone here knows how long hardware version 1.2 (for srw2024) has been out?

  • How to determine which locale uses the specific process

    Hi,
    I would like to get to know which locale uses the specific process.
    I mean that when the process starts it should use the current system locale.
    Where I can check that information which locale are used by the running process?
    I ask because I would like to make sure that for example when the locale are French or Japanese the process/deamon use the current locale.
    Kind regards,
    Daniel

    VivaLaVida wrote:
    Hi,
    currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.It could have been even easier by turning on the built-in audit feature.
    If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?audit would be a good choice.
    Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).Not sure what developer will do with used/not used application.
    To enable auditing would be one choice to figure out if an object was ever used or not. What's wrong in auditing ?
    Even though audit may have a footprint on performance, that would probably be less costly than any custom solution.
    Nicolas.

  • How to force RH9 to use only one master stylesheet for all Word imports?

    I have set a stylesheet (css) as the default for my RH9 WebHelp project in project settings. When I import Word documents into the project, the edit import setting dialog does not show this stylesheet in the list of available stylesheets for the import.
    What is happening instead is a proliferation of unwanted stylesheets derived from all the imported documents. I then have to manually re-set all the new topics to the master stylesheet.
    How can I stop this, and force RH9 to use only the one master stylesheet for all imports?

    cid:[email protected]
    Hi Peter,
    That’s what I thought I was doing in the Project Settings>Import tab>CSS for Style Mapping selection. Maybe that isn’t what it’s meant to do. It’s just getting annoying having all these unneeded files popping up in the project manager so that I have trouble distinguishing the “real” topics from the extra stuff.
    Michael West | Business Improvement | Aurecon
    Ph: +61 3 8683 1996 | Fax: +61 3 8683 1444 | Mob: 0407 485 228
    Email: [email protected]
    PO Box 321, South Melbourne | VIC 3205 | Australia
    http://www.aurecongroup.com
    http://www.aurecongroup.com/apac/groupentity/

  • How do I "Block Downloads/Use of Specific Services"

    Here it says it's possible to block downloads or use of specific services through My Verizon.
    http://support.verizonwireless.com/information/blocks_comparison.html
    However the FAQ seems to be outdated, and I can't figure out how to do this. Where do I go to block downloads/use of specific services?

    Hi robotwi:
    I can see where you're coming from regarding the confusing steps in the link you provided.  To view available blocks, you can sign into My Verizon as the account holder.  Underneath Plan, choose Change Features, select the line you want to modify the features on, press Next, at the top, click on View all features and services, choose the blocks you need and press next.  Review the summary before pressing submit.
    If you can't find the options that you need, you can DM me directly (representatives have additional blocks available that may not be provisioned online).  You can also make a  quick call to customer service at 800-922-0204.  Let me know if that answers your question.
    Regards,
    MikeS_VZW
    Follow us on Twitter @VZWSupport

  • Query tuning and how to force  table to use index?

    Dear Experts,
    i have two (2) question regarding performance during DRL.
    Question # 1
    There is a column name co_id in every transaction table. DBA suggest me to add [co_id='KPG'] in every clause which forces query to use index, resulting immediate processing. As an index was created for each table on the co_id column.
    Please note that co_id has constant value 'KPG' through out the table. is it make sense to add that column in where caluse like
    select a,b,c from tab1
    where a='89' and co_id='KPG'
    Question # 2
    if i am using a column name in where clause having index on it and that column is not in my column list does it restrict query for full table scan. like
    select a,b,c,d from tabletemp
    where e='ABC';
    Thanks in advance
    Edited by: Fiz Dosani on Mar 27, 2009 12:00 PM

    Fiz Dosani wrote:
    Dear Experts,
    i have two (2) question regarding performance during DRL.
    Question # 1
    There is a column name co_id in every transaction table. DBA suggest me to add [co_id='KPG'] in every clause which forces query to use index, resulting immediate processing. As an index was created for each table on the co_id column.
    Please note that co_id has constant value 'KPG' through out the table. is it make sense to add that column in where caluse like
    select a,b,c from tab1
    where a='89' and co_id='KPG'If co_id is always 'KPG' it is not needed to add this condition to the table. It would be very stupid to add an (normal) index on that column. An index is used to reduce the resultset of a query by storing the values and the rowids in a specified order. When all the values are equal and index justs makes all dml operations slower without makeing any select faster.
    And of cause the CBO is clever enough not to use such a index.
    >
    Question # 2
    if i am using a column name in where clause having index on it and that column is not in my column list does it restrict query for full table scan. like
    select a,b,c,d from tabletemp
    where e='ABC';
    Yes this is possible. However it depends from a few things.
    1) How selective this condition is. In general an index will be used when selectivity is less than 5%. This factor depends a bit on the database version. it means that when less then 5% of your rows have the value 'ABC' then an index access will be faster than the full table scan.
    2) Are the statistics up to date. The cost based optimizer (CBO) needs to know how many values are in that table, in the columns, in that index to make a good decision bout using an index access or a full table scan. Often one forgets to create statistics for freshly created data as in temptables.
    Edited by: Sven W. on Mar 27, 2009 8:53 AM

  • How do i configure telnet service to use a specific port number

    How do I configure a specific port number to the telnet service other than the default port number.  I opened /System/Library/LaunchDaemon/telnet.plist with XCode but it won't let me modify the port number.  Is there another place / item that I need to go to?

    Telnet is obsolete and insecure. Use ssh instead.

  • Satellite C55- how to force games to use gforce GPU?

    Hello,
    it seems that I have 2 graphic cards on my Satellite C55: an Intel 4000 and a gforce 740m. I tried to force games to use the gforce on nvidia control panel but in the games settings (for example in the material tab of flight simulator 2004), only the Intel is shown.
    Any idea how to solve that?
    Thanks

    >it seems that I have 2 graphic cards on my Satellite C55: an Intel 4000 and a gforce 740m.
    The Intel GPU is part of the Intel CPU
    The nVidia GeForce is the external graphic card and it can be used for heavy performance application like games
    Check these youtube videos how to do that:
    https://www.youtube.com/watch?v=WVBEPhE_Osg
    https://www.youtube.com/watch?v=Zh4HCadTY_A
    You can assign any application to use either the intergraded Intel card or the dedicated nVidia GPU.
    This can be done in the nvidia control panel.
    1. Click Start and then Control Panel. Select Classic View from the left side of the window.
    2. Double-click NVIDIA Control Panel.
    3. Click View and next Add "Run with graphics processor" Option to Context Menu. Close the NVIDIA Control Panel.
    4. Right-click the application title and select Run with graphics processor. Then, click High-performance NVIDIA processor.

  • How to find the memory used by specific session in oracle

    Hi,
    Would require your help to find memory used by specific session/connection in oracle using any query.
    **Regards**
    **Vijay Salian**

    Hi Girish,
    which column we have to look at the at in the below ouptut to find the actual memory used by oracle session in our case as mentioned dedicated in ourcase????
    SID Oracle User O/S User Session Program Machine PGA Memory PGA Memory Max UGA Memory UGA Memory MAX
    3 oracle oracle@alex (LGWR) alex 5,526,516 5,526,516 77,956 77,956
    9 oracle oracle@alex (ARC0) alex 4,500,080 4,500,080 77,956 77,956
    10 oracle oracle@alex (ARC1) alex 4,500,080 4,500,080 77,956 77,956
    11 SYSTEM oracle sqlplus@alex (TNS alex 3,403,988 4,780,244 77,956 1,400,476
    2 oracle oracle@alex (DBW0) alex 2,488,624 2,488,624 77,956 77,956
    4 oracle oracle@alex (CKPT) alex 1,359,484 1,359,484 77,956 77,956
    17 SCOTT oracle sqlplus@alex (TNS alex 577,512 708,584 339,812 339,812
    5 oracle oracle@alex (SMON) alex 499,704 499,704 77,956 77,956
    8 oracle oracle@alex (QMN0) alex 475,596 541,132 274,348 274,348
    19 SCOTT oracle sqlplus@alex (TNS alex 454,964 454,964 143,420 143,420
    6 oracle oracle@alex (RECO) alex 237,024 237,024 77,956 77,956
    1 oracle oracle@alex (PMON) alex 228,512 228,512 77,956 77,956
    7 oracle oracle@alex (CJQ0) alex 228,512 228,512 77,956 77,956
    13 rows selected.
    Regards
    Vijay

  • How to force user to use program?

    I have designed a java app that starts as soon as you log on to a Windows NT client. The application asks the user for a project number. After the user types in a valid project number, the application hides. When the user logs off, or does a shutdown, the application writes info to a file about about how long this user used the PC, and for which project number he or she did that. When a user does not enter a project number and tries to close the application, the system will automatically shutdown. I can hide the windows taskbar by using a big size for the application frame.
    My question is, how can I make sure that the user does not simply ignores the program by using the windows key, or ctrl-Esc to launch the windows start menu? Someone out there who has an idea? Thanks in advance!

    To disable all Windows keyboard shortcut keys, save the following text in a REGINI script called Disable_wins.ini. Run
    the script from the Windows NT command prompt. For example, from the C:\users\default> prompt, type regini
    disable_wins.ini. Restart the computer to make the changes take effect.
    [REGINI SCRIPT STARTS HERE:]
    ; This mapping is used to turn both Windows keys off
    \Registry\Machine\SYSTEM\CurrentControlSet\Control\Keyboard Layout
    Scancode Map = REG_BINARY 24 \
    0x00000000 0x00000000 3 \
    0xE05B0000 0xE05C0000 \
    0x0
    ; Here is an explanation of all the values:
    ; 24 Size of the scancode map including header, in bytes
    ; 0x00000000 Header : Version
    ; 0x00000000 : Flags
    ; 3 : Number of entries (includes null terminator)
    ; 0xE05B0000 left Windows -> nul (0xE0 0x5b -> 0x00)
    ; 0xE05C0000 right Windows -> nul (0xE0 0x5c -> 0x00)
    ; 0x00000000 null terminator
    [REGINI SCRIPT ENDS HERE]

  • Force Windows to use a specific certificate instead of another (802.1x)

    Hello guys,
    I have two user certificates that can do Client Authentication. One is for Lync 2013 (issued by Communication server) and one issued by our Root CA (for 802.1x authentication). Every time i try to connect to our network (wired or wireless). I got prompted
    to select the proper certificate. I saw multiple of threads talking about this but no one seems to have an idea how to get rid of this. I check the ''Use simple certificate selection'' but i still have the prompt message to choose between the two certificates.
    Thank you!

    Hi,
    Have you tried to manage the certificates in Control Panel\Credential Manager?
    Under Windows Credentials, click "Add a certificate-based credential", type your network address and choose a certificate.
    For ''Use simple certificate selection'' , see this
    http://social.technet.microsoft.com/Forums/windows/en-US/4b5f6dc7-72c6-476f-893c-cb68c52f1001/choosing-a-client-certificate-to-present-for-8021x-authentication?forum=w7itpronetworking

  • How to force Mail to use Mail Drop on 15MB attachment?

    The recipient of an email message I composed has a maximum message size of 10MB. I am trying to send an attachment that is 15MB. Mail on Yosemite does not use Mail Drop unless the message is about 20MB or more. The message is being returned by the receiver's mail system because the message is 15MB and it exceeds their maximum of 10MB.
    Is there a way, a user default maybe that can be entered in the Terminal app to force Mail on Yosemite to send my message using Mail Drop?
    It would be nice if Mail on Yosemite recognized the email being returned and prompt you for a chance to resend using Mail Drop.

    That stinks!, thanks for the update.
    H

  • Sqldeveloper and multiple homes - how to force it to use included jdbc

    Hello,
    I'm having a hard time to get Sqldev 1.5 working with a WE8MSWIN1252 database on windows system that has also a 10.2.0.3 home installed.
    It looks like it's then not using the own jdbc but the 10.2.0.3 thin jdbc found in the Oracle home - running into bug 4659157 - euro symbol and other 1252 characters have problems .
    Can I enforce Sqldeveloper 1.5 to use the included 11.1.0.6 jdbc drivers?
    Regards,
    Gunther

    Hi -K-,
    I have 2 homes in my machine:
    9i - "C:\oracle\ora92\"
    10 - "C:\oracle\product\10.2.0\client_1\"
    In each tnsnames.ora file in "\network\admin\" dir in each home, set up their services to point to the correct server: where 9i or 10g.
    Now, when I set up, as you said:
    91 echo home
    set ORACLE_HOME = C:\ oracle\ora92\
    start sqldeveloper.exe
    Failed, because when I create a connection of TNS type, it is only see the service tnsnames.ora file located in the home 10.
    Any other suggestions?
    Thank you in advance.

Maybe you are looking for