- 论坛徽章:
- 0
|
1:为什么会是dmz2呢?
![]()
From this scenario, you will need static command statements to let outside users access the dmz3 web server and for dmz1 and dmz2 users to access the web server. You will need a nat command statement to let inside and dmz4 users access the dmz3 web server.
For the mail server, you will need static command statements for access from the outside, dmz1, and dmz2, dmz3, and dmz4 interfaces.
Provide access from the outside to the inside mail server with these commands:
static (inside,outside) 209.165.201.4 192.168.0.3 netmask 255.255.255.255
access-list acl_out permit tcp any host 209.165.201.4 eq smtp
access-group acl_out in interface outside
These commands create a global address of 209.165.201.4 that PIX Firewall maps to the 192.168.0.3 mail server on the dmz2 interface. The access-list command statement permits any outside users to access the mail server at the SMTP port (25). The access-group command statement binds the mail server permission to the outside interface.
You will need to inform your DNS administrator to create an MX record for the global address (such as 209.165.201.4) so that mail is directed to the correct address.
为什么会Map到dmz2呢?
原文:http://www.cisco.com/en/US/produ ... 08cd36.html#1020898
2:这2个掩码为什么这样用?
Use the PIX Firewall telnet command.For example, to let a host on the internal interface with an address of 192.168.1.2 access the PIX Firewall.enter:
telnet 192.168.1.2 255.255.255.255 inside
If IPSec is in place,you can let a host on the outside interface access the PIX Firewall console.Refer to "Securing a Telnet Connection on the Outside Interface" for more information.Use a command such as the following:
telnet 209.165.200.225 255.255.255.224 outside
不明白显示红部分的掩码为什么会有所不同:1:telnet 192.168.1.2 255.255.255.255 inside的掩码为255.255.255.255就是说只允许192.168.1.2来Telnet PIX.255.255.255.255 代表只是一个地址终端,而不是一段网络。
2:可是telnet 209.165.200.225 255.255.255.224 outside中为什么却是255.255.255.224呢?
上面的例子在原文中step12:
http://www.cisco.com/univercd/cc ... 0/config/config.pdf |
|