pfsense Enable WAN using shell
- font size decrease font size increase font size
- Print Email
* 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
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 412600 | {main}( ) | .../index.php:0 |
2 | 0.0773 | 4262520 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0773 | 4262520 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3699 | 11453512 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3705 | 11477792 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3713 | 11533120 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3715 | 11560520 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3798 | 11960152 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3798 | 11960152 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3907 | 12610856 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3907 | 12610856 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3961 | 12981896 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3998 | 13002264 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4730 | 15909984 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4730 | 15909984 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4745 | 16082920 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Pfsense
- Read 1388 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 412600 | {main}( ) | .../index.php:0 |
2 | 0.0773 | 4262520 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0773 | 4262520 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3699 | 11453512 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3705 | 11477792 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3713 | 11533120 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3715 | 11560520 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3798 | 11960152 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3798 | 11960152 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3907 | 12610856 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3907 | 12610856 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3961 | 12981896 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3998 | 13002264 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4730 | 15909984 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4730 | 15909984 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4745 | 16082920 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |