chiew yock sang wrote:
when i do ps aux, in the command line shows, /usr/sbin/openvpn --daemon --writepid /var/run/openvpn.... (the rest can't be seen).
This means that openvpn is already running, so any attempt to start another instance (which is using the same config) will fail.

when i do netstat, it shows,
netstat: no support for 'AF INET6 (tcp)' on this system
netstat: no support for 'AF INET6 (udp)' on this system
netstat: no support for 'AF INET6 (raw)' on this system
Well "netstat -an" should produce more relevant results.

where is the init-script? Is it in /etc/shorewall/init?
No - it's in /etc/init.d, where all init-scripts reside. To start openvpn, you'd do
/etc/init.d/openvpn start


and to stop if
/etc/init.d/openvpn stop

There's also a "shortcut", so you don't have to type the /etc/init.d all the time - "svi openvpn start" and "svi openvpn stop" work as well

In short, never start a daemon "by hand" (by starting the executable directly) but always use the init-scripts - that is, unless you know what you're doing. After every change to the config file, you'll need to do a "svi openvpn restart" in order for those changes to take effect. This is nothing specific of openvpn, but simply the way things work on most linux distros (on RedHat, "svi" is called "service", but that's the only difference).

Martin




------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to