Can I open a port range in the firewall for one host?

Can I open a port range in the firewall for one host?  In other words, I want to be able to open ports 54001 to 54050 to allow one remote host in my LAN to access that port range in my Mac Server.  Is this possible?  Currently, the only option I see is to open individual ports for all external hosts (eg http or https)
Thanks in advance!

Which version of OS X Server are you using?
Server 2.2 and earlier includes an interface to a software firewall that can be configured to open specific ports very easily. Descriptions of how to configure the firewall can be found in the documentation for these versions.
Server 3.x no longer has an interface to the software firewall - it is still there, but you need to use other methods do configure it.  A popular example of such a method is the icefloor utility.
Apple suggest that for Server 3 you delegate firewall duties to an external router.  Server 3 includes the ability to configure the firewall component of Apple Airport routers 'automatically'
if you connect a machine running Server 3 directly to an Airport Router the router appears in the LH pane in the Server.app window (usually second line, below the entry for the server itself), and you can control what services are 'enabled' through the firewall there.
a more common solution perhaps is to use a non-apple router, and configure the firewall (and so open specific ports) through whatever control interface is provided for that router.  There are many many kinds of hardware router you could use, and the control interfaces used vary widely - so you will have to consulting the documentation for your own router to work out how to do this.
If you post information about your software versions, and hardware configuration, it is possible that you can get more specific help with the tasks involved in opening the ports.
Hope this helps.

