Find the answer to your Linux question:
Results 1 to 4 of 4
I work for a company, i client that need to install some software to our redhat server requested for this: Ensure your firewall presents your server as an external address ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    5

    Question configure SSH on Firewall

    I work for a company, i client that need to install some software to our redhat server requested for this:

    Ensure your firewall presents your server as an external address on the internet allowing inbound access on port 22, restricted to traffic from the following inbound address range: 87.194.171.73 -> 87.194.171.80

    I don't know how to do this, can somebody please help me....

  2. #2
    Just Joined!
    Join Date
    May 2009
    Location
    NH
    Posts
    2
    The easy way, tcpwrappers. You don't have to worry about firewall rules with this (though you can do it later) & there's nothing to install.

    edit /etc/hosts.allow
    add the following
    ALL : 127. (this means all local connections are OK)
    sshd : <first IP> space <second IP> space <repeat all of the IPs> space .yourdomain.com (this ensures you can get there locally) space <YOUR IPADDRESS>

    example
    ALL : 127.
    sshd : 192.168.89.1 192.168.89.3 .irule.com 198.2.44.5

    This will allow only connections from the IPs & domains that you specify, given that you have a publicly facing ssh server.

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    The above will not help you with the firewall, sorry.


    1. What are you using for the firewall into the company?
    2. Do you have access to configure the firewall?
    3. Does the RH system have a public IP Addres?

    The answer to your question depends on the above information

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. #4
    Just Joined!
    Join Date
    May 2009
    Posts
    5
    What are you using for the firewall into the company?
    Do you have access to configure the firewall?
    Does the RH system have a public IP Addres?


    My company's internet providers should have answer to this questions. What i can say right now is that we have two internet providers. We use one for the servers e.g mail server, domain server, etc while the other one just for internet access.

    I think your questions are based on the one we use our servers. And right now i've been trying to work on the one with internet access only, i downloaded and installed an application called firestarter. Please advice me on what to do right now.

    Thank you all for your responses.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...