Forfatterarkiv: Brian Lund Klint

Script til SSH tuneller

Ssh should be configured to log in with keyfiles(not password) And then this script will do the trick, should explain itself. —– #!/bin/sh SERVER_HOSTNAME=geekhosting.dk SERVER_USERNAME=root SERVER_IFIPADDR=10.20.1.1 CLIENT_IFIPADDR=10.20.1.2 MYSUBNET=10.1.0.0/16 LOCAL_SSH_OPTS=”-P” PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11/: PPPD=/usr/sbin/pppd SSH=/usr/bin/ssh ROUTE=/sbin/route if ! test -f $PPPD ; then … Læs resten

Udgivet i Knowledge Base, SSH | Skriv en kommentar

Uni-fix ip range

10.20.1.1 loves.fujang.dk remote 10.20.1.2 loves.fujang.dk lokal 10.20.1.3 cyberfamily.dk remote 10.20.1.4 cyberfamily.dk lokal 10.20.1.5 btworld.dk remote 10.20.1.6 btworld.dk lokal 10.20.1.7 morten.lan remote 10.20.1.8 morten.lan lokal 10.20.1.9 pre.zaft.dk remote 10.20.1.10 pre.zaft.dk lokal 10.20.1.11 jonny remote 10.20.1.12 jonny local 10.20.0.0/16 tunnels 10.0.0.0/16 euroform … Læs resten

Udgivet i Knowledge Base | Skriv en kommentar

Java in mozilla on slack

install the mozilla-1.2.1 pakage from /slackware/xap in slackware-current install the j2re-1_4_1_01 package from /extra/java2-runtime-environment in slackware-current have fun playing minigolf at http://www.jippii.dk/

Udgivet i Knowledge Base | Skriv en kommentar

Redirecting web-browsers with Javascript

Put this between the <head></head> tags: <script type=”text/javascript”> function reload() { window.location=”http://blackthorne.dk/”; } </script> And this in the body tag: <body onload=”reload()”> Ok now, that’s the buggy, crappy javascript style, you can make it as a mouseover() or onclick() if … Læs resten

Udgivet i Knowledge Base | Skriv en kommentar