openvpn nestartuje po rebootu
Jaroslav Votruba
jaroslav.votruba at keytec.cz
Thu Jan 3 07:51:46 CET 2008
na testovaci v6,3 mi vse beha bez problemu, na ostre v5,4 mi to nejde.
Pokud jej spustim rucne,tak bezi. V ifconfigu tap zarizeni neni
videt,nicmene modul by mel byt natazeny
root at postak# /usr/local/etc/rc.d/openvpn.sh start
if_tapkldload: can't load if_tap: File exists
v rc.confu mam
openvpn_enable="YES"
openvpn_if="tun tap"
openvpn_configfile="/usr/local/etc/openvpn/openvpn.conf"
openvpn_dir="/usr/local/etc/openvpn"
v ps se zda ze to bezi
root at postak# ps auwx|grep vtun
root 968 0.0 0.2 1476 900 p0 S+ 7:41AM 0:00.00 grep vtun
root at postak# ps aux | grep vpn
root 970 0.0 0.2 1472 896 p0 S+ 7:41AM 0:00.00 grep vpn
prijde mi to,jako by si to z rc.confu nenatahlo config, protoze po
openvpn --config /usr/local/etc/openvpn/openvpn.conf
se to spusti a jede to. Ted jsem si jeste vsim, ze na v5,4 je script v
rc.d jen na nahozeni tapu, kdezto na novejsi verzi je sakra delsi.
Skusim ten novejsi pres scp hodit na ten starsi
log na klientu
Thu Jan 03 07:28:27 2008 Local Options hash (VER=V4): 'c6c7c21a'
Thu Jan 03 07:28:27 2008 Expected Remote Options hash (VER=V4): '1a6d5c5d'
Thu Jan 03 07:28:27 2008 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 03 07:28:27 2008 UDPv4 link local: [undef]
Thu Jan 03 07:28:27 2008 UDPv4 link remote: 85.207.55.210:1194
Thu Jan 03 07:28:27 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Thu Jan 03 07:28:29 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Thu Jan 03 07:28:31 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Thu Jan 03 07:28:33 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Thu Jan 03 07:28:34 2008 TCP/UDP: Closing socket
Thu Jan 03 07:28:34 2008 SIGTERM[hard,] received, process exiting
log na serveru pri verb 5
OpenVPN CLIENT LIST
Updated,Thu Jan 3 06:27:17 2008
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
client1,192.168.0.92:2928,5936,4301,Thu Jan 3 06:27:05 2008
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
00:ff:be:79:5a:a9,client1,192.168.0.92:2928,Thu Jan 3 06:27:06 2008
GLOBAL STATS
Max bcast/mcast queue length,0
END
More information about the Users-l
mailing list