Email Port Open for ASA5505

Hi all ;
Just posted a question that when I want to let email to come through the ASA5505 from outside to DMZ and Inside network, are the below command lines correct and good enough?
access-list  outside_DMZ extended permit tcp outside-network-ip dmz-network-ip eq imap4
access-list outside_DMZ extended permit tcp outside-network-ip dmz-network-ip eq pop3
access-list outside_DMZ extended permit tcp outside-network-ip dmz-network-ip eq smtp
access-list outside_inside extended permit tcp outside-network-ip inside-network-ip eq imap4
access-list outside_inside extended permit tcp outside-network-ip inside-network-ip eq pop3
access-list outside_inside extended permit tcp outside-network-ip inside-network-ip eq smtp
access-group outside_DMZ in interface outside
access-group outside _inside interface outside
Are there any other TCP ports want to be allowed and other command lines need to be added?
Thanks!
Regards,
tangsuan

Hi Jcarvaja :
Thanks for your reply!
1. For inside to outside, I have used a dynamic nat as below :
nat (inside) 20 192.168.100.0 255.255.255.0
global (outside) 20 192.168.50.171-192.168.50.180
As such, it should be not necessary for static one to one from inside to outside, right?
2. For dmz to outside, I use the static nat and so each individual mapped IP is need to create. For example :
static (dmz,outside) 192.168.20.x 192.168.50.x netmask 255.255.255.255
whereby 192.168.20.x is host at outside network and 192.168.50.x is at dmz network. This will be ok, right?
3. As for the ACL, I can group all the hosts (servers or stations) at dmz and inside and applied one ALC as below :
access-list Email_in extended permit tcp object-group Outside_Network object-group hosts_dmz_inside eq smtp
access-list Email_in extended permit tcp object-group Outside_Network object-group hosts_dmz_inside eq pop3
access-list Email_in extended permit tcp object-group Outside_Network object-group hosts_dmz_inside eq imap4
Let me know is it any problem, thanks!
regards,
tangsuan

Similar Messages

  • Multiple port opened for one db connection.

    My java standalone server connects to sql server via MS sql JDBC driver(v 2.2). I saw so many port in Time_wait state to the db server in netstat. I did some search on the internet, found that this the nature of TCP/IP protocol. and we can live with it without modifying Windows config.
    however, I noticed on my side, there are two ports involved for each database connection. I think this is one of the reasons I have so many ports in Time_wait state.
    To me, it seems like the request to db server is done on one port, the response from db server is done on another port. is this implemented on JDBC driver layer or on sql server?
    please help !!!

    I saw so many port in Time_wait state to the db server in netstat. This suggests that you are not using any type of connection pooling, but instead are opening and closing connections pretty quickly, although it depends on what you mean by "many"; 10 or 100 might be a good number for a busy system, depending on your application. On some operating systems under high load, it could potentially be a problem if you are getting into many hundreds or thousands, but other issues usually drive people to using connection pools long before this issue would.
    however, I noticed on my side, there are two ports involved for each database
    connection. I think this is one of the reasons I have so many ports in Time_wait state.Not really. That might double the number, but the real reason is a lot of connection closes (real connection closes, not closes on a pooled connection).
    To me, it seems like the request to db server is done on one port,
    the response from db server is done on another port.
    is this implemented on JDBC driver layer or on sql server?That is totally up to the driver vendor; there's nothing you can do about it.
    please help !!!I'm not sure what you're problem really is - you might be worrying about something that isn't a problem. Is something bad happening that you're trying to fix, or did you just notice these expiring ports and start worrying about them?

  • Regarding ports opening for patching client machine in DMZ.

    Hi ,
    Regarding SCCM patching to Client Machine on DMZ.
    I have SCCM server and WSUS server
    both are different machines.My software update point is configured to port 8530.
    I have a client machine in DMZ and want to do patching for the DMZ machine.
    Ports opened from my DMZ machine to SCCM server are 445,135,80,443,8530
    1.Do the above ports are fine to do patching ?
    2.Do we require communication between DMZ and SCCM server on port 8530 for patching on DMZ machine?
    Regards,
    Arjun

    Hi Arjun,
    The answer to the first question you will find in the link Torsten posted.
    The answer to the second question: Whether you should open port 8530 depends on where your Software Update Point and where the Site Server are. It must be opened for the following communication:
    Client -- > Software Update Point
    Site Server < -- > Software Update Point
    Software Update Point -- > Upstream WSUS Server
    If you have only a client in DMZ the port must be opened for the communication with the SUP.
    Regarding the 3rd statement: If you are not able to telnet to the port on the server, this would mean that the communication is blocked somehow. You must make sure, that you are able to telnet to it.
    Hope this helps. Regards,
    Stoyan

  • Keep a Socket Server connection/port open for incoming requests

    Hi,
    I have a socket server which listens to the incoming messages. The problem is that the socket server terminates the socket connection once it receives a message.
    I want this Socket server to keep on running and process all the requests it receives.
    Can you please advise which stream shall be kept open for this to be achieved? Below is the code for your reference.
    Thanks!
    import java.net.*;
    import java.io.*;
    public class SocketServer
         public static void main(String[] args) throws IOException
                 ServerSocket serverSocket = null;
                 String result = null;
                 SocketServer sockServer = new SocketServer();
                 try
                          serverSocket = new ServerSocket(4444);
                 catch (IOException e)
                          System.exit(1);
                 Socket clientSocket = null;
                 try
                      clientSocket = serverSocket.accept();
                          clientSocket.setSoTimeout(30000);
                 catch (IOException e)
                      System.exit(1);
                 PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
                 BufferedReader in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
                 String inputLine;
                 inputLine = in.readLine();
                 if((inputLine == null) || (inputLine.length() < 1))
                          throw new IOException("could not read from request stream");
                 else
                          result = sockServer.parseString(inputLine);
                          out.println("|0|OK|");
              InputStream is = null;
                  FileOutputStream fout=null;
                  BufferedInputStream bufIn = null;
                  HttpURLConnection con = null;
                  ByteArrayOutputStream baos = null;
                    try
                   URL url = new URL("http","10.176.96.64",8080,result);
                   con = (HttpURLConnection)url.openConnection();
                   is = con.getInputStream();
                   bufIn = new BufferedInputStream(is);
                   fout=new FileOutputStream("Z:\\Clips\\Cache\\"+result);
                   baos = new ByteArrayOutputStream();
                   int c = bufIn.read();
                   while(c != -1)
                        baos.write(c);
                        c = bufIn.read();
                   baos.writeTo(fout);
              catch(MalformedURLException mue)
                   System.err.println ("*********In Download File: Invalid URL");
              catch (IOException ioe)
                   System.err.println ("*********In Download File: I/O Error - " + ioe);
              finally
                   try
                        baos.close();
                        bufIn.close();
                        fout.close();
                        is.close();
                        con.disconnect();
                   catch(Exception ex)
                        System.out.println("*********In Download File: Exception Occured: "+ex.toString());
                      out.close();
                      in.close();
                      clientSocket.close();
                      serverSocket.close();
    }

    In a truly unexpected turn of events.. this question has been crossposted.
    http://forum.java.sun.com/thread.jspa?threadID=5127579
    Good job singalg. I highly recommend that instead of accepting that there is anything wrong with your understanding of how this should work and reviewing the tutorials you should instead repost this question daily, Each day choosing a different forum.

  • Need alternative port open for VIPs on ACE

    My ACE is almost completely configured - with VIPs, farms, real servers, redirects etc. Port 80 and 443 are working as expected and web requests are getting routed appropriately.
    The need has arisen however, to allow a non-traditional port to be allowed/open to certain websites (to certain VIPs). (As some background - this is an SFTP style client based connection. ) 
    My ACL configuration is open - ip any any - but i even created one specific to this port number. (let's just say it's 7777 for now). I've done captures on the firewall to make sure that traffic from external requests is getting through it, and when I try to connect to the real server address (either NATed or internally), it connects just fine. I am unable to see the connection attempts in the logging on the ACE and the error message that the client app gets is "connection refused"
    I'm not good with policy maps or class maps, so I'm not sure if that's where I need to be looking. I suppose that the issue is at the VIP level though since the server IPs work fine, so I need to understand what gets processed via that IP that doesn't via the others.
    So if I currently have websites on the ACE configured to accept, redirect, and loadbalance for port 80 and 443, but I now need them to do the same on port 7777, what changes need to be applied and where?
    I can paste any config info if someone can help me. Thanks.

    Good afternoon,
    This new port would be a completely new VIP, so, you would need to create a new class-map for it.
    Daniel

  • Ports opening for aMule

    Hi all.
    I have been reading all posts but no solution found for opening ports when using aMule. I have a PC which works fine and gets high Id when connecting to eMule. I have installed aMule for mac and when launching this app. a message appears telling me that port "xx", or any other has no chance to get opened :"port #x not available", no matter which port I try with. I mean: PC works fine with the same router than Mac does not.
    Thanks in advance. (I am a rookie in Mac).
    P.S: I forgot mentioning that firewall (Mac) was yet disabled.
    Message was edited by: anseso

    Be sure your firewall settings are correct (System Preferences > Security > Firewall > Advanced).
    Do not use the "Block all incoming connections" setting.
    Use the "Automatically allow signed software to receive incoming connections" setting.
    "Enable stealth mode" is optional.

  • Port opening on time capsule

    Dear all, I know there are posts on this already, but there is none that worked for me. I use TC (and therefore airport) as a router. It is ethernet connected to the cable modem, and to a PC running ubuntu. I connect wifi with my macbook air. I recently installed the WakeOnLan on my pc, and I decided I wanted also WakeOnWan; here it is when I found out my TC doesn't open doors. If I follow all the guides (NAT, NAT mapping, Assigned IP...) I can only transform them form closed to stealth according to the GRC.com test, and they are not seen as open by any other web service. I need port opened for p2p and for this magic packet to be sent through the router to the LAN card. Can anyone help me, please?
    Thank you very much in advance.

    To forward ports on your TC follow the directions below. This should work assuming there is no other firewall; either by your internet provider, cable modem, or the computer.
    To forward ports on your TC, open Airport Utility, select TC and then Manual Setup. Choose the Advanced Tab (or press 'command' '6') and then Port Mapping. From here, click the + box to add a port configuration. You can then select from a list of common port configurations or enter your own combination. You need the port information to open from WAN side - goes into the public ports. The computer local IP address - goes into private IP address field. Usually enter the same port(s) as public go into private ports section. You should follow the directions by the provider as to what ports to open. You can select a range by using the dash (example: 3200-3300) or separate by commas (21,548,3283) or use both methods combined. If you don't have experience or understand what doing this does, you should search the internet for information about the possible security risks by opening public ports. (Just an FYI)

  • Can't get SMTP to accetp outside email (port 25 not open)

    Hi,
    I've got the xServer 10.4 (latest) and it appears to be working fine in all other regards.
    I have the mail service on (POP and IMAP both work fine) - I can send myself email using the UNIX command line mail (and get it through POP).
    But I cannot send email either from my client through the xserver or from another account to the xServer - I'll get the message 'cannot send email for 8 hours...'
    A quick port scan shows port 25 is not open (not can I telnet to it). But server admin shows it's running and appears to be happy (it's not over worked anyway).
    Any tips would be greatly aprciated.
    postconf -n says:
    declan:~ frankf$ postconf -n
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = localhost
    localrecipientmaps =
    luser_relay = frank
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    messagesizelimit = 10485760
    mydomain = declan.com
    mydomain_fallback = localhost
    myhostname = home.declan.com
    mynetworks = 127.0.0.1/32,192.168.0.1/24
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost = mail.pacbell.net
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdpw_server_securityoptions = gssapi,cram-md5,plain,login
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/certificates/Default.crt
    smtpdtls_keyfile = /etc/certificates/Default.key
    smtpduse_pwserver = yes
    smtpdusetls = no
    unknownlocal_recipient_rejectcode = 550
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp

    May help if you can answer these questions.
    1) Did you set this up with the server admin tools or
    have you edited any of the config files?
    100% admin tools - this is even a new install. I'm not shy about editing config files but I figured Server Admin was easier and I can't see anything obviously wrong (not that I know that much about it)
    2) Did you telent to port 25 using the IP address?
    yes, no connection
    3) Did you telent to port 25 using the Server Name?
    yes, no connection
    using port scan of the network utilities shows other ports open, just not 25. Output:
    Port Scanning host: 192.168.0.2
    Open TCP Port: 22 ssh
    Open TCP Port: 53 domain
    Open TCP Port: 80 http
    Open TCP Port: 110 pop3
    Open TCP Port: 143 imap
    and so on.
    4) What domain do you think you are trying to host
    mail?
    Well several (I have the viirtural domains turned on) but declan.com will be the main one, right now it's also home.declan.com and donaldgevans.com.
    From the information you posted (unless you edited
    it) it is not clear how your networks are configured
    or what the server is being asked to host. Answers
    to the above will help clarify these points as even
    if you fix this problem, you may have others.
    OK - this is a fixed IP on the internet, going through a firewall (host mapping, everything passed through to this server which is 192.168.0.2). But I think this is less the issue - I can ssh, http, POP, IMAP to this server from either inside or outside the network. I cannot telnet to port 25 by IP or domain name either inside or outside so I assume it's not the network; it's because port 25 is not open.
    Frank

  • Email not opening This is a sudden thing, Email had been working fine for two months then today would not stay open now it will not open at all. after trying to open mail I receive a white screen for a nano second and the app closes

    Email not opening on my iPad2 This is a sudden thing, email had been working fine since purchasing the device then today would not stay open,  now it will not open at all. After trying to open mail I receive a white screen for a nano second and the app closes.

    Have you tried closing the Mail app completely ? From the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn'

    My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn't work either. Thanks for any help.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Which ports and ACL ( servers) need to be opened for Jabber Video

    Hi All,
    We are Cisco partners ( ODC at Aricent New Delhi India)  working for multiple Cisco projects.
    We want to use Jabber Video for communication but as partners ACL ( Server/ports ) need to be opened to access the Jabber video servers.
    Can somebody list me all the Jabber Server/Ports to which Jabber client need access to.
    Can somebody please respond asap as we have opened an EXAM case for opening the ACL and need the list asap.
    Thanks
    Saurabh    

    Thanks Hoan for the quick reply it answers part of my question.
    I also want to know for succeessful video calls which all servers i need access to for eg first it tries on
    https://sjc1-movi-pr-bootproxy-vip.ciscojabbervideo.com/endpoint/configuration
    then it goes to another server's for logging in etc.
    I  want to know the list of all servers so that ACL's can be opened for them.
    Thanks
    SAurabh    

  • Need step by step to get port 48705 open for Panasonic Bluray

    Classic handoff syndrome.  Brand new Panasonic Bluray connected to internet out of the box with Airport Extreme, streamed fast. Imac running Snow Leopard. 
    Updated Panasonic firmware and no connections.  Panasonic tech tried for a half hour and concluded that I needed my ISP to open port 80, 443 and 48075.  I think that 80 and 443 are open by default. Resetting the settings and the player did nothing....gateway: fail. There is no way to undo the firmware update.
    Call India and Verizon says that they cannot assist me with AEBSn just Verizon routers.  All searches for this problem give directions with too many blanks that I don't have the info to fill in.  Below is an example of an attempt in the community to help.  I wouldn't know where to find the <missing info> . I couldn't find the port mapping tab in this version....help would be appreciated.
    Tesserax
    Re: how can you perform a Port Forwarding Procedure on Ports 48705, 443 and 80 so my Blu Ray player will be able get and IP address and connected to your gateway. 
    Oct 1, 2011 11:22 PM (in response to doc9850)
    Again, you would only need to configure for port mapping if you intend on accessing the Blu-ray player from a remote location.
    Port mapping takes two basic steps:
    Either assign a static Private IP address or use the AirPort's ability to allow DHCP to assign a reserved IP address to the Blu-Ray player, and
    Configure the AirPort, using the AirPort Utility, for the proper ports to map.
    The following are the basics for setting up one of the newer 802.11n AirPorts for port mapping/forwarding: AEBSn - Port Mapping SetupTo setup port mapping on an 802.11n AirPort Extreme Base Station (AEBSn), either connect to the AEBSn's wireless network or temporarily connect directly, using an Ethernet cable, to one of the LAN port of the AEBSn, and then use the AirPort Utility, in Manual Setup, to make these settings: 1. Reserve a DHCP-provided IP address for the host device.AirPort Utility > Select the AEBSn > Manual Setup > Internet > DHCP tab
    On the DHCP tab, click the "+" (Add) button to enter DHCP Reservations.
    Description: <enter the desired description of the host device>
    Reserve address by: MAC Address
    Click Continue.
    MAC Address: <enter the MAC hardware address of the Blu-ray player>
    IPv4 Address: <enter the desired IP address>
    Click Done.
    2. Setup Port Mapping on the AEBSn.AirPort Utility > Select the AEBSn > Manual Setup >Advanced > Port Mapping tab
    Click the "+" (Add) button
    Service: <choose the appropriate service from the Service pop-up menu>
    Public UDP Port(s): <enter the appropriate UDP port values>
    Public TCP Port(s): <enter the appropriate TCP port values>
    Private IP Address: <enter the IP address of the Blu-ray player>
    Private UDP Port(s): <enter the same as Public UDP Ports or your choice>
    Private TCP Port(s): <enter the same as Public TCP Ports or your choice>
    Click "Continue"
    AirPort Utility Port Forwarding for AE is not an intuitive app. It is version 5.6.1 which is up to date for SL.
    http://www.google.com/search?client=safari&rls=en&q=48705+port&ie=UTF-8&oe=UTF-8  shows that other people are needing to do this with various routers.
    The player is Panasonic DMP-BDT500 Integrated Wi-Fi 3D Blu-ray DVD Player
    FYI, the player plays disks beautifully.
    Thanks for any help.
    David

    My problem seems to be that my AirPort Utility does not have Port Mapping under the Advanced Tab.
    This tells us that you have another router "upstream" on your network, which you may call your modem, but it is in fact a modem/router or gateway type of device. 
    The AirPort Extreme is configured correctly in Bridge Mode to work with this type of device on your network.
    You can verify this by clicking the Internet icon, then clicking the Internet Connection tab. You will see that the setting for Connection Sharing is set to ""Off (Bridge Mode)". That means that the AirPort is not providing the routing services for your network.
    Your modem/router or gateway is the device that will need to be configured for port forwarding / mapping.....not the AirPort Extreme.
    I am sure that Tesserax will have similar comments.

  • TS2709 I can't get Apple Tv to sync.  I have opened a port (3689) for itunes sharing but it has not solved the issue.  Any ideas?

    I can't get Apple Tv to sync.  I have opened a port (3689) for itunes sharing but it has not solved the issue.  Any ideas?

    do you mean sync or shared lib?
    because unless you have the old silver alu appletv with a harddisk sync is not possible at all

  • Open port(s) for StreamToMe?

    I recently installed ServeToMe on my a and it says it's running fine. I then installed the StreamToMe companion app on my iPAd but it doesn't find the ServeToMe server, even if I manually enter the IP and port.
    The ServeToMe instructions say that "ServeToMe uses port TCP 9969 for incoming traffic," and "Bonjour uses UDP port 5353 for incoming traffic. Both of these ports must be open for connections through any firewall on your Mac/PC and routers between your device and computer."
    I turned off the firewall on the mac, as a test, and it still doesn't work. As a result, I'm thinking I need to make some changes to my APE but I'm not sure.
    Any guidance would be appreciated.
    Thanks!

    Does anybody know what the port numbers of the
    Airport Express Base Station, so I can use it in
    conjunction with a Belkin wireless
    router.
    You are confused. There is no such thing as a "port #" for a base station.

  • Which ports need to be open for messages and facetime to work properly?

    I noticed that Messages no longer works since upgrading to Yosemite on my work network. But it did when i was in Mavericks. Did they change something in Messages in the upgrade that would cause it to no longer work? ports?
    I'm behind my work firewall, which ports need to be open for messages to work properly?

    Just make sure your 9001 port is open.
    Hope this works..
    Hamid

