10-06-2008 03:01 AM - edited 03-11-2019 06:53 AM
Hi,
I have pix firewall with 7.x version. I have advertised my web/mail servers.
I am doing source base nat, I am translating all Internet traffic that is accessing the web/email server into one source
172.28.29.1.
But i am having problem. IF i do the source nat servers are not able to access Internet, though they are able to access over
the Internet. If I remove the Source NAT, they are able to published as well as can browse the Internet. I dont wana allow
any Internet source to access my server. I want to have only translated source to enter my internal network.
Below is the configuration:
access-list reverse_nat extended permit ip any host x.x.x.x
nat (outside) 5 access-list reverse_nat outside
global (inside) 5 172.28.29.1 netmask 255.255.255.255
static (inside,outside) x.x.x.x 172.1.2.3 netmask 255.255.255.255
access-list outside_acl extended permit tcp any host x.x.x.x eq www
access-list outside_acl extended permit tcp any host x.x.x.x eq http
Please help me out how to achieve this and what i m missing.
10-06-2008 11:34 AM
Let`s say server 172.1.2.3 wants to access the internet, packet goes out and hit the static translation. IP source is now x.x.x.x and destination is unchanged y.y.y.y . When responce gets back, source is y.y.y.y and destination is x.x.x.x. It hit your policy nat and your static nat. Source is now 178.28.29.1 and destination is x.x.x.x. Wont work that way...
10-08-2008 04:03 AM
Thanks for the excellent explaination.
Is there any solution or way out to achieve my goal. Both Server publishing with source nat and Internet Browsing.
10-08-2008 04:50 AM
At first glance,you could do your reverse nat with a static statement specific to the tcp port 80 and 25. This is now your everyday config and you might have some problem.
Why are you trying to reverse nat incomming connection. What kind of attack are you trying to mitigate.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide