Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
2k views

Unable to open port 443, despite apache listening, ufw open locally on machine

Hello fellow ubuntu lovers. I've been trying to open port 443 on my server (on a private network) for some time, but I'm stuck. It's open on ufw, and apache is listening to that port, but somehow I ...
user6269972's user avatar
0 votes
1 answer
2k views

My port is closed,even after port forwarding

I am running Apache2 on Ubuntu 20.04 and my server is accessible from all the devices connected to my WIFI router (including phones,and laptops).This is the what is rendered when my server is accessed....
Shivank Anchal's user avatar
0 votes
0 answers
357 views

I want to access my apache server running of ubuntu 20.04 from any device(phone,pc,etc) connected to internet

I am a beginner and have no idea how to make my machine public. I am using WIFI USB card adapter for internet,and uses android phone as hotspot. This is the output of route -n frozenmafia@frozenmafia-...
Shivank Anchal's user avatar
0 votes
1 answer
2k views

How to set up iptables to access my apache2 server from public IP

I've got my Oracle Cloud instance on ubuntu 20.04 and I set up apache2 server. It's working from curl localhost but It doesn't work from my instance public IP. My ufw status: Status: active To ...
user avatar
2 votes
1 answer
44 views

Printing out from a file

I have a file which contains the following details after doing an nmap scan: Host: 45.310.302.11 (li982-11.members.ionic.com) Ports: 21/closed/tcp//ftp///, 22/open/tcp//ssh//OpenSSH 5.3 (protocol ...
davidchigbo's user avatar
0 votes
1 answer
600 views

How can I grant access to a single directory, but for all IPs using iptables?

I am using iptables to block all IP addresses other than those in my whitelist from accessing my webroot. I am using a dynamic IP address, so is it possible to grant access to one specific directory ...
None's user avatar
  • 1
3 votes
0 answers
185 views

Webpage can not get access from the world!

I have installed a fresh Apache with a fresh Ubuntu server. I did not make any changes to my server yet. The default Apache website is visible from other PCs inside the private network. The ports 80 ...
MJC's user avatar
  • 31
0 votes
1 answer
107 views

Can I limit out-going by URL?

I have a problem with my Ubuntu-server , It is burce-forcing other servers and I was unable to solve till now. Server is newly rebuilt but there are still PHP files from old server. /var/log/apache/...
Wayne Tun's user avatar
  • 119
0 votes
1 answer
74 views

How do I block large ranges of IPs independent of server-specific options?

I got tired of being trolled by international users constantly probing around the edges of my SSH server, and while DenyHosts was a good starting point for managing SSH access, I decided I wanted ...
EvilSupahFly's user avatar
0 votes
0 answers
550 views

Iptables with Apache server

I'm tying to use iptables to allow new connections to the server and allow returned traffic and Drop any thing else. I've used the following rules with a lot of changes and it works perhaps I can't ...
user3423185's user avatar
10 votes
2 answers
8k views

I need rules to drop some malicious Apache connections

I drop all traffic on ports except on 80 for my web server. I have some rules like this on iptables: iptables -A INPUT -p tcp -m tcp --dport 80 -m string --string "cgi" --algo bm --to 1000 -j DROP ...
Javier Palmero's user avatar
1 vote
0 answers
720 views

apache webserver access from internet

I have Ubuntu 16.04 LTS installed in VMWARE running my website in apache2 I tried with IPTables but no luck. Port 80,443 is open in UFW firewall status. I have public IP which has the ISP running ...
RAMESH KUMAR's user avatar
1 vote
0 answers
241 views

HTTP/SSH request not passing through some iptables rules

I have an assignment to do using iptables to create a set of rules. Using marionnet, we simulate the following network: What we want here is to avoid "intrus" from being able to interact with the ...
Romain Bernard's user avatar
2 votes
2 answers
1k views

How do I permanently removing a ban stored by Fail2Ban

I have two filters that have banned local addresses. I have added the addresses to ignoreip but the damage was done already and the bans are in place. Every time I reboot my computer I have to do an ...
John Orion's user avatar
  • 2,811
1 vote
2 answers
2k views

Apache 2.4 Webserver not Publicly Accessible

I am trying to setup a simple web server, and have installed a LAMP package to get started (Apache 2.4). I have a simple index.php page that provides current server stats. I am able to access it ...
Maxattax's user avatar
  • 401
2 votes
1 answer
463 views

Packet redirection based upon traffic type

Overview : Is there anything like ufw or iptables that will accept a packet on a port, but then redirect that packet locally depending on the type of packet it is? More info : I have a web server ...
bnoeafk's user avatar
  • 133
3 votes
1 answer
7k views

Clean install of Apache but can't access it via lan client

I've been fighting this issue for a couple days now and am at whits end, so any help would be great. I have several computers in the office. One is now a Ubuntu Server that I'm setting up for a web-...
Michael's user avatar
  • 145
1 vote
3 answers
21k views

Ubuntu / Apache2: I cannot open port 443 [duplicate]

I am trying to install a SSL certificat on my Ubuntu 14 server (using apache 2). For some reason the port 443 appears to be closed I installed and enable ssl /etc/apache2/ports.conf is as followed:...
Raphael_b's user avatar
  • 185
2 votes
1 answer
2k views

Can't connect from outside to my apache webserver using a free dynamic dns and IP

I am running ubuntu 12.04 and a web server apache v.2.2 on port 80.My connection to internet is based on a dynamic ip and in order to connect to my web server I want to use a free dynamic dns service(...
dreamlander's user avatar
0 votes
1 answer
2k views

Redirect iptables to apache without internet connection

I have set up a Personal hotspot using Hostapd. But this hotspot is not connected to the internet but I do have Apache installed on it. What I am trying to achieve is to redirect all the clients (that ...
Junaid Gondel's user avatar
0 votes
1 answer
523 views

Help writing server script to ban IP's from a list

I have a VPS that I use as an openvpn and web server. For some reason, my apache log files are filled with thousands of these hack attempts: "POST /xmlrpc.php HTTP/1.0" 404 395 These attack attempts ...
Chev_603's user avatar
  • 1,676
0 votes
2 answers
1k views

Using Apache2 to set up a basic webpage

I am having a problem with a test page I set up for my website. The config file (index.html) looks like this <html> <head> <title>Welcome to website.net!</title> </head> ...
mrhatter's user avatar
1 vote
0 answers
823 views

New Server - apache will not serve outside LAN

New server, running well 12.04 LTS on HP ML350. Apache = great, inside our LAN. Apache = timeout, from WAN (NAT forwarded from firewall). I have cleared all Iptables, read & checked every "allow"...
GlassFeet's user avatar
1 vote
1 answer
3k views

Something is closing port 443?

I have Ubuntu 12.04 Server installed and serving a Ruby on Rails app with Apache and Passenger. I'm using iptables to control traffic. Yesterday, I setup Apache to use SSL for the site. After setting ...
pacothelovetaco's user avatar
1 vote
1 answer
1k views

How to enable Apache Solr service on Rackspace Ubuntu Server?

We have setup Apache Solr on Rackspace dedicated ubuntu server. But, I think because of Firewall this service is not available. I tried adding following line as per Rackspace documentation: /sbin/...
Vishal Sharma's user avatar