![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| /etc/hosts via ssh | KeesH | AIX | 23 | 02-26-2007 03:32 PM |
| Hosts.allow and hosts.deny | huddlestonsnk | UNIX for Dummies Questions & Answers | 1 | 10-18-2006 08:34 AM |
| etc/hosts | amon | Security | 1 | 01-24-2006 01:55 AM |
| hosts.allow & hosts.deny | Sorrento | UNIX for Dummies Questions & Answers | 2 | 08-18-2005 06:25 PM |
| /etc/hosts | tamemi | UNIX for Dummies Questions & Answers | 2 | 04-04-2003 01:42 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
etc/hosts or something else??
I was wondering where in UNIX is file where I can delete hosts that can or ca not access UNIX machine
thanks in advance |
| Forum Sponsor | ||
|
|
|
|||
|
thanks but I have inet in folder /etc/inet/inetd.conf and there is in this folder
also I am trying with /etc/inet/routes and can I just delete /usr/sbin/route add net 192.168.129 164.48.156.166 1 # Customer LAN /usr/sbin/route add net 192.168.128 164.48.156.166 1 # Customer LAN /usr/sbin/route add net 192.168.131 164.48.156.166 1 # Customer LAN /usr/sbin/route add net 172.16.0 164.48.156.181 1 # VOMS21 VOMS22 one line or am I on right place?? thanks |
|
|||
|
have you tried looking for the manpages of hosts.allow and hosts.deny yet? It's not exactly pan-unix, but it's a good solution,
short of setting up some firewalls rules I think you're just going to have to use this and a couple different methods in order to achieve the desired results... |
|
|||
|
Hi!
Try using firewall (iptables). Lines like: iptables -A INPUT -d ?address? -j DROP define rules you need. Files hosts.allow/deny are related (only) to services started by inetd and therefore after "suitable" settings sshd and httpd could be still accessible... And purpose of /etc/hosts is completely different - it is something like static DNS. Regards |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|