Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

open all port to host

Posted on 2006-11-15
4
234 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

856 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