9 1 pfSense Traffic Shaper Wizard true This wizard will guide you through setting up the pfSense traffic shaper. Please be aware that Custom Bandwidths should not exceed 30% of the interface/link bandwidth. Keep this in mind during the wizard. listtopic Traffic shaper Wizard Enter number of WAN type connections numberofconnections input ^[0-9]+$ Number of connections you have ezshaper->step1->numberofconnections Next submit step1_stepbeforeformdisplay(); step1_submitphpaction(); /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc 2 pfSense Traffic Shaper Wizard Shaper configuration step2_stepbeforeformdisplay(); step2_stepsubmitphpaction(); /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc Next submit 3 pfSense Traffic Shaper Wizard Voice over IP Enable checkbox Prioritize Voice over IP traffic This will raise the priority of VOIP traffic above all other traffic. ezshaper->step3->enable Next submit VOIP specific settings listtopic Provider select Choose Generic if your provider isn't listed. ezshaper->step3->provider Upstream SIP Server upstream_sip_server inputalias (Optional) If this is chosen, the provider field will be overridden. This allows you to provide the IP address of the <strong>remote</strong> PBX or SIP Trunk to prioritize. <br />NOTE: You can also use a Firewall Alias in this location. ezshaper->step3->address IP Address field is non-blank and doesn't look like an IP address. Bandwidth input ^[0-9]*$ Total bandwidth in percentage(%)(should be between 5 and 40) guarantee for VOIP traffic. ezshaper->step3->bandwidth Next submit step3_stepbeforeformdisplay(); step3_stepsubmitphpaction(); /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc 4 pfSense Traffic Shaper Wizard Penalty Box true true Enable checkbox Penalize IP or Alias This will lower the priority of traffic from this IP or alias. Address,Bandwidth,BandwidthSpeed ezshaper->step4->enable Next submit PenaltyBox specific settings listtopic Address inputalias This allows you to just provide the IP address of the computer(s) to penalize. NOTE: You can also use a Firewall Alias in this location. ezshaper->step4->address IP Address field is non-blank and doesn't look like an IP address. Bandwidth input ^[0-9]*$ Speed must be numerical. ezshaper->step4->bandwidth true true true true true BandwidthSpeed The limit you want to apply. select ezshaper->step4->bandwidthunit Next submit step4_stepsubmitphpaction(); /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc 5 pfSense Traffic Shaper Wizard Peer to Peer networking true true Enable checkbox Lower priority of Peer-to-Peer traffic This will lower the priority of P2P traffic below all other traffic. Please check the items that you would like to prioritize lower than normal traffic. p2pCatchAll,Bandwidth,BandwidthSpeed,Aimster,BitTorrent,BuddyShare,CuteMX,DCplusplus,dcc,DirectConnect,DirectFileExpress,EDonkey2000,FastTrack,Gnutella,grouper,hotComm,HotlineConnect,iMesh,Napster,OpenNap,Scour,Shareaza,SongSpy,WinMX ezshaper->step5->enable Next submit p2p Catch all listtopic p2pCatchAll checkbox When enabled, all uncategorized traffic is fed to the p2p queue. ezshaper->step5->p2pcatchall Bandwidth input ^[0-9]*$ Speed must be numerical. ezshaper->step5->bandwidth true true true true true BandwidthSpeed The limit you want to apply. select ezshaper->step5->bandwidthunit Enable/Disable specific P2P protocols listtopic Aimster checkbox Aimster and other P2P using the Aimster protocol and ports ezshaper->step5->aimster BitTorrent checkbox Bittorrent and other P2P using the Torrent protocol and ports ezshaper->step5->bittorrent BuddyShare checkbox BuddyShare and other P2P using the BuddyShare protocol and ports ezshaper->step5->buddyshare CuteMX checkbox CuteMX and other P2P using the CuteMX protocol and ports ezshaper->step5->cutemx DCplusplus checkbox DC++ and other P2P using the DC++ protocol and ports ezshaper->step5->dcplusplus DCC checkbox irc DCC file transfers ezshaper->step5->dcc DirectConnect checkbox DirectConnect and other P2P using the DirectConnect protocol and ports ezshaper->step5->directconnect DirectFileExpress checkbox DirectFileExpress and other P2P using the DirectFileExpress protocol and ports ezshaper->step5->directfileexpress eDonkey2000 checkbox eDonkey and other P2P using the eDonkey protocol and ports ezshaper->step5->edonkey2000 FastTrack checkbox FastTrack and other P2P using the FastTrack protocol and ports ezshaper->step5->fasttrack Gnutella checkbox Gnutella and other P2P using the Gnutella protocol and ports ezshaper->step5->gnutella grouper checkbox grouper and other P2P using the grouper protocol and ports ezshaper->step5->grouper hotComm checkbox hotComm and other P2P using the hotComm protocol and ports ezshaper->step5->hotcomm HotlineConnect checkbox HotlineConnect and other P2P using the HotlineConnect protocol and ports ezshaper->step5->hotlineconnect iMesh checkbox iMesh and other P2P using the iMesh protocol and ports ezshaper->step5->imesh Napster checkbox Napster and other P2P using the Napster protocol and ports ezshaper->step5->napster OpenNap checkbox OpenNap and other P2P using the OpenNap protocol and ports ezshaper->step5->opennap Scour checkbox Scour and other P2P using the Scour protocol and ports ezshaper->step5->scour Shareaza checkbox Shareaza and other P2P using the Shareaza protocol and ports ezshaper->step5->shareaza SongSpy checkbox SongSpy and other P2P using the SongSpy protocol and ports ezshaper->step5->songspy WinMX checkbox WinMX and other P2P using the WinMX protocol and ports ezshaper->step5->winmx Next submit step5_stepsubmitphpaction(); /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc 6 pfSense Traffic Shaper Wizard true Network Games Enable checkbox Prioritize network gaming traffic This will raise the priority of gaming traffic to higher than most traffic. BattleNET,EAOrigin,GameForWindowsLive,PlayStationConsoles,Steam,WiiConsoles,XboxConsoles,ARMA2,ARMA3,Battlefield2,Battlefield3,BattlefieldBC2,Borderlands,CallOfDuty,Counterstrike,Crysis2,Crysis3,DeltaForce,DeadSpace2,DeadSpace3,Dirt3,DOOM3,DragonAge2,EmpireEarth,EveOnline,Everquest,Everquest2,FarCry,FarCry2,FarCry3,GunZOnline,HalfLife,LeagueofLegends,Lineage2,MassEffect3,MechwarriorOnline,Minecraft,OperationFlashpointDR,PlanetSide,PlanetSide2,QuakeIII,QuakeIV,StarWarsTOR,TigerWoods2004PS2,TribesAscend,UnrealTournament,WolfensteinEnemyTerritory,WorldOfWarcraft true ezshaper->step6->enable Next submit Enable/Disable specific game consoles and services listtopic BattleNET checkbox Battle.net - Virtually every game from Blizzard publishing should match this. This includes the following game series: Starcraft, Diablo, Warcraft. Guild Wars also uses this port. ezshaper->step6->battlenet EAOrigin checkbox EA Origin Client - Some PC games by EA use this. ezshaper->step6->eaorigin GameForWindowsLive checkbox Games for Windows Live ezshaper->step6->gamesforwindowslive PlayStationConsoles checkbox PlayStation Consoles - This should cover all ports required for the Playstation 4, Playstation, PS Vita ezshaper->step6->playstationconsoles Steam checkbox Steam Game Client (Includes: America's Army 3, Counter-Strike: Source, Counter-Strike: Global Offensive, Half-Life 2, COD: Black Ops Series, Borderlands 2, Natural Selection 2, Left 4 Dead Series, Portal 2 and many other games on the Steam) ezshaper->step6->steam WiiConsoles checkbox Wii Consoles - Wii, Wii U, DS and 3DS ezshaper->step6->wiiconsoles XboxConsoles checkbox Xbox Consoles - Xbox 360 and Xbox One ezshaper->step6->xboxconsoles Enable/Disable specific games listtopic ARMA2 checkbox ARMA 2 ezshaper->step6->arma2 ARMA3 checkbox ARMA 3 ezshaper->step6->arma3 Battlefield2 checkbox Battlefield 2 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->battlefield2 Battlefield3 checkbox Battlefield 3 and 4 - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->battlefield3 BattlefieldBC2 checkbox Battlefield: Bad Company 2 ezshaper->step6->battlefieldbc2 Borderlands checkbox Borderlands ezshaper->step6->borderlands CallOfDuty checkbox Call Of Duty (United Offensive) ezshaper->step6->callofduty Counterstrike checkbox Counterstrike. The ultimate 1st person shooter. ezshaper->step6->counterstrike Crysis2 checkbox Crysis 2 ezshaper->step6->crysis2 Crysis3 checkbox Crysis 3 ezshaper->step6->crysis3 DeadSpace2 checkbox Dead Space2 - this game uses a HUGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->deadspace2 DeadSpace3 checkbox Dead Space 3 ezshaper->step6->deadspace3 DeltaForce checkbox Delta Force ezshaper->step6->deltaforce Dirt3 checkbox Dirt 3 ezshaper->step6->dirt3 DOOM3 checkbox DOOM3 ezshaper->step6->doom3 DragonAge2 checkbox Dragon Age 2 ezshaper->step6->dragonage2 EmpireEarth checkbox Empire Earth ezshaper->step6->empireearth EveOnline checkbox EVE Online ezshaper->step6->eveonline Everquest checkbox Everquest - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->everquest Everquest2 checkbox Everquest II ezshaper->step6->everquest2 FarCry checkbox Far Cry ezshaper->step6->farcry FarCry2 checkbox Far Cry 2 ezshaper->step6->farcry2 FarCry3 checkbox Far Cry 3 ezshaper->step6->farcry3 GunZOnline checkbox GunZ Online ezshaper->step6->gunzonline HalfLife checkbox Half-Life ezshaper->step6->halflife LeagueofLegends checkbox League of Legends - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->leagueoflegends Lineage2 checkbox Lineage II ezshaper->step6->lineage2 MassEffect3 checkbox Mass Effect 3 ezshaper->step6->masseffect3 MechwarriorOnline checkbox MechWarrior: Online - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->mechwarrioronline Minecraft checkbox Minecraft ezshaper->step6->minecraft PlanetSide checkbox PlanetSide ezshaper->step6->planetside PlanetSide2 checkbox PlanetSide 2 ezshaper->step6->planetside2 OperationFlashpointDR checkbox Operation Flashpoint: Dragon Rising ezshaper->step6->operationflashpoint-dr QuakeIII checkbox Quake III ezshaper->step6->quakeiii QuakeIV checkbox Quake IV ezshaper->step6->quakeiv StarWarsTOR checkbox StarWars: The Old Republic - this game uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. ezshaper->step6->starwarstor TigerWoods2004PS2 checkbox Tiger Woods 2004 for PS2 ezshaper->step6->tigerwoods2004ps2 TribesAscend checkbox Tribes Ascend ezshaper->step6->tribesascend UnrealTournament checkbox Unreal Tournament Series ezshaper->step6->unrealtournament WolfensteinEnemyTerritory checkbox Wolfenstein Enemy Territory ezshaper->step6->wolfet WorldOfWarcraft checkbox World of Warcraft ezshaper->step6->wow Next submit /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc 7 pfSense Traffic Shaper Wizard true Raise or lower other Applications Enable checkbox Other networking protocols This will help raise or lower the priority of other protocols higher than most traffic. AppleRemoteDesktop,MSRDP,PCAnywhere,VNC,AIM,Facetime,GoogleHangouts,ICQ,IRC,Jabber,MSN,TeamSpeak,TeamSpeak3,Ventrilo,PPTP,IPSEC,iTunesRadio,StreamingMP3,RTSP,RTMP,HTTP,IMAP,LotusNotes,POP3,SMTP,BattleNETDownloader,SteamDownloader,APNS,AppleMobileSync,CrashPlan,CVSUP,DNS,GIT,HBCI,ICMP,MySqlServer,NNTP,Slingbox,SMB,SNMP,Subversion true ezshaper->step7->enable Next submit Remote Service / Terminal emulation listtopic AppleRemoteDesktop ezshaper->step7->appleremotedesktop select Apple Remote Desktop MSRDP select ezshaper->step7->msrdp Microsoft Remote Desktop Protocol PCAnywhere ezshaper->step7->pcanywhere select Symantec PC Anywhere VNC ezshaper->step7->vnc select Virtual Network Computing Messengers listtopic AIM ezshaper->step7->aolinstantmessenger select AOL Instant Messenger Facetime ezshaper->step7->facetime select Facetime ICQ ezshaper->step7->icq select ICQ IRC select ezshaper->step7->irc Internet Relay Chat Jabber select ezshaper->step7->jabber Jabber instant messenger GoogleHangouts ezshaper->step7->googlehangouts select Google Hangouts MSN ezshaper->step7->msnmessenger select MSN Messenger Teamspeak ezshaper->step7->teamspeak select TeamSpeak Teamspeak3 ezshaper->step7->teamspeak3 select TeamSpeak 3 Ventrilo ezshaper->step7->ventrilo select Ventrilo VPN listtopic PPTP select ezshaper->step7->pptp Microsoft Point to Point tunneling protocol IPSEC select ezshaper->step7->ipsec IPSEC VPN traffic Multimedia/Streaming listtopic iTunesRadio select ezshaper->step7->itunesradio iTunes Radio - this rule uses a LARGE port range, be aware that you may need to manually rearrange the resulting rules to correctly prioritize other traffic. StreamingMP3 select ezshaper->step7->streamingmp3 Streaming Media RTSP ezshaper->step7->rtsp select RealTime streaming protocol RTMP ezshaper->step7->rtmp select Real-Time Messaging Protocol - Used by video streaming services such as Twitch.tv. Web listtopic HTTP select ezshaper->step7->http HTTP and HTTPS aka Web Traffic Mail listtopic SMTP select ezshaper->step7->smtp Mail Protocol POP3 select ezshaper->step7->pop3 POP3 Protocol IMAP ezshaper->step7->imap select IMAP Protocol LotusNotes ezshaper->step7->lotusnotes select Lotus Notes Game Downloader listtopic BattleNetDownloader select ezshaper->step7->battlenetdownloader Battle.NET Downloader SteamDownloader select ezshaper->step7->steamdownloader Steam Downloader Miscellaneous listtopic APNS select ezshaper->step7->apns Apple Push Notification Service AppleMobileSync select ezshaper->step7->applemobilesync Apple Mobile Sync CrashPlan ezshaper->step7->crashplan select CrashPlan CVSUP ezshaper->step7->cvsup select CVSUP DNS select ezshaper->step7->dns Domain Name Services Git ezshaper->step7->git select Git Server HBCI ezshaper->step7->hbci select HBCI ICMP ezshaper->step7->icmp select ICMP Protocol SMB ezshaper->step7->smb select Microsoft SMB Protocol and friends SNMP ezshaper->step7->snmp select Simple Network Management Protocol MySQLServer ezshaper->step7->mysqlserver select MySQL Server NNTP ezshaper->step7->nntp select Internet News Slingbox ezshaper->step7->slingbox select Slingbox Subversion ezshaper->step7->subversion select Subversion Server Next submit /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc 8 pfSense Traffic Shaper Wizard Reload profile notice listtopic After pressing Finish the system will load the new profile.<br/> Please note that this may take a moment.<br/> Also note that the traffic shaper is stateful meaning that only new connections will be shaped.<br/> If this is an issue please reset the state table after loading the profile.<br/> Finish submit step8_stepsubmitphpaction(); /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc