
are u sure of this?the init scripts will start a new instance of OpenVPN for each conf file in /etc/openvpn



Code: Select all
ln -sf /etc/init.d/openvpn /etc/init.d/openvpn.RAS
ln -sf /etc/init.d/openvpn /etc/init.d/openvpn.leeds-manchesterThat would be menobspangle wrote:which fool decided to change this.
Checkout portage-2.1_pre series - it supports the PORTAGE_ELOG_* stuff that makes logging and reviewing easier.for the most part the info at the end of ebuilds is a waste of time, unless you sit there and watch your packages compile. This information should be logged to the emerge.log so you can review it easily later.
UberLord wrote:Ahh... Now I have a direction to direct my grumbling.nobspangle wrote: That would be me![]()
![]()
So, is the openvpn config de jour a result of multiple personalities, indecision nor infighting among developers?Sorry, just had to say something, the regular changes have been making me very wary of upgrading certain machines.
On a more serious note, is the current setup likely to stick for a while? Should I go ahead and switch to it with some expectation of it being the standard approach?
Uh oh!Raffi wrote:Ahh... Now I have a direction to direct my grumbling.![]()
Simply the case that openvpn has changed maintainers a fair few times and each maintainer as a different view to solving bugs. IMO at least 2 bugs could not have been fixed without the current script.So, is the openvpn config de jour a result of multiple personalities, indecision nor infighting among developers?Sorry, just had to say something, the regular changes have been making me very wary of upgrading certain machines.
The counterpoint is that work still needs to be done, but the current config setup and layout is now "fixed" for as long as I'm the maintainer.On a more serious note, is the current setup likely to stick for a while? Should I go ahead and switch to it with some expectation of it being the standard approach?
How would I accomplish this exactly?It is recommended that you create your tun/tap interfaces using"
"the net.tun0/net.tap0 scripts provided by baselayout instead of"
"using the 'server' directive in openvpn configuration files."
"This will insure that the interface really is up after openvpn"
"starts."
"Note that you cannot use net.tun0/net.tap0 and the server option,"
"otherwise openvpn will not start."
Code: Select all
/sbin/ifconfig tun0 172.24.1.1 pointopoint 172.24.1.2 mtu 1500
/sbin/route add -net 172.24.1.0 netmask 255.255.255.224 gw 172.24.1.2
Code: Select all
config_tun0=("172.24.1.1 pointopoint 172.24.1.2")
Code: Select all
routes_tun0=( "172.24.1.0 netmask 255.255.255.224 gw 172.24.1.2" )
Code: Select all
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.24.1.1 P-t-P:172.24.1.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:426 errors:0 dropped:0 overruns:0 frame:0
TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:27196 (26.5 Kb) TX bytes:28180 (27.5 Kb)
Code: Select all
# OpenVPN TUN interface
config_tun0=( "172.24.1.1 pointopoint 172.24.1.2" )
routes_tun0=( "172.24.1.0 255.255.255.224 via 172.24.1.2" )
Code: Select all
* Starting tun0
* Creating Tun/Tap interface tun0 ... [ ok ]
* Bringing up tun0
* 172.24.1.1 [ ok ]
* Adding routes
* 172.24.1.0 255.255.255.224 gw 172.24.1.2 ... [ !! ]
Code: Select all
tun0 Link encap:Ethernet HWaddr E6:79:E7:7E:CD:B2
inet addr:172.24.1.1 Bcast:172.24.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Code: Select all
* Stopping tun0
* Bringing down tun0
* Destroyed Tun/Tap interface tun0 [ ok ]
Not long now. We've already started the process by marking bash-3.1 stable. Then I will be marking the required dhcp clients around the middle of next month and probably do a pre18 which should be the last unstable version of 1.12.mnagl wrote:How long will this probably need to go stable?
Code: Select all
Sun Aug 6 19:18:36 2006 TUN/TAP device tun0 opened
Sun Aug 6 19:18:36 2006 /sbin/ifconfig tun0 10.11.12.1 pointopoint 10.11.12.2 mtu 1500
Sun Aug 6 19:18:36 2006 /sbin/route add -net 10.11.12.0 netmask 255.255.255.0 gw 10.11.12.2
Sun Aug 6 19:18:36 2006 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]Code: Select all
config_tun0=( "10.11.12.1 pointopoint 10.11.12.2" )
routes_tun0=( "10.11.12.0 netmask 255.255.255.0 gw 10.11.12.2" )Code: Select all
# /etc/init.d/net.tun0 start
* Starting tun0
* Bringing up tun0
* 10.11.12.1
* network interface tun0 does not exist
* Please verify hardware or kernel module (driver) [ !! ]Code: Select all
# lsmod | grep tun
tun 8608 0Code: Select all
[I--] [ ~] sys-apps/baselayout-1.12.4-r1 (0)
[I--] [ ] sys-apps/usermode-utilities-20040406-r1 (0)I use OpenVPN to create tap interfaces every day. I know of another Gentoo developer who uses tun instead.VPN-User wrote:I wonder how a new baselayout can go stable when it has not been tested with all features?