Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIX 501 - Create static routes when DHCP is on outside interface 1

Status
Not open for further replies.

whocares23

Technical User
Oct 21, 2006
13
US
Need to setup access to a port on a computer on the inside of the PIX from anywhere outside. "access-list outside_acl permit tcp any host 192.168.1.2 eq 1585" would do that, wouldn't it? I would also need a static command, something like "static (inside,outside) <outside ip> 192.168.1.2 netmask 255.255.255.255 0 0 wouldn't I? If I do, how is it scripted when the outside interface is "ip address outside dhcp setroute" Any help much appreciated.
 
Hello
Try also posting in the Pix forum .Anyway what you want to do is possible even with dhcp on the outside interface.Your idea is correct,you just have to put in the command "interface" .

PIX1(config)# static (inside, outside) tcp interface 1585 192.168.1.2 1585
PIX1(config)#access-list outside_acl permit tcp any host 192.168.1.2 eq 1585

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top