Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] sqlplus through VPN not work, but tnsping work
Tnsping and sqlplus both use port 1521, so if tnsping works, sqlplus should work. The fact that it isn't working suggests an MTU issue. Look at your ping documentation for your OS for how to increase packet size (on Linux its -s) and try sending some larger ping packets (like 500 bytes, 800 bytes, 1200 bytes) and see if they get through. If they don't, and normal pings do, you need to get your network administrator involved.
Thanks,
Matt
-- Matthew Zito GridApp Systems Email: mzito_at_gridapp.com Cell: 646-220-3551 Phone: 212-358-8211 x 359 http://www.gridapp.com On Dec 16, 2004, at 7:39 AM, Branimir Petrovic wrote:Received on Thu Dec 16 2004 - 08:45:58 CST
>
>> I tried to access our ORACLE server through VPN. The
>> problem I have is "sqlplus" not work, but tnsping
>> work. Network engineer told me he did open port 1521
>> for me.
>>
>
> This sounds like there might be a firewall involved somewhere
> between VPN server you connect to and your internal network?
> If that truly is the case, opening port on internal firewall
> (between VPN server and internal network) for port 1521 ain't
> gonna cut it as only initial connection is established via this
> port and random dynamic port is used for each and every session
> (and opening firewall on port 1521 before VPN server would be
> inconsequential/wrong thing to do).
>
> Without firewall between VPN "edge-box" and your LAN, SQL*Plus
> should (must) "goe through" just fine...
>
> Lots of ifs so far, nevertheless I'll throw one more:
> if your Oracle server is Windows box, and if interfering
> firewall is not "SQLnet aware" (can not be configured to
> gracefully treat dynamic port feature of SQL net protocol),
> you might want to look for Metalink note 124140.1
>
> Branimir
> --
> http://www.freelists.org/webpage/oracle-l
-- http://www.freelists.org/webpage/oracle-l
![]() |
![]() |