【求助】請教CISCO PIX防火牆的設定 - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網 路 硬 體 版


PCZONE 討論區



通知

-- 網 路 硬 體 版 "網路卡" , "HUB" ,"Switch","無線網路產品","頻寬分享器" 等網路硬體產品

會員
【求助】請教CISCO PIX防火牆的設定
請教一下各位先進:

我公司內部有一台機器,想要開port出去,不知道指令該如何下?
比如說內部機器為 192.168.1.100,要開放25(SMTP)

另外要是全開放,也就是全部通透,內到外port全開,指令為何?

謝謝各位∼

回覆
www.ublink.org

建議使用PDM最簡單
回覆
會員

不好意思...小弟剛接觸PIX!
可以說的詳細一點嗎?

若是用指令,該如何去下呢?
回覆
會員

要先建ACCESS-LIST

access-list 1 permit tcp any host X.X.X.X eq 25
不過X.X.X.X要用PUBLIC IP吧??!!
然後再套用入INTERFACE中

access-group 1 in interface outside
(outbound名稱)
剛開始真的用PDM比較容易,PDM就是PIX的WEB介面,不過也是要先指定給哪個IP用PDM

pdm location 192.168.1.100 255.255.255.255 inside
(inbound name)
這是指只有192.168.1.100才能用PDM連入
我懂得也不多,說的不對,請勿見怪!!!
回覆
會員

嗯....謝謝popeye兄的回覆!
我再試試!
回覆
會員
回覆: 【求助】請教CISCO PIX防火牆的設定
引用:
最初由 windpp 發表
請教一下各位先進:

我公司內部有一台機器,想要開port出去,不知道指令該如何下?
比如說內部機器為 192.168.1.100,要開放25(SMTP)

另外要是全開放,也就是全部通透,內到外port全開,指令為何?

謝謝各位∼
Sorry I can only use English.

For better PIX OS support, you better post your config file. And let people know your PIX OS version/PIX model. Different version/model has different functions to complete your job.

Let me assume you are using 6.1(x). If you want to open an smtp port 25 to a host IP 192.168.2.10 and you have a static IP 24.44.44.44(I make it up.) doing PAT for you.

First, you permit smtp type packets come in.

access-list 102 permit tcp any any eq smtp

Second, you static packets to the host you want.

static (inside,outside) tcp 24.44.44.44 host smtp 192.168.2.10 smtp netmask 255.255.255.255 0 0

Don't forget make access-list effect by using following command.

nat (inside) 0 access-list 102

It's a good practice to use access-list and static rather than access-list and conduit due to CISCO tend to phase out conduit command support(It's no longer availabe in PIX OS 6.3(x) as I recalled.)

If your PIX has DMZ zone, you can also use DMZ to put your host so you can make your box open.(You need to at least has a 3 NIC interface cards PIX to do that.)


After you test it. Don't forget write config to memory!!

I'm no CCNE guy, but this is based on my field exp. So it may not accurate but idea is good.

Best regards


Calvin
回覆
會員

Thanks for your reply.....

回覆







 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。