<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.9.1 (http://www.squarespace.com/) on Tue, 09 Feb 2010 10:13:24 GMT--><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:cc="http://web.resource.org/cc/"><rss:channel rdf:about="http://www.vichong.com/blog/"><rss:title>Blog</rss:title><rss:link>http://www.vichong.com/blog/</rss:link><rss:description></rss:description><dc:language>en-CA</dc:language><dc:date>2010-02-09T10:13:24Z</dc:date><admin:generatorAgent rdf:resource="http://www.squarespace.com/">Squarespace Site Server v5.9.1 (http://www.squarespace.com/)</admin:generatorAgent><rss:items><rdf:Seq><rdf:li rdf:resource="http://www.vichong.com/blog/2009/12/31/nexentastor-22-with-lsi-megaraid-sas-8888elp.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/12/1/linksys-wag325n-cisco-vpn-issues.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/10/26/vmware-esxi-40-hp-proliant-dl160-g5.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/10/21/nexentastor-increasing-swap-space.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/10/20/deltek-vision-upgrades-and-service-packs-hold-your-horses.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/10/20/nexentastor-hardware-recommendations-nexenta-support-tip.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/10/20/sharepoint-services-wss-30-windows-2003-r2-indexing-searchin.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/10/20/nexenta-ndmp-backup-with-backupexec-125-low-free-space-issue.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/8/27/pfsense-ftp-server-in-dmz-opt-interface-the-userland-ftp-pro.html"/><rdf:li rdf:resource="http://www.vichong.com/blog/2009/8/20/nexentastor-2021-windows-2008-sp2-fail.html"/></rdf:Seq></rss:items></rss:channel><rss:item rdf:about="http://www.vichong.com/blog/2009/12/31/nexentastor-22-with-lsi-megaraid-sas-8888elp.html"><rss:title>NexentaStor 2.2 with LSI MegaRAID SAS 8888ELP</rss:title><rss:link>http://www.vichong.com/blog/2009/12/31/nexentastor-22-with-lsi-megaraid-sas-8888elp.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-12-31T23:41:21Z</dc:date><dc:subject>hardware lsi megaraid nexenta nexentastor opensolaris</dc:subject><content:encoded><![CDATA[<p>Fresh install of Nexenta 2.2 running on the following hardware:</p>
<ul>
<li><a href="http://www.supermicro.com/products/motherboard/Xeon3000/X58/X8STE.cfm">Supermicro X8STE Motherboard</a></li>
<li>Intel XEON E5520</li>
<li><a href="http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_8888elp/">LSI MegaRAID SAS 8888ELP</a></li>
<li><a href="http://www.intel.com/Products/Server/Adapters/PRO1000PT-QuadPort/PRO1000PT-QuadPort-overview.htm">Intel Quad Gigabit nic PRO/1000 PT</a></li>
<li>12gigs ram (Nexenta loves RAM!)</li>
</ul>
<p><br /><span class="thumbnail-image-float-left ssNonEditable"><span><a href="javascript:showFullImage('/display/ShowImage?imageUrl=%2Fstorage%2Fsite_pics%2Fblog-pics%2F2009-12-22%2015.11.59.jpg%3F__SQUARESPACE_CACHEVERSION%3D1262304485328',768,1024);"><img src="http://www.vichong.com/storage/thumbnails/2815301-5212078-thumbnail.jpg?__SQUARESPACE_CACHEVERSION=1262304491478" alt="" /></a></span></span></p>
<ul>
</ul>
<p>We reused a LSI MegaRAID, and had to set each drive connected, to be a single "virtual" RAID0 drive - in the MegaRAID onboard bios configuration (Ctl - H on startup from memory). Then this presents a bunch of individual drives to Nexenta. NexetaStor 2.2 includes all the <em>mega_sas</em> drivers, so once we had the drives recognized by the controller, they then appeared immediately to NexentaStor.</p>
<p>Only after we had flashed both the motherboard and the LSI card (by putting it into a Windows computers to flash) to the latest firmware revisions, were we able to get Nexenta installed at all. Please always<strong> flash flash flash to the latest firmware</strong> and save yourself a bunch of time!</p>
<p>In the pic below, you can see a pair of 2.5" SSDs which we are using for the Nexenta OS in a RAIDZ mirror config. The mounting kits for these drives on the free PCI slots are from <a href="http://atechfabrication.com/products/drive_mounting_kits.htm">A-Tech Fabrication</a>. I did toy around with running Nexenta off a USB flash stick, and use the SSDs for cache and logs, but will wait until that configuration has been tested by Nexenta.</p>
<p><span class="thumbnail-image-block ssNonEditable"><span><a href="javascript:showFullImage('/display/ShowImage?imageUrl=%2Fstorage%2Fsite_pics%2Fblog-pics%2F2009-12-22%2015.12.18.jpg%3F__SQUARESPACE_CACHEVERSION%3D1262304521627',768,1024);"><img src="http://www.vichong.com/storage/thumbnails/2815301-5212083-thumbnail.jpg?__SQUARESPACE_CACHEVERSION=1262304521628" alt="" /></a></span></span></p>
<p>Finally, would like to wish all the website visitors, and my clients a Happy and&nbsp;Prosperous&nbsp;New Year for 2010! Also proud to have made end of year contribution to Chatswood Computer Consultants charity of choice: <a href="http://msf.ca/">M&Eacute;DECINS SANS FRONTI&Egrave;RES (MSF)</a></p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/12/1/linksys-wag325n-cisco-vpn-issues.html"><rss:title>Linksys WAG325N + CISCO VPN issues</rss:title><rss:link>http://www.vichong.com/blog/2009/12/1/linksys-wag325n-cisco-vpn-issues.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-12-01T20:10:07Z</dc:date><dc:subject>cisco vpn handitax hardware linksys simplefund wag325n</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/Linksys WAG325N.jpg?__SQUARESPACE_CACHEVERSION=1259698513925" alt="" /></span></span>I had a long time problem with my client's CISCO VPN connections to the Australian Tax Office - via <a href="http://handisoft.com.au/">HandiTax</a> and <a href="http://bglcorp.com.au/">Simplefund</a>.</p>
<p>Every time they were lodging to the ATO, they had to retry the lodgement several times before it successfully connected and transmitted.</p>
<p>The problem was consistent across two different software applications but there was a common component with the CISCO VPN client. After the light bulb light up above my head, I googled "Linksys WAG325N CISCO VPN problem" and came across the following forum post on the Linksys site:</p>
<p><a href="http://forums.linksysbycisco.com/linksys/board/message?message.uid=113940">http://forums.linksysbycisco.com/linksys/board/message?message.uid=113940</a></p>
<p>I double checked that the IPSec Passthrough was enabled, but the other part that I needed to add to the router configuration was to put entries under Applications &amp; Gaming -&gt; Port Range Triggering. I did another google search for which ports are used by the CISCO VPN, and put in 500, 4500 and 10000.</p>
<p>Here is a screenshot (click it for a larger view) of the relevant page on the router setup.</p>
<p><span class="thumbnail-image-block ssNonEditable"><span><a href="javascript:showFullImage('/display/ShowImage?imageUrl=%2Fstorage%2Fsite_pics%2Fblog-pics%2FWAG325N_screenshot.jpg%3F__SQUARESPACE_CACHEVERSION%3D1259699237392',560,816);"><img src="http://www.vichong.com/storage/thumbnails/2815301-4934792-thumbnail.jpg?__SQUARESPACE_CACHEVERSION=1259699237393" alt="" /></a></span></span></p>
<p>After I made these changes, lodging returns to the ATO in both HandiTax and Simplefund worked flawlessly each time on first attempt!</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/10/26/vmware-esxi-40-hp-proliant-dl160-g5.html"><rss:title>VMWare ESXi 4.0 + HP ProLiant DL160 G5</rss:title><rss:link>http://www.vichong.com/blog/2009/10/26/vmware-esxi-40-hp-proliant-dl160-g5.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-10-27T06:44:47Z</dc:date><dc:subject>dl160 g5 esxi 4.0 hp hyper-v server 2008 r2 proliant software vmware</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/VMW_09Q3_LOGO_Corp_Gray.png?__SQUARESPACE_CACHEVERSION=1256626148159" alt="" /></span></span>Confirmed - VMWare ESXi 4.0 works on a <a href="http://h18004.www1.hp.com/products/quickspecs/12902_na/12902_na.html">HP ProLiant DL160 G5</a></p>
<p>Sometimes it is frustrating to find out if your non HCL hardware will work with ESXi before shelling out $ on hardware, but in my case, I don't have to commit this hardware just for VM service, so it was more of a test if anything, and if it works, it may even go into light production duty (probably would advise to go for something on the official HCL for mission critical duty).</p>
<p>For more whitebox and official hardware compatibility info with ESXi, check out:</p>
<ul>
<li><a href="http://www.vm-help.com/">http://www.vm-help.com/</a></li>
<li><a href="http://www.vmware.com/resources/compatibility/search.php">http://www.vmware.com/resources/compatibility/search.php</a></li>
</ul>
<p>The following configuration options worked for me:</p>
<ul>
<li>DL160 firmware up to current version as of Oct 2009</li>
<li>SATA RAID disabled</li>
<li>Installed onto internal SATA hard drive</li>
<li>I had to re-order the boot priority of the SATA hard drives (I have 2 installed) for ESXi 4.0 to boot after the installation (via CD - onto one of the hard drives)</li>
<li>Both NICs are seen by ESXi 4.0 as well</li>
</ul>
<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/DL160_G5.png?__SQUARESPACE_CACHEVERSION=1256630463167" alt="" /></span></span>I also confirmed that this 1U server also worked fine with <a href="http://www.microsoft.com/hyper-v-server/en/us/how-to-get.aspx">Microsoft Hyper-V Server 2008 R2</a>. But what I didn't count on, is how locked down and inconvenient it is for lab testing compared to VMWare's bare metal product.&nbsp;Hyper-V does look great at first glance with the free vmotion stuff, but it just takes too long to setup in a non domain lab setup (and can only be managed from a Win2k8, Vista or Windows 7 console!). For now, going to stick with VMWare products. :)</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/10/21/nexentastor-increasing-swap-space.html"><rss:title>NexentaStor - increasing swap space</rss:title><rss:link>http://www.vichong.com/blog/2009/10/21/nexentastor-increasing-swap-space.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-10-21T15:19:45Z</dc:date><dc:subject>nexenta nexentastor opensolaris swap file swap space</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/nexenta.jpg?__SQUARESPACE_CACHEVERSION=1256139078759" alt="" /></span></span>Here's another tip I forgot to post yesterday. How to increase the swap space on your NexentaStor server.</p>
<p>When I was trouble shooting our NexentaStore server when it has low available drive space, in the NexentaStor documentation I found that the default swap size is the memory size. For some reason we had a 1 gig swap file, and 4 gig of ram. Perhaps we didn't have all the ram populated on original install, so just to make sure everything was setup correct to help my trouble shooting, I went looking for a way to increase the swap space.</p>
<p>Since there wasn't any option I could find in the web gui, I was certain it was going to be a CLI thang. After some googling, I came across this:</p>
<p><a href="http://www.crypticide.com/dropsafe/article/2649" target="_blank">http://www.crypticide.com/dropsafe/article/2649</a></p>
<p>I ssh-ed into the NexentaStor server as the admin user, and ran:</p>
<blockquote>
<p>zfs set volsize=4G syspool/swap</p>
</blockquote>
<p>This changed the swap space to the same size as the physical ram in the server.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/10/20/deltek-vision-upgrades-and-service-packs-hold-your-horses.html"><rss:title>Deltek Vision - upgrades and service packs - hold your horses!</rss:title><rss:link>http://www.vichong.com/blog/2009/10/20/deltek-vision-upgrades-and-service-packs-hold-your-horses.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-10-20T22:35:16Z</dc:date><dc:subject>deltek upgrade vision windows</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/deltek.gif?__SQUARESPACE_CACHEVERSION=1256078168793" alt="" /></span></span>I have a client that has moved over to an accounting/erp/crm/do everything for your consulting company software called <strong>Deltek Vision</strong> - almost 2 years ago.</p>
<p>Working with Deltek's tech support crew has been fine. They provided plenty of information on recommended server configuration etc, and have even remoted in via GoToAssist sessions to help us with SQL database tweaks etc.</p>
<p>With these types of software systems, they are&nbsp;extremely&nbsp;complex, and with this complexity, there are alway little bugs, reports that don't quite work, etc. On top of this problem, there are alway new features in the pipeline. Some of these new features, my client was looking forward to implement (some new reports from memory).</p>
<p>In my client's case, Deltek took the new service pack/point release out from beta and went gold. Accounting was pushing for the upgrade, and we have Deltek support and our backups as a fall back...lets throw down!</p>
<p>Now look what happens - You go ahead, take a quick snapshot of your database, go ahead and install the new patch/software. Everything loads up fine, and you think everything is sweet. Then IT gets a bunch of calls from users, and accounting, that this report isn't working etc etc. One of the coolest things, was the new version of Vision went from a nice convenient web based app, to a full on local running app - *sigh*. Each time a new feature is introduced, and new bug appears, a previous bug fixed, and a new bug fix is promised in the next patch/release - and so on it goes.</p>
<p>Now this has been going on for about a year, and finally, accounting have come to the fact that no longer can they confidently upgrade their primary systems as soon as they go gold. Result - I am in the process of putting together a budget for a virtualized duplicate of their production environment, on which we can run updates, and test as throughly as possible before giving it the green light (or not) on the production boxes.</p>
<p>I guess the long and the short of it is, encourage your clients/account dept etc, to <strong>test test test upgrades</strong> and new versions first, preferably in a <strong>sandbox/test environment</strong>. If they don't have one, let them know what best practices are (ie: give me a test environment), give them your <em>best efforts/milage may vary</em> disclaimer, and proceed accordingly. In my clients case, upgrades have been so counterproductive that they have finally decided to do something about it... and what a better way to do it than with VMs! :)</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/10/20/nexentastor-hardware-recommendations-nexenta-support-tip.html"><rss:title>NexentaStor hardware recommendations + Nexenta Support tip</rss:title><rss:link>http://www.vichong.com/blog/2009/10/20/nexentastor-hardware-recommendations-nexenta-support-tip.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-10-20T21:50:18Z</dc:date><dc:subject>hardware nexenta nexentastor opensolaris recommendation support</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/nexenta.jpg?__SQUARESPACE_CACHEVERSION=1256075934354" alt="" /></span></span>I'd like to shout out to Dave who contacted me yesterday. Good to see people excited about this product, and it reminded me to keep posting up stuff on Nexenta and NexentaStor since it is a new product, and there isn't a heap of information out there yet.</p>
<p>I find great tips and solutions to problems daily via blogs and forums, so best I stay ontop of my work related blogging and give back to the community!</p>
<p>So part of this post is to document the <strong>hardware that I know works</strong>, and or, is in production with NexentaStor.</p>
<p>If you are currently researching the OpenSolaris HCL, it is a good start for picking out your hardware. From here, I would stick to this:</p>
<ul>
<li>Intel mobo and nic chipsets</li>
<li>LSI controller cards</li>
</ul>
<p>Here is a list of what I have in production with NexentaStor:</p>
<p><strong>Motherboards:</strong></p>
<ul>
<li><a href="http://www.supermicro.com/products/motherboard/Xeon3000/3200/X7SBL-LN1.cfm">SuperMicro X7SBL-LN1</a></li>
</ul>
<p><strong>SAS/SATA Controllers:</strong></p>
<ul>
<li><a href="http://www.lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/external/sas3801e/index.html">LSI SAS #SAS3081E</a> Controller - set in JBOD mode</li>
</ul>
<p><strong>Drive Chassis:</strong></p>
<ul>
<li><a href="http://www.supermicro.com/products/chassis/3U/836/SC836E1-R800.cfm">Supermicro SC836E1-R800B</a> 16Bay Server Chassis (2 chassis daisy-chained via backplanes)<br /> 
<ul>
<li>Coupled to Seagate ST31000340NS 1TB SATA drives</li>
</ul>
</li>
</ul>
<p><strong>Network Cards:</strong></p>
<ul>
<li>&nbsp;<a href="http://www.intel.com/products/server/adapters/pro1000pt-quadport/pro1000pt-quadport-overview.htm">Intel PRO/1000 PT Quad Port Server Adapter</a></li>
</ul>
<p>&nbsp;</p>
<p>Finding the correct cabling for backplanes and controller cards can be a real PITA sometimes, and I highly recommend you talk to these guys to get exactly what you need to hook up all the chassis, backplanes, and controller cards - <a href="http://www.cs-electronics.com">http://www.cs-electronics.com</a></p>
<p>Finally, a <strong>Nexenta Support tip</strong>. If you wish to contact Nexenta support, the quickest and most efficient way to get to them is via the built in support ticketing system from within the web interface on your NexentaStor box (can also send one via command line). What it actually does, it will send Nexenta Support a breakdown of your setup as an attachment, and auto generates a ticket in their system. Don't bother emailing them, it takes much much longer that way - do it via the system they nicely provide coded right in the product.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/10/20/sharepoint-services-wss-30-windows-2003-r2-indexing-searchin.html"><rss:title>SharePoint Services WSS 3.0 + Windows 2003 R2 + indexing / searching broken?</rss:title><rss:link>http://www.vichong.com/blog/2009/10/20/sharepoint-services-wss-30-windows-2003-r2-indexing-searchin.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-10-20T21:33:58Z</dc:date><dc:subject>index search sharepoint services windows wss 3.0</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/Windows2.png?__SQUARESPACE_CACHEVERSION=1256074867106" alt="" /></span></span>The problem of search and or indexing that is broken on a Sharepoint site running on a Windows 2003 R2 box, had a bazillion different "solutions". I searched everywhere on the net for a way to fix this annoying problem. Nothing seemed to make it work. I finally lucked out (on my n-th attempted of fixing this) and came across this blog entry:</p>
<p><a href="http://mysharepointblog.com/post/2007/01/Windows-SharePoint-Services-%28WSS%29-30-Search-Setup-Notes.aspx">http://mysharepointblog.com/post/2007/01/Windows-SharePoint-Services-%28WSS%29-30-Search-Setup-Notes.aspx</a></p>
<p>I have no idea why the indexing died in the first place, but since I'm not a huge fan of the product in the first place (I'm a Google Apps fanboy!), I'm just going to notch it down to inherent complexity of Sharepoint and leave it at that! Lucky for my client, they are just using Sharepoint for their intranet and not their main file store!</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/10/20/nexenta-ndmp-backup-with-backupexec-125-low-free-space-issue.html"><rss:title>Nexenta + NDMP Backup with BackupExec 12.5 + low free space issues</rss:title><rss:link>http://www.vichong.com/blog/2009/10/20/nexenta-ndmp-backup-with-backupexec-125-low-free-space-issue.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-10-20T21:04:54Z</dc:date><dc:subject>backupexec ndmp nexenta nexentastor opensolaris</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/nexenta.jpg?__SQUARESPACE_CACHEVERSION=1256072803393" alt="" /></span></span>NexentaStor has been lots of fun to work with, there are still a few hickups as mentioned earlier in my blog, but it is turning out to be a pretty cool solution for clients that are not wanting to throw down big bucks on boutique NAS/SANes during this recession. Oh, and do I hear de-dupe is around the corner for ZFS?! :)</p>
<p>I was experimenting around with the <strong>NDMP</strong> Backup options in NexentaStor. I enabled the service, and punched in the details of our Symantec BackupExec 12.5 server, with NDMP option enabled.</p>
<p>Not being really familiar with this option in BackupExec, I just set everything pretty much with the default, and unfortunately, when browsing for backup devices, Nexenta does not appear in the NDMP devices, so off I went and logged a support ticket with Nexenta.</p>
<p>Here is their response, not holding my breath, but it would be seriously kick ass if NDMP backups did work with BackupExec (not to mention would get great speed, and can point backups to "latest" folders within a special backup snapshot for example - nice point in time backups/archives to tape!)</p>
<blockquote>
<p><span class="mediumtext">Looks like we do not have many customers using BackupExec. In general, this is our policy to support 3rd party software only if there is enough evidence that this is either a standard, or used by a significant number of users (which would make it de-facto standard). BackupExec is neither. We may be able though to get to it after the next major release 3.0 planned for end of November, early Dec.</span></p>
</blockquote>
<p><span class="mediumtext">Now onto <strong>free space</strong> in NexentaStor. I do encourage you to keep a close eye on available space on your volumes. We were in a situation where a slight mistake in a rsync script, filled up our Nexenta box. We had on or less than 10% space left, and it ended up with some strange behaviour.</span></p>
<p>Everything from no access via web interface, the console on the server locking up when trying to remove snapshots via the web interface, and errors and dead drives appearing after scrub jobs were issued (which weren't really dead drives!). After we blew away a bunch of stuff, and snapshots via command line (setup snapshot destroy), things settled down again.</p>
<p>I really like the weekly reports that the system can send to you, surf through them just to make sure available space is in check, and all should be fine.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/8/27/pfsense-ftp-server-in-dmz-opt-interface-the-userland-ftp-pro.html"><rss:title>pfSense - ftp server in DMZ / OPT interface - the userland FTP-Proxy setting</rss:title><rss:link>http://www.vichong.com/blog/2009/8/27/pfsense-ftp-server-in-dmz-opt-interface-the-userland-ftp-pro.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-08-28T05:25:26Z</dc:date><dc:subject>dmz ftp ftp-proxy opt pfsense userland</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/pfsense.PNG?__SQUARESPACE_CACHEVERSION=1251437173724" alt="" /></span></span>Had some fun setting up a FTP server, on a OPT interface on a pfSense router.</p>
<p>On the legacy router setup, we had Virtual IP for the ftp server. With this setup, we would put in a port forward to the ftp server in the DMZ, and everything would play nice.</p>
<p>With pfSense, you need to tweak some settings to get things happening.</p>
<p>After setting up my virtual IPs, and setting up some WAN rules, we couldn't connect to the ftp server via any interface. Problem turns out to be a combination of using the virt IP (as apposed to the primary IP of the WAN interface as the IP you are using to access ftp from the WAN side), and a little pfSense userland ftp-proxy setting</p>
<p>I sifted through some pfSense forum entries, and the following links gave me the clues:</p>
<p><a href="http://forum.pfsense.org/index.php/topic,6218.0.html">http://forum.pfsense.org/index.php/topic,6218.0.html</a></p>
<p><a href="http://doc.pfsense.org/index.php/FTP_Troubleshooting">http://doc.pfsense.org/index.php/FTP_Troubleshooting</a></p>
<p>So I went through things step by step, and as suggested:</p>
<ol>
<li> remove all ftp rules (WAN side) I setup previously</li>
<li>removed the Virtual IP - I <strong>HAD</strong> to use the WAN interface primary IP address - the Virtual IP would NOT work - had to make an A record change and notify users of the change</li>
<li>went to Interfaces -&gt; WAN -&gt; unticked the <em>Disable the userland FTP-Proxy application </em>(also unticked on the other interfaces)</li>
<li>this <em>auto created</em> a WAN rule: * * * ext_WAN_IP 21 *</li>
<li>then added another WAN rule: * * * ftpserver_opt_IP 21 *</li>
<li>for users in the LAN, I made an internal DNS override for the ftp domain name to point to the ftp server's internal IP address - eg: ftp.blah.com -&gt; 192.168.1.1 (normally on the net, it would point to the WAN interface primary IP address in the A record)</li>
</ol>
<p>Took a bit of time, but finally sorted it out and now we are back to ftp serving via pfSense!</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.vichong.com/blog/2009/8/20/nexentastor-2021-windows-2008-sp2-fail.html"><rss:title>NexentaStor 2.0/2.1 + Windows 2008 SP2 FAIL</rss:title><rss:link>http://www.vichong.com/blog/2009/8/20/nexentastor-2021-windows-2008-sp2-fail.html</rss:link><dc:creator>Victor Hong</dc:creator><dc:date>2009-08-20T15:20:00Z</dc:date><dc:subject>nexentastor opensolaris sp2 windows windows 2008</dc:subject><content:encoded><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://www.vichong.com/storage/site_pics/blog-pics/nexenta.jpg?__SQUARESPACE_CACHEVERSION=1250799735110" alt="" /></span></span>Last week, I went ahead and upgraded a client's Windows 2008 domain controllers from SP1 to SP2. Reason, I'm always staying ontop keeping their Linux based NAS boxes working nicely with Active Directory etc, and thought it was a quiet time to update stuff across the board.</p>
<p>As it turns out, once Windows 2008 was at SP2 level, the NexentaStor 2.0 box now doesn't work on CIFS shares. The only way to access them is to use the "guest" login (a login box appears when you browse to it from the network).</p>
<p>Viewing the CIFS server log - got this:</p>
<blockquote>
<p>Aug 20 13:27:37 server1 smbd[352]: [ID 526780 daemon.notice] Failed to establish NETLOGON credential chain<br />Aug 20 13:27:37 server1 smbd[352]: [ID 871254 daemon.error] smbd: failed joining domain.lan (UNSUCCESSFUL)<br />Aug 20 13:27:37 server1 idmap[335]: [ID 694198 daemon.notice] Configuration unchanged</p>
</blockquote>
<p>After sending an email to support, they pointed me to:</p>
<p><a href="http://www.nexenta.com/nexentastor-relnotes">http://www.nexenta.com/nexentastor-relnotes</a> - Scroll down to v1.1.9 - known problem</p>
<p>and <a href="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6850508">http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6850508</a></p>
<p>I have been told this will be addressed in September... or we can roll back to SP1 on the domain controllers! WTF, I guess this is Sun that is just slow to move on a pretty big bug. :(</p>]]></content:encoded></rss:item></rdf:RDF>