LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2010, 08:41 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Question Openvpn: where do I put the bridge startup scripts?


I'm running Fedora 13. I need to execute scripts to setup the bridge after openvpn is restart. Where do I put the scripts? How do I get openvpn to execute them?
 
Old 09-13-2010, 05:32 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by MikeyCarter View Post
I'm running Fedora 13. I need to execute scripts to setup the bridge after openvpn is restart. Where do I put the scripts?
Anywhere you want but I suggest you put it in /etc/openvpn.
Quote:
Originally Posted by MikeyCarter View Post
How do I get openvpn to execute them?
No, you must execute it seperately, follow this sequence:
- run bridge-start
- start vpn
- stop vpn
- run bridge-stop

http://openvpn.net/index.php/open-so...-bridging.html
 
Old 09-13-2010, 07:08 AM   #3
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
Solved.

Finally found it: /etc/openvpn/openvpn-startup

That's executed when the program starts. I found it in the fedora 13 /etc/init.d/openvpn script. Don't know if it's in all distributions though.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error When converting Routing OpenVPN to bridge mode openvpn danmartinj Linux - Software 0 11-06-2009 09:23 AM
OpenVPN bridge problem acetone802000 Linux - Networking 2 05-18-2007 04:31 AM
where to put "global X startup" scripts? minike Slackware 6 03-10-2007 03:15 PM
LXer: How to bridge networks with OpenVPN LXer Syndicated Linux News 0 11-22-2006 04:03 AM
How to put scripts in the startup..? balavignesh Linux - Software 1 08-28-2006 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration