Sponsored Content
Full Discussion: Testing VPN Connection
Top Forums Shell Programming and Scripting Testing VPN Connection Post 74610 by mipsv on Friday 10th of June 2005 04:56:15 PM
Old 06-10-2005
try expect

I have to admit that expect seems the easiest way to go (after you set up, config, etc). Im not sure this is really the best link but it will get you started.
http://expect.nist.gov/
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Testing ssh connection from KSH script

Hi. I have a kornshell script that runs on a daily basis as a cron job. Part of what the script does is copy the folder contents from another server to the current server (server where KSH script is running). I have a scp command, as follows: scp $REMOTE_HOST:$REMOTE_FILE_DIR/* $TMP_DIR ... (8 Replies)
Discussion started by: dmilks
8 Replies

2. Solaris

Testing physical network connection

How do you test the physical network connection of an interface in solaris. I know that if you have an active connection and the cable gets yanked, you can look in the messages file to check for link failure messages. But is there any better way to see if you have good layer 2 connectivity? (1 Reply)
Discussion started by: tjlst15
1 Replies

3. Shell Programming and Scripting

testing a dhcp connection

Hi there, I have a computers that has a fixed address : terminal48:~# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo... (1 Reply)
Discussion started by: chebarbudo
1 Replies

4. IP Networking

VPN Connection

Hello, I have question about VPN connection thats, I have two networks 1-Office Network 2-Home Network both are connected to internet i have in Office network PPTP VPN Server with real or static ip and on the home network all clients working with local ip Now , I need to connect to... (3 Replies)
Discussion started by: LinuxCommandos
3 Replies

5. Shell Programming and Scripting

Testing connection with a script

I have a box that has to start dhcpd when a certain connection is down and stop the dhcpd when the connection is up again. I would appriciate any help making this script: From server A: ping server B if connection is ok then do nothing if connection is not ok then start dhcpd until... (8 Replies)
Discussion started by: KimJensen
8 Replies

6. SCO

Printing to Windows 7 using Samba 2.0.3 via VPN connection to SCO 3.2v5.0.6

I would like to know if anyone has a way to PRINT TO a printer attached to a Windows 7 PC, from SCO, while logged in via a VPN connection. I am able to attach to a Samba share on the SCO server for files while attached to the VPN, so I know my Samba is workling - but my print jobs return: ... (2 Replies)
Discussion started by: tbb999
2 Replies

7. Shell Programming and Scripting

testing postgres connection in shell script

I have a script that does db query in postgres. I'm trying to put in some error checking in the script. I keep running into the password prompt problem where when invalid credentials/or database is put it, it would prompt me for a password which hangs the script. Is there a way that I can check for... (0 Replies)
Discussion started by: zerofire123
0 Replies

8. IP Networking

Cisco VPN server and client - connection drop

I have a Cisco 1841 router configured as Easy VPN Server. Here is the configuration of the router: Cisco# Cisco#show running-config Building configuration... Current configura - Pastebin.com I have a Centos 5.7 server with installed Cisco VPN client for Linux. The client successfully... (0 Replies)
Discussion started by: rcbandit
0 Replies

9. Cybersecurity

VPN Initial Connection Problem

Hey everyone. I have a problem, but it may be my lack of understanding that is the cause. Ok so I attend a technical school, and needless to say there's a lot of wannabe hackers, pranksters and what not. So from my laptop I'd like to connect to the wireless AP's around campus, but security is a... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

10. IP Networking

Internet connection single interface through vpn

Hi. Can you please help me with a routing problem? There are 2 networks: 192.168.10.0/24 (eth0) 192.168.11.0/24 (eth0:1) The default gateway is 192.168.10.1 iPv4 routing is already enabled and working. With vpnc I've built up an VPN connection and can access my home network... (0 Replies)
Discussion started by: tschmi
0 Replies
RACOON-TOOL(8)						      System Manager's Manual						    RACOON-TOOL(8)

NAME
racoon-tool - program to manage the racoon(8) IPSEC IKE daemon. SYNOPSIS
racoon-tool [-h] reload|restart|force-reload|start|stop racoon-tool [-h] sadflush|spdflush|saddump|spddump racoon-tool [-h] vpndown|vdown|vpnup|vup connection-name|all racoon-tool [-h] vpnreload|vreload connection-name|all racoon-tool [-h] vpnlist|vlist [connection-name|all] racoon-tool [-h] vpnmenu|vmenu [connection-name-regexp] racoon-tool [-h] racoonstart|racoonstop|rstart|rstop DESCRIPTION
This manual page documents briefly the racoon-tool command. racoon-tool(8) is a perl script that can be used to control the racoon(8) IKE daemon and the SPD database within the kernel via the setkey(8) command. Various operations that it can do are described below. You can also optionally choose not to use it via reconfiguring the racoon package using dpkg-reconfigure(8). OPTIONS
A summary of options are included below. -h Show summary of options. COMMANDS
start Start racoon(8), loading any needed modules, configuring the SPD, and generating a configuration from /etc/racoon/racoon-tool.conf (head) and following up with *.conf files from /etc/racoon/racoon-tool.conf.d/. stop Stop racoon(8) unloading any crypto/IPSEC modules, flushing the SAD and SPD. reload Regenerate configuration from /etc/racoon/racoon.conf, and /etc/racoon/racoon.conf.d/, HUP racoon(8) and reinitialise the SPD and SAD. restart|force-reload Perform a stop followed by a start sadflush Flush the SAD via setkey(8). spdflush Flush the SPD via setkey(8). saddump|dump Dump the SAD to screen via setkey(8), paginating via your pager. spddump Dump the SPD to screen via setkey(8), paginating via your pager. vpnup|vup connection-name|all Bring up the VPN connection(s). vpndown|vdown connection-name|all Take down the VPN connection(s). vpnreload|vreload connection-name|all Reload the VPN connection(s). vpnlist|vlist [connection-name|all] List the known VPN connections in /etc/racoon/racoon-tool.conf, etc. Can be used by a script or administrator to see if a VPN con- nection exists. vpnmenu|vmenu [connection-name-regexp] Start the VPN menu management mode. This displays the SPD, and you can shutdown VPNs from here. Latter on support will be added for checking status and reloading the chosen connection. racoonstart|rstart Start only the racoon(8) daemon. racoonstop|rstop Stop only the racoon(8) daemon. FILES
/etc/racoon/racoon-tool.conf - configuration file (head). /etc/racoon/racoon-tool.conf.d - configuration file segment directory read after the above. /var/lib/racoon/racoon.conf - generated racoon.conf SEE ALSO
racoon(8), racoon.conf(5), setkey(8), racoon-tool.conf(5). AUTHOR
This manual page was written by Matthew Grant <matthewgrant5@gmail.com>, for the Debian GNU/Linux system (but may be used by others). RACOON-TOOL(8)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy