PFSense Konsolen Netzwerkeinstellungen

Aus xinux.net
Zur Navigation springen Zur Suche springen

Die Idee

  • Grundsetup der Netzwerkschnittstellen
  • Auswahl WAN, LAN und OPT (später DMZ)
  • Default Gateway
  • DHCP Grundkonfiguration
  • PFSense danach über das Lan Interface per Web administrierbar

Erstes Setup

  • Should VLANs be set up now [y|n]?n
  • Enter the WAN interface name or 'a' for auto-detection
(vtnet0 vtnet1 vtnet2 or a): vtnet0
  • Enter the LAN interface name or 'a' for auto-detection
NOTE: this enables full Firewalling/NAT mode.
(vtnet1 vtnet2 a or nothing if finished): vtnet1
  • Enter the Optional 1 interface name or 'a' for auto-detection
(vtnet2 a or nothing if finished): vtnet2
WAN  -> vtnet0
LAN  -> vtnet1
OPT1 -> vtnet2
  • Do you want to proceed [y|n]? y

Grundeinstellung

KVM Guest - Netgate Device ID: 2151ca91e52d2dc565fc

*** Welcome to pfSense 2.5.2-RELEASE (amd64) on pfSense ***

 WAN (wan)       -> vtnet0     -> v4/DHCP4: 194.59.156.217
 LAN (lan)       -> vtnet1     -> v4: 192.168.1.1/24
 OPT1 (opt1)     -> vtnet2     -> 

 0) Logout (SSH only)                  9) pfTop
 1) Assign Interfaces                 10) Filter Logs
 2) Set interface(s) IP address       11) Restart webConfigurator
 3) Reset webConfigurator password    12) PHP shell + pfSense tools
 4) Reset to factory defaults         13) Update from console
 5) Reboot system                     14) Enable Secure Shell (sshd)
 6) Halt system                       15) Restore recent configuration
 7) Ping host                         16) Restart PHP-FPM
 8) Shell
Entsprechned für die anderen Netze

Resultat

KVM Guest - Netgate Device ID: 2151ca91e52d2dc565fc

*** Welcome to pfSense 2.5.2-RELEASE (amd64) on pfSense ***

 WAN (wan)       -> vtnet0     -> v4: 194.59.156.201/27
 LAN (lan)       -> vtnet1     -> v4: 192.168.151.1/24
 OPT1 (opt1)     -> vtnet2     -> v4: 192.168.101.1/24

 0) Logout (SSH only)                  9) pfTop
 1) Assign Interfaces                 10) Filter Logs
 2) Set interface(s) IP address       11) Restart webConfigurator
 3) Reset webConfigurator password    12) PHP shell + pfSense tools
 4) Reset to factory defaults         13) Update from console
 5) Reboot system                     14) Enable Secure Shell (sshd)
 6) Halt system                       15) Restore recent configuration
 7) Ping host                         16) Restart PHP-FPM
 8) Shell

Enter an option: