顯示具有 pfSense 標籤的文章。 顯示所有文章
顯示具有 pfSense 標籤的文章。 顯示所有文章

2021年10月8日 星期五

pfSense內部看不到轉發出去的網站內容

 在pfSense上使用NAT的port forwarding功能讓內部網站轉給外部看到,但確出現外面的人可以透過pfSense使用網址直接看到網站,但在內網的人則沒辦法看到網站。例如:

  • 對外網站的WAN IP是1.2.3.4
  • 透過NAT的port forwarding,將80 port導入到內部網站10.2.3.4的80 port
  • 外面的人可以透過http://1.2.3.4:80看到內部網站http://10.2.3.4:80的內容
  • 內部的人無法透過http://1.2.3.4:80看到內部網站http://10.2.3.4:80的內容
    必須要使用內部網址http://10.2.3.4:80才能夠看到

問體起因於pfSense預設不讓內部設備讀取在WANport forwarding,官網提供兩種解法:

2021年3月4日 星期四

pfSense沒法更改LAN的IP

pfSense 2.5.0要修改LAN的IPv4位址時,出現下列錯誤訊息 

The Router Advertisements Server is active on this interface and it can be used only with a static IPv6 configuration. Please disable the Router Advertisements Server service on this interface first, then change the interface configuration.

點選 Service > DHCPv6 Server & RA時出現下面的提示訊息

The DHCPv6 Server can only be enabled on interfaces configured with a static IPv6 address. This system has none.

因而無法更改LAN的IPv4位置,處置方法如下

2021年3月3日 星期三

pfSense一張卡設定多個IP

 pfSense 2.5.0一張卡設定多個IP可以用Virtual IPs,步驟如下

  1. Firewall > Virtual IPs
  2. 點+Add
  3. Type選 IP Alias
  4. Interface選要修改的網卡,這邊可以是WAN或LAN
  5. 輸入要修改的 IP address 與遮罩 mask
  6. 點選 Applied Change

_EOF_