Allow Certain Ip Address For A Port

May 10, 2008

I am using csf to secure my server. I want to open the ssh port for certain ip only. So I edit csf.allow and add the following line:

tcp:in:d=22=192.168.0.100

Then restarted.

But I can still access the server from IP addresses other than 192.168.0.100. Anyone know how can I restruct certain IP address to access certain port?

View 1 Replies


ADVERTISEMENT

Wrong IP Address Listening To Port 80

Jun 2, 2008

I seem to have a strange problem (I am hoping that if I fix this, it will fix another problem I am having).

For some reason (I most probably did by accident) when I run the command lsof -i tcp:80. The information that comes up says that my IP address xx.xxx.xxx.172 is being used to listen to port 80. Yet the IP address that was asignned to me is xx.xxx.xxx.171. I am wondering how I would go about removing wrong IP address so that the right one is listening to the correct port.

I am running centos OS.

View 4 Replies View Related

Apache :: Type Full Address With Port Number?

Jan 30, 2014

Have to type the full address with port number....

View 4 Replies View Related

Plesk 11.x / Windows :: How To Limit Access To Few IP Address To Access Port 8443 On Firewall

Aug 28, 2012

How can I allow only one ip or a list of ip addresses to access port 8443.I need to limit access this port to few ip addresses and not everyone

View 6 Replies View Related

Apache :: Listen On Port 8080 For IPv4 And On Port 80 For IPv6?

Aug 8, 2013

I'm runnung a server with Apache2 (Apache/2.2.16 (Debian 6.0))

I would like Apache2 listen on port 8080 for IPv4 and on port 80 for IPv6.

This is what I have now:

/etc/apache2/ports.conf

View 4 Replies View Related

Email Server Port- How To Change/add Port For SMTP

Feb 19, 2008

Currently I am using Linux + cPAnel and using the port 25 for email sevrer. Currently we facing 1 problem is, some user's ISP is not support port. May I know how can I add additional port into server and allow users to send mail by different port?

View 1 Replies View Related

Did Port 80 Port To 7080, But Not Working When Login

Jun 21, 2009

I have an office internal website and I opened a port in the gateway of my office (7080) to this website (server )'s 80 port. That makes this website open to public as office has static IP. And then when I view the site from home . it's fine. But when I tried to login, the site is using a pop-up, I guess it's http authentciation, login, I was redirected to a url without my port number any more, that stops my access to the site as obviously I would.

How can I keep my connection/port number ...?

View 2 Replies View Related

Apache :: How To Use Virtual Host IP Address In Request To Remote Address

Feb 6, 2015

My customer has an external facing Apache server that is acting as a reverse proxy to two internal applications. They have:

- external addresses for each app which resolve to different ip addresses, so app1.their_domain.com and app2.their_domain.com resolve to 77.3.170.10 and 77.3.170.11 respectively.
- the Apache server has two network interfaces with ip addresses 192.168.10.10 and 192.168.10.11
- the external ip addresses resolve to the above internal addresses
- the firewall between the Apache server and the internal app servers is configured to allow traffic from 192.168.10.10 to reach app_server1, and traffic from 192.168.10.11 to reach app_server2, both using port 7777.

I have configured a virtual host in httpd.conf for each ip, i.e.

Code:

<VirtualHost 192.168.10.10:80>
...
ProxyPass /app http://app_server1:7777/app
ProxyPassReverse /app http://app_server1:7777/app
RewriteRule ^/$ /app/app1 [R,L]
...
<VirtualHost>

and

Code:

<VirtualHost 192.168.10.11:80>
...
ProxyPass /app http://app_server2:7777/app
ProxyPassReverse /app http://app_server2:7777/app
RewriteRule ^/$ /app/app2 [R,L]
...
<VirtualHost>

This works fine in that the external address are being routed to the correct application, however the firewall is blocking requests to the second app as it appears the requests are coming from the Apache servers 'primary' ip address 192.168.10.10 instead of 192.168.10.11.

Is it possible to send requests using the ip address from the relevant VirtualHost?

Windows server 2008
Apache 2.2

View 1 Replies View Related

Giga Port Vs Mega Port

Jun 18, 2008

about the NIC and switch,

there are giga port vs mega port,

in your experience,do they really be different?

View 14 Replies View Related

Changed SSH Port - How To Add Extra Port To APF

Jun 10, 2007

I recently changed my SSH port, but locked myself out when my APF firewall was installed.

Where would I got to add a custom port inside the APF's config file?

View 3 Replies View Related

Virtuozzo Firewall :: Is It Possible To Enter Two Different Ip Address In Source Address?

Aug 4, 2008

I am using virtuozzo firewall to secure access.

I enter 58.27.175.211/255.255.255.0 for Source Address and Netmask for port 22.

But still I can connect using 58.181.103.217 or 58.27.151.120.

Second is it possible to enter two different ip address in source address?

View 4 Replies View Related

How Do I Setup A New Ip Address As My Server's Main Ip Address

Jul 26, 2007

I just bought a new ip address and want to setup this new ip as my server's main ip, making the 'existing main ip' as the secondary ip.

Which means, this new ip will be the server's default ip address for all services, including when connecting to other server.

I'm using CentOs 4.5 and swsoft's panels: HSPcomplete & Virtuozzo Power Panel, and Webmin.

View 1 Replies View Related

URL Redirection Without Changing The Address In The Address Bar

Nov 8, 2007

I want to redirect a website to a particular URL so that the address bar shows the same URL and not the destination URL. I know it is possible via URL masking, however, I want it in such a way that whenever somebody clicks on any link in the website, the address bar should still show the original URL. To put it in simple words, Suppose I want to redirect [url] to [url]. Now if there is a link named contact/index.htm and somebody clicks on it the address bar should display [url]and not redirect to [url]