Maybe you are looking for

  • Itunes has encountered an error and needs to close..error unknown

    I've tried to install both ITunes 7.6 and Quicktime numerous, countless times...They both load successfully, but won't open. I've tried to uninstall and re-install and spent 3 hrs on the phone with Windows tech, but to no avail??? Please any suggesti

  • How do you set up iTunes 10.5 on a new computer?, How do you set up iTunes 10.5 on a new computer?

    I have a new computer  with Windows 7, Outlook and I use iTunes with an Apple iPhone 4 and a iPad. My devices have iOS5. How do you set up iTunes 10.5 on a new computer and sync these devices. I have already downloaded iTunes 10.5 on my computer. Als

  • Error message - need help please!

    Hi, I have executed "approval" process in our system and got this message. The problem is that I can't save this record any more, every time I try to save (not sending for approval) I am getting this. Any suggestions? Thanks wwv_flow.accept: SIGNATUR

  • How do you add a signature to your forum posts?

    How do you add a signature to your forum posts?  I went here, but no information available on "how" to set up a signature. http://forum.verizon.com/t5/Terms-of-Service-and-User/Verizon-Community-Signature-Guidelines/m-p/212... If you are the original

  • Missing 100 Bonus Points Maleficent/How to Train your Dragon 2

    I have not yet received the 100 bonus points for my Maleficent and How to Train Your Dragon 2 preorders.  The 20 day waiting period has passed and I was wondering why these points have not yet appeared in my account.  Thank you.