olistudent
IPPF-Urgestein
- Mitglied seit
- 19 Okt 2004
- Beiträge
- 14,787
- Punkte für Reaktionen
- 13
- Punkte
- 38
iptables wird immer gebaut. Aber ich wußte gar nicht, dass in freetz-1.0 iptables 1.4.1.1 verwendet wird?
MfG Oliver
MfG Oliver
## Rudi-Editor
## Bitte umgebende Zeilen NICHT löschen ("cat > ...", "RUDI_EOF")
cat > /var/log/mod.log << 'RUDI_EOF'
rc.mod version freetz-1.0
crond is disabled
telnetd is disabled
Starting webinterface...done.
Starting openvpn ... failed.
swap is disabled
RUDI_EOF
cat /mod/etc/openvpn*.conf
# Alle Befehle relativ zum Freetz-Ordner...
# das "alte" openvpn wegsichern
mkdir make_backup
mv make/openvpn make_backup
# und jetzt das neue holen
cd make
svn co http://svn.freetz.org/trunk/make/openvpn openvpn
# und neu bauen
cd ..
make openvpn-dirclean
make openvpn-precompiled
make
cat /mod/etc/openvpn.conf | grep -v daemon > /var/tmp/ovpn.conf
openvpn /var/tmp/ovpn.conf &
sleep 10
killall openvpn
Fritz!Box web password:
BusyBox v1.9.2 (2008-10-24 14:37:17 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
/var/mod/root # cat /mod/etc/openvpn.conf | grep -v daemon > /var/tmp/ovpn.conf
/var/mod/root # openvpn /var/tmp/ovpn.conf &
/var/mod/root # Sun Oct 26 22:32:02 2008 OpenVPN 2.1_rc7 mipsel-linux [SSL] [LZO 2] [EPOLL] built on Oct 24 2008
Sun Oct 26 22:32:03 2008 Diffie-Hellman initialized with 1024 bit key
Sun Oct 26 22:32:03 2008 Cannot load certificate file /tmp/flash/box.crt: error: 0906D06C:lib(9):func(109):reason(108): error:140AD009:lib(20):func(173):reason(9 )
Sun Oct 26 22:32:03 2008 Exiting
[1] + Done(1) openvpn /var/tmp/ovpn.conf
/var/mod/root # killall openvpn
killall: openvpn: no process killed
/var/mod/root #
Hast du die denn eingetragen?Cannot load certificate file /tmp/flash/box.crt
cat /tmp/flash/box.crt
Die Zertifikate habe ich sehr umständlich über das Webinterface kopiert, kann man diese nicht über ftp schicken?
Fritz!Box web password:
BusyBox v1.9.2 (2008-10-24 14:37:17 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
/var/mod/root # ls
/var/mod/root # cd ..
/var/mod # cd ..
/ # ls
bin etc lib proc sys usr var.tar
dev home mod sbin tmp var
/ # cd var
/var # ls
TZ flash led post_install tmp
config.def flash.html lock run wlanid
default fx_moh log spool
env html mod sysfs
/var # cd flash
/var/flash # ls
ar7.cfg fx_cg stat.cfg voipd_call_stat
aura-usb fx_conf telefon_misc vpn.cfg
browser-data fx_lcr tr069.cfg wlan.cfg
calllog fx_moh user.cfg
debug.cfg multid.leases userstat.cfg
freetz net.update voip.cfg
/var/flash # modsave
Saving users, groups and passwords...done.
Saving config...done.
Writing /var/flash/freetz...done.
23040 bytes written.
/var/flash # modsave
Saving users, groups and passwords...done.
Saving config...done.
Writing /var/flash/freetz...done.
23040 bytes written.
/var/flash # cat /tmp/flash/box.crt
-----BEGIN CERTIFICATE REQUEST-----
HIER STEHT DANN WAS GEHEIMES DRIN!
-----END CERTIFICATE REQUEST-----
/var/flash # cat /mod/etc/openvpn.conf | grep -v daemon > /var/tmp/ovpn.conf
/var/flash # openvpn /var/tmp/ovpn.conf &
/var/flash # Mon Oct 27 22:00:26 2008 OpenVPN 2.1_rc7 mipsel-linux [SSL] [LZO2] [EPOLL] built on Oct 24 2008
Mon Oct 27 22:00:26 2008 Diffie-Hellman initialized with 1024 bit key
Mon Oct 27 22:00:26 2008 Cannot load certificate file /tmp/flash/box.crt: error: 0906D06C:lib(9):func(109):reason(108): error:140AD009:lib(20):func(173):reason(9 )
Mon Oct 27 22:00:26 2008 Exiting
/var/flash #
Fritz!Box web password:
BusyBox v1.9.2 (2008-10-24 14:37:17 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
/var/mod/root # Oct 29 19:21:50 webcm[782]: Couldn't load shared library libavm ssl.so - File not found - Success (0)
cat /mod/etc/openvpn.conf | grep -v daemon > /var/tmp/ovpn.conf
/var/mod/root # openvpn /var/tmp/ovpn.conf &
/var/mod/root # Wed Oct 29 19:22:00 2008 OpenVPN 2.1_rc7 mipsel-linux [SSL] [LZO 2] [EPOLL] built on Oct 24 2008
Wed Oct 29 19:22:01 2008 Diffie-Hellman initialized with 1024 bit key
Wed Oct 29 19:22:01 2008 Cannot load certificate file /tmp/flash/box.crt: error: 0D0680A8:lib(13):func(104):reason(168): error:0D06C03A:lib(13):func(108):reason( 58): error:0D08303A:lib(13):func(131):reason(58): error:0D08303A:lib(13):func(13 1):reason(58): error:0D08303A:lib(13):func(131):reason(58): error:0906700D:lib(9 ):func(103):reason(13): error:140AD009:lib(20):func(173):reason(9)
Wed Oct 29 19:22:01 2008 Exiting
/var/mod/root #