Re: bind services to certain IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




If you used xinetd you can specify the ip address to bind the each service
on with the:

bind_interface	=	<ip address>

Also check the configuration file for each service as it may have a bind
address option.  Apache for example has this option in httpd.conf:

BindAddress 10.0.0.1
Listen 10.0.0.1:80

By specifying specific ip addresses in /etc/hosts.allow, using
tcp_wrappers then it will restrict access to those ip addresses:

in.telnetd : 127.0.0.1

This will only allow connections from your local machine.

Firewall rules can do this as well.

Xinetd would probably be the best option, I think.  Hope this gets you
started.

On Fri, 8 Mar 2002, aeab wrote:

>
> hi there...
>
> I've got a machine with several aliases IPs..
> And I wanted to configure specific services bind only to certain IP for
> example
>
> e.g:
> Machine A eth0 10.0.0.1 : telnet
>                   eth0:1 10.0.0.2: smtp
>                   eth0:2 10.0.0.3: dns
>      and so on.....
>
> Can anyone direct /guide me.......
>
> TQ
> -aeab-
>
> ------------------------------------------------------------------------
>      To unsubscribe email security-discuss-request@linuxsecurity.com
>          with "unsubscribe" in the subject of the message.
>

------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux