顯示具有 硬體 標籤的文章。 顯示所有文章
顯示具有 硬體 標籤的文章。 顯示所有文章

2014年2月12日

允許 PPTP 連入採用 NAT 模式的 SSG 設備且只有一組 Public IP

環境:ScreenOS 5.0以上
問題:SSG設定為NAT模式,且只有一組 Public IP 作為 PPTP Service VIP

設定方式(CLI)
註: PPTP server private IP is 192.168.1.12 and in zone TRUST.
#啟用 vip multi-port,此步驟需要重新啟動設備(這個步驟很重要, 沒處理的話 PPTP 會無法撥通)
set vip multi-port [Enter]
save [Enter]
reset [Enter]

#新增一組自訂服務,CLI指令會設定出如下圖的服務
set service PPTPService group "other" 47 src 2048-2048 dst 2048-2048 [Enter]
set service PPTPService + tcp src 0-65535 dst 1723-1723 [Enter]
set interface ethernet0/0 vip 2048 PPTPService 192.168.1.12 [Enter]











#最後建立一條 inbound 規則
set policy from untrust to trust "any" "VIP::1" "PPTPService" permit [Enter]
save [Enter]


參考文獻
JUNIPER KB5471

2013年7月18日

Broadcad ADX1000 debug note


列出目前debug的資料,Debug message destination 表示要將訊息送到哪個終端機或syslog
ServerIronADX 1000# show debug
Debug message destination:  Console  
LACP: port debugging 65535 is turned on

列出目前登入的連線,建議使用兩個終端連線,一個下指令另一個顯示debug訊息
ServerIronADX 1000# show who
Console connections:
        established
        75 days 15 hours 8 minutes 55 seconds in idle
Telnet connections (inbound):
 1      established, client ip address xx.xx.xx.xx
        you are connecting to this session
        1 minutes 47 seconds in idle
 2      closed
 3      closed
 4      closed
 5      closed
Telnet connection (outbound):
 6      closed
SSH connections:
 1      closed
 2      closed
 3      closed
 4      closed
 5      closed

若要抓有關 1.2.3.4 的連線資訊
ServerIronADX 1000# debug ip tcp 1.2.3.4
ServerIronADX 1000# debug destination telnet 1 (1為telnet連線代號,由show who取得)

關閉debug功能
ServerIronADX 1000# undebug all

2011年6月1日

Brocade ADX1000 SNAT 筆記

Production 架構


問題症狀

以上圖的架構,RS之間無法透過ADX1000相互溝通(RS1 -> ADX1000 -> RS3),但直接互連是正常的(RS1 -> RS2)

問題原因解析



以步驟說明原因(上圖取自 ServerIron_1230_SLBGuide,假設上圖 client 是 production 的 RS1, real server 是 RS3)

1. RS1 透過 switch 連到 adx1000 上的 VS
2. adx1000 轉到後端的 RS3
3. RS3處理完封包後發現 RS1 與自己同一網段,就直接回傳給 RS1(bypass adx1000)
4. RS1 接收到封包後,發現由 RS3 發送過來的封包,來源 IP 與自己當時發出去的目的封包不同進而丟棄


應變方式

在需要相互溝通的 RS 加上 source-nat 設定(當然你也全域啟用 source-nat 讓所有的 RS 都啟用 source-nat 功能),讓 adx1000 改寫封包的來源 IP,以避免 bypass 問題。
ServerIronADX 1000(config)# server real rs1
ServerIronADX 1000(config-rs-rs1)# source-nat
ServerIronADX 1000(config-rs-rs1)# write memory
ServerIronADX 1000(config-rs-rs1)# end

補充

可定義某些來源IP做source-nat
ServerIronADX 1000(config)# access-list 1 permit 192.168.10.0 0.0.0.255
ServerIronADX 1000(config-rs-rs1)# source-nat access-list 1
ServerIronADX 1000(config-rs-rs1)# write memory
ServerIronADX 1000(config-rs-rs1)# end

參考文獻

ServerIron_1230_SLBGuide.pdf
有需要的人可以到 Brocade 官方網站下載

2011年4月14日

讓 Windows 2003 預載 ASUS RS300 E6/PS4內建Raid驅動

說到這個就覺得ASUS要出自動安裝光碟也有誠意一點,光碟竟然只有支援Win2008,剛好我一定要用Win2003,我試著用2003安裝光碟按F6新增驅動程式,但運氣不好系統找不到我的USB軟碟機,最後還是利用nLite自行製作安裝光碟才搞定。一整個覺得買華碩的東西是花錢受罪,自找麻煩,這篇提供有相同問題的人做參考囉

nLite的介紹可以參考這裡