pfsense Enable WAN using shell

* Install pfSense  on your target machine

* Unless your WAN gets a DHCP address, you will need to manually assign the IP Address of the WAN interface:
  --> Get to the CLI (option 8 )
  --> Type "ifconfig en0 10.20.30.40 255.255.255.248" (substitute en0 for your WAN interface and use the correct IP Address/Mask)
  --> Type "route add default <default-gw-ip>"
  --> Type "pfctl -d" to temporarily disable the packet filter

* Point your browser to your WAN IP address then login as admin/pfsense

* Once you have done your initial configuration, MAKE SURE to enable the packet filter again (CLI --> "pfctl -e")

 

 

[2.0-RC1][This email address is being protected from spambots. You need JavaScript enabled to view it.n]/root(1): netstat -rn
Routing tables

Internet:
Destination        Gateway                  Flags    Refs      Use  Netif  Expire
82.53.4.204        link#2                    UHS         0        0    lo0      =>
82.53.4.204/32   link#2                      U           0        0    em1
85.37.17.57        00:0e:0c:dc:c7:d7  UHS         0        2    em1
127.0.0.1            link#5                    UH          0      131    lo0
192.168.0.0/24   link#1                      U           0      384    em0
192.168.0.253    link#1                    UHS         0        0     lo0

 

Last modified onTuesday, 12 February 2013 06:29

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0133412440{main}( ).../index.php:0
20.36264262360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.36264262360Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.735111453232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.735711477512Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.737511532840Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.738011560240require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.748811959872K2ControllerItem->execute( ).../k2.php:64
90.748811959872K2ControllerItem->display( ).../BaseController.php:710
100.762712610576K2ControllerItem->display( ).../item.php:78
110.762712610576K2ControllerItem->display( ).../controller.php:19
120.768812981616Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.770713001984K2ViewItem->display( ).../ViewController.php:102
140.880415909704K2ViewItem->display( ).../view.html.php:742
150.880415909704K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.882616082640include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Pfsense
  • Read 1386 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0133412440{main}( ).../index.php:0
20.36264262360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.36264262360Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.735111453232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.735711477512Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.737511532840Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.738011560240require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.748811959872K2ControllerItem->execute( ).../k2.php:64
90.748811959872K2ControllerItem->display( ).../BaseController.php:710
100.762712610576K2ControllerItem->display( ).../item.php:78
110.762712610576K2ControllerItem->display( ).../controller.php:19
120.768812981616Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.770713001984K2ViewItem->display( ).../ViewController.php:102
140.880415909704K2ViewItem->display( ).../view.html.php:742
150.880415909704K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.882616082640include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top