How can it be possible using URL Rewrite method in .htaccess file?

View 2 Replies View Related

98)Address Already In Use: Make_sock: Could Not Bind To Address [::]:443

Aug 4, 2007

The problem usually goes like this:

- I can't access the webserver
- I'll try to restart httpd, and I'll get

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:443

To fix this, I run

[root@www1 ~]# lsof -i tcp:443
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
perl 11307 apache 4u IPv6 476943447 TCP *:https (LISTEN)

There is always leftover process that is causing the restart to fail. Once i force kill the process, I am able to restart httpd properly.

Now it is ok if this just occurs once in a while, but this problem keeps repeating itself almost everyday at 4am server time (cron time?). What can I do to permanently fix this?

View 5 Replies View Related

FTP Only On Port 21

Apr 23, 2008

I am using proftpd...How do i instruct that the server don't listen on high ports 49152-65534 but only to 21?

The reason is because my client's firewall setup is very strict and i need to give a good reason to open those high ports. Right now, i can ftp to port 21 only but can't do nothing more than that coz the higher ports are blocked.

View 1 Replies View Related

What's My SSH Port

Jun 24, 2009

i now have root access at a site i manage and the previous admin has set up a different SSH port.

I think this because i get " Connection Refused " and that user has access for SSH.

When restarting my SSH services i recive;

Quote:

sshd has failed, please contact the sysadmin.

And from looking that error up it means the port has been changed.

So i have WHMC access and all other root passwords etc, but how can i find out the port?

View 13 Replies View Related

10 MB Port Or Is It

Nov 5, 2009

Bought New VPS recently , it suppose 10MB unmetered .. when Download Big files thru SSH , the Speed Never Exceed 2MB, always 2mb or less ..

i thought i get 10mb, from wht i understood when say 10mb unmteret ..

how to make sure if i'm on 10 mb unmetered or not .. i thought simple just download some big file from ssh and see wht speed ..

View 9 Replies View Related

Ssh Port

Nov 3, 2008

I have cpanel running on a centos box and I want to change the ssh port from (22) the default port to something new i get 13000 login add temps a day. How do i do this i have root access

View 11 Replies View Related

Port 111

Apr 15, 2007

is it safe to keep the port 111 open or what?

i'm using CentOS 4.x

View 5 Replies View Related

What Port Is SSH Set To

May 15, 2007

I am having my ded server disconnected in less than 2 hours if I dont delete a bad website off my dedicated server (I run a free hosting website on it...i know! I know!)

Anyways I need to login to ROOT and manually take this website off the server, which I have NO IDEA how to do anyways, but I need the SSH port to do so and I HAVE NO IDEA what it is!

How do I find this information out?

View 9 Replies View Related

Port Forwarding A VPS?

Jun 27, 2008

I'm a bit new to this, and I wanted to host my server on a VPS. I tried connecting, but that just didn't work. Do I need to portforward the VPS? Sorry, Like I said, I'm a bit new.

View 6 Replies View Related

Port 1189 On VPS

Apr 16, 2009

I know this is a bit of an odd question but I have a VPS which has port 1189 open. Is it normal by default to have this port listening on a OpenVZ VPS under HyperVM? or is this something a little concerning? Never noticed it before, just checking I don't want any illegal applications being hosted on my server by clients.

It's most probably nothing to be concerned about, just wanted to double check.

View 3 Replies View Related

Forward IP Port?

Oct 13, 2007

I would like to know on how to forward specific IP with port to localhost or any IP by using iptables ? For example i would like to forward for port 25 from IP A to IP B, Currently i'm doing a test with my firewall and i'm very blur with iptables thingy.

View 2 Replies View Related

What Is Port Forwarding?

Apr 18, 2006

what is port forwarding?

View 2 Replies View Related

Port 80 Request To Itself...?

Jun 2, 2009

I have a script that needs to make a port 80 request to itself and it seems that there is something blocking that request. where should i look to correct this problem?

View 14 Replies View Related

CSF Unblock Port?

Mar 9, 2008

OK, This is killing me, can someone tell me how to unblock ports 7000-9000 in ConfigServer (CSF) for my whole server? I need them unblocked for WHMSonic, and all my admins are off for the weekend so I really need some help.

View 7 Replies View Related

See Who Is Relaying Using Port 587

Dec 2, 2007

One of my clients has a couple of servers from me.

In the course of my work, I've setup various people to send mail via one of these servers, using SMTP on port 587.

Can I see on the server who has been using it to send via port 587? I didn't keep a record, the server is closing down and I'd like to let as many people as possible know that they need to change their SMTP settings .. there are only 50 or so I think.

View 1 Replies View Related

How To Protect Port 80

Nov 2, 2007

someone attacking my VPS via port 80, which firewall u advice me to use on windows 2003 WEB edition ?

Or anyone have smillar experiance and can tell me what to do? Btw my hosting company is LeaseWeb.

View 5 Replies View Related

Port In 2 VLANs

Sep 22, 2009

My switch 3COM 4500 (Layer3) ;

I want port 1 of switch work in all VLANS!

I created vlan2, vlan3 and add this trunk/hybrid port in all vlans and ping no work por port1.

View 6 Replies View Related

Uplink Port

May 23, 2009

I recently leased a server from leaseweb.com

It was suppose to have 1000mbps/sec full-duplex!

Can someone tell me how to check if I have what I paid for?

I tried wget from my friend's server who is with leaseweb aswell. Did a 100MB download test and for

30.36MB/sec === is this 1GBps? Please can someone tell me another way to test?

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved