- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to allow Telnet & FTP access from specific IPs...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 04:15 PM
12-18-2006 04:15 PM
How to allow Telnet & FTP access from specific IPs/domains
I have got a HP-UX B.11.23 ia64 Itanium box. It has been moved to a new place and so its IP addresses have changed. I am not able to connnect to a AIX box now through FTP. It throws the error that the network is unreachable. Domain for both servers is still same, only the IPs are in different ranges.
HP guys allowed the telnet access from new IP range by adding an entry to a file. Can anybody tell me the location of that file?
Also does the same kind of file exist for allowing FTP access?
Cheers,
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 04:25 PM
12-18-2006 04:25 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
Thats where you can allow/deny the inetd services like telnet/ftp etc.. Have a look at the man pages of inetd.sec for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 04:44 PM
12-18-2006 04:44 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
implies bad routing. It might help to know
the IP addresses involved here, and perhaps
output from "netstat -rn".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 04:55 PM
12-18-2006 04:55 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
The file is located only at /usr/newconfig/var/adm without having links at any other place. But there are no entries in this file.
[root]/usr/newconfig/var/adm#ll -rt /usr/newconfig/var/adm/inetd.sec
-r--r--r-- 1 bin bin 978 Sep 3 2003 /usr/newconfig/var/adm/inetd.sec
Hi Steven,
The output of netstat is
[root]/usr/newconfig/var/adm#netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.30.0.13 172.30.0.13 UH 0 lan0 4136
172.30.0.0 172.30.0.13 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
I am able to connect to AIX box at 172.28.10.53. 172.30.0.13 is the IP of my HP box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:02 PM
12-18-2006 05:02 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
default gateway, and no explicit route to the
172.28.x.x network (only to 172.30.0.0). So
a "network is unreachable" complaint may be
expected.
> I am able to connect to AIX box at
> 172.28.10.53.
I don't see how.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:05 PM
12-18-2006 05:05 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
If you want to implement the addition level of security on the inetd daemons/services then copy the files from /usr/newconfig/var/adm to /vad/adm and edit it as per need look at the man pages for the format of allow/deny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 06:40 PM
12-18-2006 06:40 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
Can u tell me how the gateway for 172.28* network be added on my machine?
The users from 172.17* domain r able to connect to the box through some other IP. How that is set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 07:31 PM
12-18-2006 07:31 PM
Re: How to allow Telnet & FTP access from specific IPs/domains
"route add [...]"
/etc/rc.config.d/netconf (Look for
"ROUTE_
automatically at system start-up.)
It's common to have a default route, but it's
also possible to specify one or more gateways
for particular IP address ranges.
To set a route properly, you need to know
which systems are supposed to act as
gateways, which is something your network
administrators should know. You may be able
to get some ideas by running that "netstat
-rn" command on various other systems.