10-31-2008 02:28 PM
Here is my simple configuration
DSL=>Switch---(untrust:eth3)__NetScreen204__(trust
The Ip address are:
eth3: 72.xx.xxx.xxx/13
eth1: 10.100.2.183/16
I have a web-server running on solaris with public ip 72.xx.xxx.xxx. I followed the guide on howto NAT-src from Egress Interface IP address to implement NAT.
My problem is that when I ping from network device connected in eth1 to my DNS server it is not responding.The packet is being dropper somewhere.
10-31-2008 03:03 PM
Could you please explain how your policies are setup ? Do you see any logging on this ?
I asume the device in trust has a DG pointing to eth1 and the solaris server is the dns server ?
11-02-2008 06:05 AM
11-02-2008 10:26 PM
Do you have MIP's configured on the firewall? Is the Trust interface setup in NAT mode (default) or Route mode?
If you have MIP's on the eth3, your policy needs to read from : untrust to trust any mip(73.x.x.x) dns permit.
11-03-2008 08:54 AM
Thanks for your replies above. I am starting it over again from the very basic.
The following are the interfaces:
ethernet1: Static Ip/Netmask:10.100.2.183/16
zone:trust
Interface Mode:NAT
ethernet3: Static Ip/Netmask:72.85.***.**/13
zone:untrust
VIP:72.85.***.** (This is the registered public domain name of my web server and is on the same network as untrust!)
The policies are:
Untrust to Trust: Source:Any
Destination:Any
Service:Any
Untrust to Trust: Source:Any
Destination:VIP(72.85.***.**)
Service:Any
Action:Permit
Trust to Untrust: Source:Any
Destination:Any
Service:Any
I am running a web server with private IP address 10.100.2.184. Its public domain name is registered with IP address of 72.85.***.** which is in the same network as the untrust. I can ping from 10.100.2.184 to 72.85.***.** but not to the DNS server. Also, when I ping from 72.85.***.** to 10.100.2.184, it is not responding.
The System Log Event shows the policies I have modified and is not very informative. There is no MIP configured on the firewall.
11-03-2008 09:50 AM
Also, I can see the following message on the most recent alarms:
2003-11-21 20:59:30 crit VIP server 10.100.2.84 cannot be contacted.
2003-11-20 22:06:59 crit DNS server is not configured.
2003-11-20 22:06:59 crit DNS server is not configured.
2003-11-20 22:06:59 crit DNS server is not configured.
2003-11-20 22:06:59 crit DNS server is not configured.
I am relatively new to this so I appreciate your patience. I will try to supply more details.
Thanks
11-03-2008 11:59 AM
The first policy will never work, the trust interface is in NAT mode for one. The second policy is using a VIP (MIP's are preffered). VIP's are used for what some call port forwarding. As it appears that you have a /13 you should be using MIP's. Remove the second policy, remove the VIP, and then create a MIP. Then recreate the incoming policy using that new MIP. If you allow ping from untrust to trust using that MIP, then it will respond. The CLI would look like this:
set policy from untrust to trust any MIP(72.85.***
Then once that policy is created, HTTP should be allowed, then you can add up to 32 service objects against that policy.
Let's start there and get your head wrapped around this initial problem. Please consider reading the Concepts and Examples for initial configuration of your box.
11-03-2008 12:14 PM
Besides the fact that a MIP would be more suitable in the case of a /13 (that is, if you can use those addresses) a VIP should work.
The first policy is actually in the way for the second policy to work. Basic rule of most firewalls is that the policies/rules are processed sequentially. Meaning the first rule is accepting all the traffic while not translating anything to the private IP address (you need a MIP or VIP in the policy for that). So the second rule which contains the translation doesn't recieve the traffic, because it is already processed on rule 1.
What does the configuration of you VIP look like ? (under interfaces -> untrust -> VIP).
11-03-2008 12:53 PM
11-03-2008 01:34 PM
Like you guys suggested, I deleted the first 2 policies (including VIP) and set MIP (72.85.***.**) on ethernet3.
Now I can ping from outside side host to the 10.100.2.184. But when I ping from 10.100.2.184 to the outside it is failing. My current policy for the outbound traffic (Trust to Untrust) is
Source: Any
Destination: Any
Service: Any
NAT: Enabled