07-12-2003 09:48 PM - edited 03-09-2019 04:00 AM
in the ip nat source static in my router, there is the EXTENDABLE option after the port number..what is the equivalent of that in my PIX? I have to permit the same in my firewall.
Thanks a lot.
07-13-2003 01:05 AM
Hello Erwin,
The answer to your question is static translation(see point 2 below) the static cmd is used to map outside address to the inside address and youll need a access-list (ACL) to allow the outside traffic into your inside network.
What sort of service are you trying to permit via your firewall? What PIX IOS are you running? If its any of the following services then please use the ACLs below.
The best way to write the ACL would be on a text-editor first such as notepad and then use copy and paste back onto the PIX config, makesure that you are in PIX config mode. Also, remember to save your config with cmd : wr m (write memory), and remember to place a no access-list outbound cmd as the first line of your modified ACL, this way when you paste back the ACL the old copy (if any) will be replaced correctly with the new copy of the ACL.
Use cmd clear xlate after you have made the modifications on your PIX.
The ACLs below are for www access, https access, pop3/smtp access and domain access, you can modify them for your own use.
If you need to let traffic back in then please follow the instructions on point 2 below.
1 - ACL for outbound connections:
access-list outbound remark www
access-list outbound permit tcp 192.168.10.0 255.255.255.0 any eq www
access-list outbound permit tcp 192.168.10.0 255.255.255.0 any eq https
access-list outbound remark email
access-list outbound permit tcp 192.168.10.0 255.255.255.0 any eq pop3
access-list outbound permit tcp 192.168.10.0 255.255.255.0 any eq smtp
access-list outbound remark ns
access-list outbound permit tcp 192.168.10.0 255.255.255.0 any eq domain
access-list outbound permit udp 192.168.10.0 255.255.255.0 any eq domain
access-group outbound in interface inside
If you use inside local servers (proxy, NS, SMTP) use only host address in these access-lists.
2 - SMTP
Dont forget to open inbound connection for incoming emails on outside interface.
static (inside,outside)
access-list inbound permit tcp any host
access-group inbound in interface outside
Hope this helps -
07-13-2003 10:13 PM
I dont have any problem with what you have discussed above..My only concern as i've posted on my original queery is the counterpart in PIX of the EXTENDABLE port option in the router. The router has the ff. command
ip nat source static tcp 192.168.150.1 397 IP(public) 397 extendable
How will i allow the same in my PIX
Thanks.
07-15-2003 08:14 AM
Sorry to interupt here, but what does "extendable" mean? I had to use it to get static nat working on my router, but I don't know why or what it does..(?)
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