PFSense Konsolen Netzwerkeinstellungen: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
=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=
 
=Erstes Setup=
 
*Should VLANs be set up now [y|n]?n  
 
*Should VLANs be set up now [y|n]?n  
Zeile 35: Zeile 42:
 
</pre>
 
</pre>
 
*Enter an option:2
 
*Enter an option:2
 +
*[[PFSense 2) Set interface(s) IP address| 2) Set interface(s) IP address]]
 +
 +
;Entsprechned für die anderen Netze
 +
 +
=Resultat=
 
<pre>
 
<pre>
Available interfaces:
+
KVM Guest - Netgate Device ID: 2151ca91e52d2dc565fc
 +
 
 +
*** Welcome to pfSense 2.5.2-RELEASE (amd64) on pfSense ***
  
1 - WAN (vtnet0 - dhcp, dhcp6)
+
WAN (wan)       -> vtnet0    -> v4: 194.59.156.201/27
2 - LAN (vtnet1 - static)
+
  LAN (lan)       -> vtnet1    -> v4: 192.168.151.1/24
3 - OPT1 (vtnet2)
+
  OPT1 (opt1)    -> vtnet2    -> v4: 192.168.101.1/24
</pre>
+
 
*Enter the number of the interface you wish to configure: 1
+
0) Logout (SSH only)                  9) pfTop
*Configure IPv4 address WAN interface via DHCP? (y/n) n
+
  1) Assign Interfaces                10) Filter Logs
*Enter the new WAN IPv4 address.  Press <ENTER> for none:
+
  2) Set interface(s) IP address       11) Restart webConfigurator
> 194.59.156.201
+
  3) Reset webConfigurator password    12) PHP shell + pfSense tools
  Subnet masks are entered as bit counts (as in CIDR notation) in pfSense.
+
  4) Reset to factory defaults        13) Update from console
  e.g. 255.255.255.0 = 24
+
  5) Reboot system                    14) Enable Secure Shell (sshd)
      255.255.0.0  = 16
+
  6) Halt system                      15) Restore recent configuration
      255.0.0.0    = 8
+
  7) Ping host                        16) Restart PHP-FPM
*Enter the new WAN IPv4 subnet bit count (1 to 31):
+
  8) Shell
  > 27
 
*For a WAN, enter the new WAN IPv4 upstream gateway address.
 
*For a LAN, press <ENTER> for none:
 
  > 194.59.156.193
 
*Configure IPv6 address WAN interface via DHCP6? (y/n) n
 
*Enter the new WAN IPv6 address.  Press <ENTER> for none:
 
  >
 
  Disabling IPv4 DHCPD...
 
  Disabling IPv6 DHCPD...
 
*Do you want to revert to HTTP as the webConfigurator protocol? (y/n) y
 
<pre>
 
Please wait while the changes are saved to WAN...
 
  Reloading filter...
 
Reloading routing configuration...
 
  DHCPD...
 
  Restarting webConfigurator...
 
  
The IPv4 WAN address has been set to 194.59.156.201/27
+
Enter an option:
 
</pre>
 
</pre>
;Entsprechned für die anderen Netze
 

Aktuelle Version vom 13. Februar 2022, 09:21 Uhr

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: