Tag Archives: Windows & All thing M$

Connecting to a Windows PPTP based VPN through a OpenBSD / PF firewall

To be able to connect to a Windows based PPTP VPN through a OpenBSD firewall you’ll need to make a couple of changes to allow GRE traffic through.
first add the following to /etc/sysctl.conf:
net.inet.gre.allow=1
net.inet.gre.wccp=1
net.inet.mobileip.allow=1

then add the following to the filter section in your /etc/pf.conf:
pass in on $ext_if proto gre all keep state
pass out on $ext_if proto gre all keep state

To make the changes effective without having to reboot issue the following as root:

sysctl net.inet.gre.allow=1
sysctl net.inet.gre.wccp=1
sysctl net.inet.mobileip.allow=1
pfctl -f /etc/pf.conf

Me & my Axim X50

Well, it’s just a little over a year since I got my Axim X50 PDA & I have finally put it to good use. After a couple of plays with PocketMac Pro I purchased my license for Missing Sync from Mark/Space

Though PocketMac Pro had a couple of really usefull features which aren’t included in Missing Sync (extract .cab files from .exe’s & sync iTunes library), Life is so much better with Missing Sync. Missing Sync is soooooo much more stable for starters (I’m running a alpha version of Missing Sync aswell), it also allows doesn’t get confused if you factory reset your pda & try to re-sync it. I was never able to re-sync my pda with pocketmac if I let my battery run flat, I’d have to uninstall Pocketmac & re-install so that It’d give me the option to scan for a device & install its sync components onto the device.
Another problem with PocketMac was that it was extremely unstable when used with wifi & bluetooth usually causing the system to panic!!

I have also upgraded my Axim to Windows Mobile 5 which kinda makes PocketMac redundent as they still don’t support it!

Howto Move the IIS Metabase from One Server to another

Using the following 2 commands you can export the metabase from one webserver & import it onto another, making migration between boxes very easy!

To Export:
C:\WINDOWS\system32>cscript iiscnfg.vbs /export /f plzwork.xml /d test /inherited /children /sp /LM/W3SVC

To Import:
C:\WINDOWS\system32>cscript iiscnfg.vbs /import /f plzwork.xml /dp LM/W3SVC /children /inherited /merge /d test /sp /LM/W3SVC

Exchange Mail Box / Store Disaster Recovery

I cant recommend Ontracks PowerControls Exchange recovery tool enough, I was cought out by a exchange server last week which had gone into meltdown, PowerControls let me mount the mailstore & dump the contents of the mail boxes & public folders to pst, it also has the option to dump the contents of a store to a exchange mailbox aswell which is extremly handy if you have another server live elsewhere (which I didnt!!! but I do now 😀 )

iSCSI On a budget!

Following the Quick Guide to iSCSI on Linux I managed to setup a iSCSI Target host on Slackware 10 running on a virtual machine on VMware then connected to it from the Windows 2000 box which was the VMware host! 🙂

I used the iSCSI Enterprise Target rather then the Ardis Target which the guide covers but as the Enterprise Target is a fork of the Ardis Target there is no variation in steps carried out.

The Windows Initiator can be dowloaded from here