Require specific URL for certain ports/services?

Support for security such as Firewalls and securing linux
Post Reply
keith.sieman
Posts: 21
Joined: 2015/06/14 02:06:32

Require specific URL for certain ports/services?

Post by keith.sieman » 2015/06/30 11:53:59

Is there any way that I can require the use of a specific URL or URLs for access to certain ports?

For example, say I wanted to do this:

MySQL Server Access:
mysql.mywebhost.tld:3306 - Access Allowed to Port 3306/Granted
http://www.myclient.tld:3306 - Access Denied to Port 3306

Mail Server Access:
mail.mywebhost.tld - Access Allowed to SMTP
http://www.myclient.tld - No access allowed to SMTP

IRC Server AccessL
irc.mywebhost.tk - Access Allowed to the IRC Daemon
http://www.myclient.tld - No access allowed to the IRC Daemon



EDIT: Yeah, that figures..... Could a mod move this to CentOS 7? Sorry.... it's early.... lol

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Require specific URL for certain ports/services?

Post by aks » 2015/06/30 16:22:42

In what? The firewall? HTTPD?

keith.sieman
Posts: 21
Joined: 2015/06/14 02:06:32

Re: Require specific URL for certain ports/services?

Post by keith.sieman » 2015/07/01 20:38:19

In any way that it would be possible/the best way/implementation of it.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Require specific URL for certain ports/services?

Post by gerald_clark » 2015/07/01 23:01:16

The servers don't know how the IP and port were selected unless the protocol for the service provides that function.
Your question really makes no sense without context.

Post Reply