Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-14-2011, 02:12 AM
seesea's Avatar
seesea seesea is offline
Registered User
 
Join Date: Jun 2010
Posts: 20
Question How to connect in script using a firewall

Hi,
My version is 5.5, I have a firewall settings named "MyFirewall" in global options, how can I specify it in my script? Or can I specify the firewall settings instead of the firewall name?

I'v tried the following ways, but didn't work...
  1. firewall in script
    start.bat
    Code:
    SecureCRT.EXE /SCRIPT script.js
    script.js
    Code:
    ...
    crt.session.ConnectInTab("/FIREWALL /SSH2 /ACCEPTHOSTKEYS /L .. /PASSWORD .. /P .. MyIP")
    ...
  2. firewall in command
    start.bat
    Code:
    SecureCRT.EXE /FIREWALL /SCRIPT script.js
    script.js
    Code:
    ...
    crt.session.ConnectInTab("/SSH2 /ACCEPTHOSTKEYS /L .. /PASSWORD .. /P .. MyIP")
    ...

Thanks for help.
ss
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:49 PM.