Similar Messages

  • What port-range in the firewall of a Socks (e.g. JSocks) server?

    Hi there,
    I am using the JSocks implementation of a socks v5 server.
    Some of my questsions are quite general (not only specific to JSocks) and I hope that someone knows the answer. Unfortunately the forum of JSocks (sourceforge) is only rudymentary so I think this place is better to answer my questions.
    However...
    As I understand the socks proxy, the server waits on a specific port - normally 1080 and processes the client requests (bind, connect, accept...).
    For example one client requests a bind. Then the socks server opens a port locally on the socks host and (if successful) replies the new listening port and ip to the requesting client. ...
    (Forget authentication, cascaded proxies and ip-ranges at this point!)
    Now, if other clients should be able to access this port, the firewall (if any) needs to allow connection to this port.
    My questions:
    What should be an adequate port range for the socks proxy? With other words: what is the port range of the new ports that are created for the requesting clients?
    How schould a seperate firewall be configured not to conflict with a socks proxy?
    Specific to JSocks (if somebody knows this he wins a virtual cookie): What is the port range that JSocks uses if it opens (generates) new ports for its clients?
    Where is the port range defined in the jsocks - I havent found any?
    Imagine that on the same machine there are other running applications that are listening on predefined ports. (e.g. 8080, 21, ...) - what is the best way to exclude the ports in jsocks?
    Any hints and explanations are welcome!
    Edited by: krafzig on Oct 28, 2008 8:27 AM

    You only need one port.OK, initially I need only - lets say port 1080.
    But then for example a client c1 requests a bind. The socks server opens a new socket for the client (e.g. on 50000) and tells the client on which port on the socks he is now listening, right?
    In order to allow client c2 to connect to this new port the firewall needs to allow access to the new port (50000) first.
    So there are more ports - there might be hundrets or thousands, right?
    If its on a seperate box it doesn't matter. If its on the same box it should manage different ports.yes, different ports!
    However, it should allow access to the ports that the socks opens for the clients, right?
    Optimal would be a dynamic adaptation of the firewall, whenever the socks opens a new port the firewall grants access.
    I assume its configurable, so its up to you.No, unfortunately it is not configurable. At least I havent found anything.
    Probably won't either.???
    Don't use ports already used. `netstat -a` will list all the used port on that box. obviously, and Jsocks allows to configure reusage of ports by flag true/false;
    Has anybody setup a socks proxy with a firewall and knows how this is/should be done normally?
    Has anybody experiences with JSocks?

  • How disable the firewall for only one NIC (aka adapter)

    Hi people,
    in winXP it was super easy to disable the firewall for one specific "adapter"
    (just to need to uncheck)
    so in Win7 how we disable firewall for one adapter ?
    thx people :D

    I have found it :D
    Go into Firewall with Advanced Security
    Click on Windows firewall Properties
    Then clic on Protected network connection
    and here they are :)

  • How can I open all ports on a Window 2003 Server

    How can I open all ports on my windows 2003 server for a specific range of IP addresses?

    Hi,
    Just want to confirm the current situations.
    Please feel free to let us know if you need further assistance.
    Regards.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Tecra M1 - Modem doesn't work (can't open a port)

    I have a problem: After reinstalling WinXP and drivers on my Tecra M1, modem doesn't function. It even can't diagnose itself - there always comes a warning: "Can't open a port (COM). It may be used by another device or application". I installed the latest Toshiba drivers for the modem, but nothing changes. How can I fix it? Looking forward for your advices!
    Best regards.

    Hi
    Did you install the drivers in the right order? Not? So do it!
    Did you install any additional devices or software which could has a bad influence on the modem?
    Check the modem status in the device manger. Can you see any yellow exclamation marks?
    Try to start the modem test within the Operating system.
    Check the Modem function under
    Start -> Control Panel -> Phone and Modem Options -> Modems Tab -> Properties -> Diagnostics
    by pressing the "Query Modem" button.
    If the Modem Information window contain a list of AT commands (including ATI2, ATI3, ATI4 etc.), then the modem is correctly installed. The ATI5 command ends in with the number for the selected Regional settings (for example Germany = 06).
    To change the Regional Setting please use the Toshiba Internal Modem Region Select Utility.

  • Can't open local port

    Hello all
    I would be very grateful for some help with this problem,I haven;t been able so solve and i have spend a lot of time on it
    I have written my own client RTSP code,from this i can set the client ports i want to recieve and send RTCP and recieve RTP,and can read in the server ports
    So i have something like 157.190.181.36 60972 60973 client
    157.190.181.36 6972 6973 server
    To handle RTP i have used RTP socket player or RX and may other RTP reciver options,as in the java solutions etc ,so that i can recieve RTP and create a player
    When i run them i get the same eror from all error can't open local port
    Further information
    I am on a LAN,but hav tried my set up disconnected from the LAN through a hub set up
    I have tried opening the ports before callled the RTP players i.e
    on the client side
    DatagramSocket RTPsocket3= new DatagramSocket(60972);
    DatagramSocket RTPsocket4= new DatagramSocket(60973);
    Through sniffers
    I know the RTSP messages are OK
    I recive an ICMP message destination unreachable
    I am connecting to darwin streaming server and i can connect to this and play through apple quicktime player or JM studioTHANKS IN ADVANCE!

    Hey...
    I'm having a similar problem, because i'm developing an application that its serving RTP audio context streams. So the application would transmit a playlist of files over RTP, and it works fine for one file, but when i try to give it a new file, i always get the exception "Can�t open door: ...". This error occurs on the line that is marked with *****.
    I'm creating a processor for each file i want to transmit, for the same port and same IP address, so when the first file ends i close the processor and create a new one with the same properties, but with a diferent file...
    I really nead this to work, so if someone could help me on this it would be really appreciated... Thanks in advance...
    My code for creating the transmitter is like this:
    private String createProcessor(){
         if (locator == null) return My_Dictionary.TRANSMIT_LOCATOR;
              try{
              ds = javax.media.Manager.createDataSource(locator);
              }catch (Exception e){
              return My_Dictionary.TRANSMIT_DATASOURCE;
              try{
              processor = javax.media.Manager.createProcessor(ds);
              }catch (NoProcessorException npe){
              return My_Dictionary.TRANSMIT_PROCESSOR;
              }catch (IOException ioe){
                   return My_Dictionary.TRANSMIT_IO_PROCESSOR;
              boolean result = waitForState(processor,Processor.Configured);
              if (result == false) return My_Dictionary.TRANSMIT_PROCESSOR_CONFIG;
              TrackControl [ ] tracks = processor.getTrackControls();
              if (tracks == null || tracks.length < 1) return My_Dictionary.TRANSMIT_TRACKS;
              ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
              processor.setContentDescriptor(cd);
              Format supported[];
              Format chosen;
              boolean atLeastOneTrack = false;
              for (int i = 0; i < tracks.length; i++){
              if (tracks.isEnabled()){
                        supported = tracks[i].getSupportedFormats();
                        if (supported.length > 0){
                             for (int j = 0; j < supported.length; j++){
                                  if (supported[j] instanceof AudioFormat){
                                       if (supported[j].matches(Transmit.audioformat)){
                                            chosen = supported[j];
                                       tracks[i].setFormat(chosen);
                                       atLeastOneTrack = true;
                                       System.out.println("Track " + i + " is set to transmit as: " + chosen);
                        }else tracks[i].setEnabled(false);
              }else tracks[i].setEnabled(false);
              if (!atLeastOneTrack) return My_Dictionary.TRANSMIT_ANY_TRACKS;
              result = waitForState(processor,Controller.Realized);
              if (result == false) return My_Dictionary.TRANSMIT_PROCESSOR_REALIZE;
              dataOutput = processor.getDataOutput();
              return null;
    private static String createTransmitter(){
              PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
              PushBufferStream pbss[] = pbds.getStreams();
              rtpMgrs = new RTPManager[pbss.length];
              SessionAddress localAddr, destAddr;
              InetAddress ipAddr;
              SendStream sendStream;
              int port;
              for (int i = 0; i < pbss.length; i++){
              try{
                        rtpMgrs[i] = RTPManager.newInstance();     
                        port = portBase + 2*i;
                        ipAddr = InetAddress.getByName(ipAddress);
                        localAddr = new SessionAddress(InetAddress.getLocalHost(),port);
                        destAddr = new SessionAddress(ipAddr,port);
                        rtpMgrs[i].initialize(localAddr); *****
                        rtpMgrs[i].addTarget(destAddr);
                        System.out.println("Created RTP session: " + ipAddress + "/" + port);
                        sendStream = rtpMgrs[i].createSendStream(dataOutput,i);
                        sendStream.start();
              }catch (Exception e){
                        return e.getMessage();
              return null;

  • Can't open Serial port in notebook (use Serial to USB)

    OTL
    use Serial to USB and java communication 2.0, windows 2003
    and notebook which has no RS232C port
    testing desktop it is done.
    notebook does not work....
    How can i open serial port in notebook ...

    Saludos
    tengo el mismo problema, aunque he encontrado algunas
    API pero solo tienen soporte para LINUX:
    * jsr80 y
    * jUSB API
    Si tienen alguna solucion haganmela saber.In English via Babelfish (and a little common sense), in case anyone knows a solution:
    Greetings, I have the same problem, although I have found some API but they only have support for LINUX:
    * jsr80
    and
    * jUSB API
    If they have some solution I'd like to know.

  • CardTerminalException:Can't open communication port

    Hi,
    I work with OCF, WinNT and I configure also the opencard.properties to use a GemPC410 Reader in COM3. I get the CardTerminalException: "Can't open Communication port".
    Has anybody an idea what other reasons can provoke this error, or better how to avoid it??
    Thanks in advance!
    Best regards
    deng

    Hi,
    I work with OCF, WinNT and I configure also the opencard.properties to use a GemPC410 Reader in COM3. I get the CardTerminalException: "Can't open Communication port".
    Has anybody an idea what other reasons can provoke this error, or better how to avoid it??
    Thanks in advance!
    Best regards
    deng

  • WRT54GC can't open UDP port

    I can't open UPD port i check with PFPortChecker and TCP port is open and UDP port is not reachable i using win7 how to fix it ?

    Which port no you are trying to open..?
    For which purpose you are openning the port on the router..?
    Uncheck "Block Anonymous Internet Requests" under Security tab and check..

  • Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?

    Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; I get the "end program" message and have to say "end now"it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?
    - I've used Firefox exclusively for around 2 years.
    - My outlook express has no problems
    - other programs seem unaffected; it seems peculiar to Firefox.
    - my main use is surfing the net, primarily entering competitions on line via specialist competition sites.
    - every day at some stage(s) I have to switch computer off as Firefox has got very slow/sticky/freezes.
    I'm not techy by any means, but I can only thing of un- and re-installing to hopefully start with a clean slate.

    Sounds like something is keeping Firefox from closing properly. See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • Can I open two Safari windows at the same time?

    Can I open two Safari windows at the same time and split the windows in two on my screen? Right now, I have to open Safari and Firefox to get the split screen. I know I can press command to get multiple tabs, but that's not what I want. I want to use Safari on two open windows.

    HI,
    Open a browser window in Safari. Then Command + N
    Press command and ~ or ` to toggle between the windows.
    Carolyn

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work". can anyone help

    How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work".
    Anyone can help?

    Right click on any folder in mail and select Create new mailbox.

  • I have Photoshop CS 5.5 version, but I've just changed my camera and I can't open my raw files. I need for my new camera Photoshop CC and Camera Raw 8.7 version. How can I do to update the old version? Thank you

    I have Photoshop CS 5.5 version, but I've just changed my camera and I can't open my raw files. I need for my new camera Photoshop CC and Camera Raw 8.7 version. How can I do to update the old version? Thank you

    Thank you for your valuable advice. I've solved the problem right now.
    Thanks
    2015-03-16 15:06 GMT+01:00 c.pfaffenbichler <[email protected]>:
        I have Photoshop CS 5.5 version, but I've just changed my camera and
    I can't open my raw files. I need for my new camera Photoshop CC and Camera
    Raw 8.7 version. How can I do to update the old version? Thank you
    created by c.pfaffenbichler
    <https://forums.adobe.com/people/c.pfaffenbichler> in *Photoshop General
    Discussion* - View the full discussion
    <https://forums.adobe.com/message/7302535#7302535>

  • HT201210 I keep getting unknown error 3 when trying to restore my Iphone.  On line and chat support won't accept my request as I can't open my phone to get the serial number

    this evening has been torturous My phone said I needed to restore thru Itunes/support
    I tried and keep getting UNKNOWN Error 3
    I tried to get support but I can't open my phone to get the serial number.
    Now WHAT????

    I was doing some research on this problem for a friend and came across your post and thought I should share this:
    https://discussions.apple.com/thread/5372052?start=30&tstart=0
    Hopefully it helps, good luck.

Maybe you are looking for

  • How do i listen to my friend's ipod on my computer?

    Hey there guys, my friend and I swapped ipods so that we can check out each other's music. I'd rather play music through my computer speakers than headphone while at home. My question is, how do I listen to music from her ipod on my PC without accide

  • Turn off the SQL DB monitoring entirely in scom 2012 (SP1)

    Is there a way to centrally target and turn down monitoring of all the servers running SQL DB in SCOM 2012. We actually created groups using the OU's to target the SQL servers but some of the servers which have SQL DB are not in that OU and they are

  • HT4557 I cannot get home sharing to work - have checked passwords

    I am trying to set up homesharing and cannot get it to work.  I have set it up on ipad and my computer in itunes.  But shared does not come up under itunes and when I try to connect on ipad it says cannot connect to home sharing.

  • Cannot view data on physical layer on Oracle BI administration tool

    Hi everyone I have a schema1 and table1, table2, table3. I have connect in odbc using the schema username and password and it was successful. I can view the data using toad and sql oracle developer with schema username and password. I also import the

  • File types don't save properly in CS6

    Why? and what is Adobe doing to fix. I have read some long workarounds that are ridiculous. Photoshop has alwaysnever had issues with pointing to plugins, or old plugins moving to the new software. This is clearly a failure on their end. Photoshop US