Linux PPTP server
Building a VPN server with PPTP in Linux authenticating with RADIUS.
Proxying a PEAP/MSCHAPv2 request
Let make it simple, sometimes, your RADIUS server may need to proxy a PEAP/MSCHAPv2 request to another RADIUS (Home Server) to authenticate a user.
hostapd & 802.1x & freeradius
Setting up an AP which accept PEAP/MSCHAPv2 authentication using Linux with a ‘Master Mode-able’ wifi device, sometimes, is not quite worth. Using ready-made network appliance should be more easy and stable. However, setting up a RADIUS server to terminate the PEAP/MSCHAPv2 request can’t be avoided.
Freeradius special setup
Some special setup which you may find useful when configure Freeradius.
Freeradius configuration
Freeradius is powerful, however, you may find it is difficult to do configuration. This post try to include common configuration such that you may find useful for your setup.
TL-WN722N usb wireless stick in Linux
Using TP-Link, TL-WN722N usb wifi dongle in Linux, you could use the dongle to access wifi hotspot or you could using it as a access point to provide wifi connectivity for other devices.
Create your own CA
This post will setup a multi-chain CA by using CA.pl in openssl. This setup is dump and do not tend to use as large scale CA. I serve my own purpose as issuing certificate to clients machine to connect the server using L2TP/IPSec.
Running ASP.NET MVC 3 appliction on non MVC reday IIS.
Running ASP.NET MVC 3 appliction on non MVC reday IIS. When you running your MVC app and you got Parser Error Message: Could not load file or assembly ‘System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified. Most probably, your IIS server do not have MVC installed. Since MVC is built on top of .NET, so you may install MVC RTM on your server or deploy the necessary assemblies with your application. Reference: Running ASP.NET MVC 3 RC2 on GoDaddy Shared Hosting Basically, in your project references section, set copy local to true
.net MVC with JASIG-CAS
Using official .net Cas client and modify web.config Register casClientConfig Section <configSections> <section name=”casClientConfig” type=”DotNetCasClient.Configuration.CasClientConfiguration, DotNetCasClient”/> <!– Other custom sections here –> </configSections> Place a configuration element directly under the root element. <casClientConfig casServerLoginUrl=”https://server.example.com/cas/login” casServerUrlPrefix=”https://server.example.com/cas/” serverName=”https://client.example.com:8443″ notAuthorizedUrl=”~/NotAuthorized.aspx” cookiesRequiredUrl=”~/CookiesRequired.aspx” redirectAfterValidation=”true” renew=”false” singleSignOut=”true” ticketValidatorName=”Cas20″ serviceTicketManager=”CacheServiceTicketManager” /> Register CasAuthenticationModule with the ASP.NET pipeline by adding it to theandsections as demonstrated in the following configuration blocks. <system.web> <!– Other system.web elements here –> <httpModules> <add name=”DotNetCasClient” type=”DotNetCasClient.CasAuthenticationModule,DotNetCasClient”/> <!– Other modules here –> </httpModules>