Solved

open all port to host

Posted on 2006-11-15
4
232 Views
Last Modified: 2010-04-10
hi
if i use static nat in my pix to refer to my PC 172.16.14.130 in VLAN 14 to public 62.68.65.50 and i want to open all port to this IP (62.68.65.50) what command i use

thanks
0
Comment
Question by:nasemabdullaa
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17948080
Hi Again, it is simple;

static(inside,outside) 62.68.65.50 172.16.14.130 netmask 255.255.255.255

This makes all port to be forwarded to the address, now what all traffic you want to allow can be done using the access-lists

access-list OutsideIn permit tcp any host 62.68.65.50 eq www (for web)
access-list OutsideIn permit tcp any host 62.68.65.50 eq 3389 (for rdp)

finally;

access-group OutsideIn in interface outside

Cheers,
Rajesh
0
 

Author Comment

by:nasemabdullaa
ID: 17948135
hi  rsivanandan
thanks for your reply
i want to open all port in one command access list
can i get command to open all port in one access list command
i mean i do not want to open port then open another port

thanks
0
 
LVL 32

Accepted Solution

by:
rsivanandan earned 250 total points
ID: 17948219
Not suggested for security reasons, well if you want to go that way then;

access-list OutsideIn permit ip any host 62.68.65.50

access-list OutsideIn in interface outside

Cheers,
Rajesh
0
 

Author Comment

by:nasemabdullaa
ID: 17948262
hi  rsivanandan

thanks
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now