cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
0
Helpful
4
Replies

Updating PIX 501 programmatically thru VB.Net

jwbutler123
Level 1
Level 1

My situation is my customers travel all the time so their ip's are rarely the same unless they are docked at home station. I would like our application to see if they are on an ip that has access and if not to send a request to add their current ip to the authorized list. A service running on our server would pick up and verify the request then update the firewall's access list. Is there a way to programmatically update the configuration using VB.Net?

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

John

Not familiar with VB.Net but any language that can telnet into a device and then send commands would allow you to do what you want. Certainly something like Expect using TCL or PERL have ways of achieving what you want to do so if the worst came to the worst you could call an Expect or PERL script on the server.

Does VB.Net have the ability to telnet to a device and then send strings to the device ?

Jon

Thanks for the input. I'm not sure if .Net has a class that does telnet functionality but if it doesn't I'm sure someone has written something. Do you know of a book on pix 501 commands or any other resource that would help me?

John

There are the pix configuration guides and command references -

Configuration guide -

http://www.cisco.com/en/US/docs/security/pix/pix63/configuration/guide/config.html

Command reference -

http://www.cisco.com/en/US/docs/security/pix/pix63/command/reference/cmdref.html

You can allow access to pix in a number of ways. What were you planning to do ? Allow them to access from the outside or were they going to connect to an internal server and then connect back to the inside of the pix ?

If they connect from outside you cannot use telnet to give them access.

Jon

Yes, my plan is to allow access from an outside ip to and internal ip\port.

John

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: