0
votes
0answers
20 views

iptables / firewall blocking traffic (even SSH) on my dedicated box

Can someone please take a look at this iptables data and tell me what's wrong with it? The paste 24h has been a nightmare, I couldn't even SSH to my server, and the only way I could manage to get the ...
1
vote
0answers
38 views

puppet service not stopping service (iptables)

I am trying to use a puppet master 3.1.1 to manage iptables on various servers. My local puppet agent is 2.7.19, the server OS is CentOS 5.4. ...
-1
votes
0answers
22 views

iptables how to refuse connection if IP is not 1.1.1.1 [duplicate]

This line works just fine alone: -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -s 1.1.1.1 -j ACCEPT but answers i found on the internet suggest i need to use 2 lines like this: -A INPUT ...
-1
votes
2answers
59 views

Can't configure httpd.conf

I have some problems with httpd and can't configure it(can't open in browser). I have done it a lot of times, but now I missing something. I have installed CentOS 6.5 on virtualbox with ubuntu 14. ...
0
votes
1answer
35 views

Cannot browse web server

I have a server running Apache on Centos 6.4 and I cannot get to browse the box - SSH works fine and as does FTP but nothing http will work. httpd is started, SELinux is not running and I have opened ...
0
votes
1answer
40 views

iptables slows down outgoing web request

Before I enabled iptables, requests via curl to this url were instant. But after configuring iptables it takes almost 30-40 seconds to get response. How do I make particular url white listed so it can ...
0
votes
4answers
131 views

iptables not installed on centos

If a machine does not have iptables installed, is there still a firewall running? If yes, how to I disable / change rules? if I enter the command iptables I receive the response: iptables v1.4.7: ...
0
votes
1answer
55 views

No route to host centos

I am trying to allow a port through a firewall on centos 6. The error I am receiving is telnet: connect to address 80.xx.xx.xx: No route to host The port I am trying to allow is 5666. If I disable ...
0
votes
2answers
53 views

resetting iptables seems to make connections clear faster

I have iptables setup on 2 servers. Server#1 is public and Server#2 only allows the ip address of Server#1 to have ACCESS. Server#2 has a mySQL database that Server#1 queries. I ran a query and it ...
0
votes
2answers
36 views

Openning a port in my CentOS server [closed]

I'm trying to open a port in my CentOS server... I tried using iptables, adding the "-A INPUT -p udp -m udp --dport portnum -j ACCEPT" and didn't work. I tried installing CSF, adding the ports and ...
0
votes
1answer
34 views

Unable to get out of rescue mode after a spontaneous reboot

I am experiencing a weird problem where the CentOS 6.5 system I was using spontaneously underwent a restart that was not authorized by me, and then enters Rescue Mode, where I am unable to diagnose ...
1
vote
1answer
141 views

Centos iptables configuration for Wordpress and Gmail smtp

Let me start off by saying that I'm a Centos newby, so all info, links and suggestions are very welcome! I recently set up a hosted server with Centos 6 and configured it as a webserver. The websites ...
1
vote
1answer
309 views

CentOS 6.5 Iptables conntrack module [duplicate]

I have a VPS server on which CentOS 6.5 x64 is installed. Kernel version from uname command is 2.6.18-028stab107. When I want to use iptables rate limiting like in the following command, I got the ...
0
votes
0answers
95 views

Apache bench failing with error “No route to host”

Got a new dedicated box. Installed CentOS 6.5 Installed KVM Installed a CentOS 6.5 guest rsync'd websites/database/settings etc over from existing VPS. Set up "dedi.mydomain.com" in DNS to test it ...
0
votes
1answer
105 views

Can't use yum on guest - suspect port 80 forwarding in iptables on host at fault?

What's wrong with this set-up? Both host and guest are CentOS 6.5 Specifically, I can't run yum on the guest. I can ping happily to/from the guest, including pinging mirrorlist.centos.org If I ...
0
votes
0answers
259 views

“Network error: connection refused” when trying to SSH to guest VM

CentOS 6.5 host, CentOS 6.5 guest. Using kvm. VM gets a local IP from the virbr0 interface. I've set up some port forwarding in iptables. port 80 forward works, but my SSH forward does not. ...
0
votes
0answers
30 views

Forward incoming email traffic

I have two CentOS servers - one for email and one for web hosting. One domain, which we do not control, has the MX record incorrectly pointing to the web host. What iptables config is needed to ...
4
votes
3answers
2k views

iptables nat does not exist

Today my iptables nat on the host system stopped working and I have no clue what happend! (That's very bad, I know) All commands are executed as root user. If I run $ iptables -t nat -L I get the ...
0
votes
1answer
85 views

Why does installing vzctl on a fresh Centos6.5-minimal break network connectivity?

I seem to have encountered a bug in vzctl's installation. Upon installing it in a clean CentOS6.5-minimal installation according to the official wiki, network connectivity is limited to pinging IP ...
0
votes
1answer
162 views

IPTables block all traffic and only allow certain ports

I am trying to configure iptables on a CentOS 6.5. I am trying to block all traffic to the server and then only open certain ports that I need, such as port 80. At the moment I've removed port 80 from ...
0
votes
1answer
60 views

iptables configuration failed

My iptables just suddenly became unable to be edited. It still runs fine but I am unable to do anything to the configuration such as opening or closing ports. I keep getting this error: ...
1
vote
0answers
124 views

How to configure nDPI for iptables

I am new to nDPI, I have installed nDPI but when I add rules like; iptables -I OUTPUT -m ndpi --http -j REJECT it shows error iptables v1.4.7: Couldn't load match ...
1
vote
1answer
49 views

Having difficulty connecting to port

I'm giving Linode a try, and I just launched my first instance running CentOS. I've been unable to connect to a port on the box even if I completely drop the firewall. (My script does successfully ...
0
votes
1answer
44 views

GW box not allowing internet from internal computers

I have a relatively new GW box ( CentOS 6.5 ) that can ping www.apple.com. When I change computers inside my network to use this GW as †he default GW, they cannot access the internet. So then I ...
1
vote
0answers
85 views

Port Scanning/Telnet login attempts [closed]

I have set iptables to block and log all inputs other than HTTP/HTTPS/SSH. The logs have many entries with DPT=23. Most entries are like: DATE-TIME * kernel: [*] IPTables-Dropped: IN=venet0 OUT= ...
1
vote
1answer
160 views

Can't send email via PHPMailer

I'm using the PHPMailer class to send email from an online application, it works fine on development server, and if I disable iptables. However whenever iptables is started, no mail sends - it seems ...
0
votes
1answer
50 views

Cannot access Asterisk sip from remote location

I've used this tutorial to configure my iptables so I can access asterisk sip from outside of my server. My iptables -L looks like this Chain INPUT (policy ACCEPT) target prot opt source ...
0
votes
2answers
47 views

APF and iptables on router - disallow SSH on specific subnet host

I have a CentOS terminal working as a router with APF installed. Also 1 terminal with 3 NICs (3 IPs) is using that router as a Gateway to access the internet. What I want is APF to block SSH access, ...
1
vote
3answers
97 views

Despite of several attempts, unable to open port 25

This question may have been asked many times here but after several failed attempts, I repeat the history: How do I open port 25 port on my server running CentOS. Here is my iptables config: Chain ...
0
votes
1answer
30 views

Forward a host network traffic to another host with the exception of the ssh service

I am trying to redirect all the network traffic received in a old host to a different new host. For that i created two new rules on iptables of the old host: echo 1 > /proc/sys/net/ipv4/ip_forward ...
0
votes
1answer
25 views

OpenVPN On Dual Wan

I have a Dual-WAN Linux Box WAN1 & WAN2, Installed on it OpenVPN Server, is there a way to make OpenVPN server accept connections from both interfaces, as it now it only accepts connection from ...
0
votes
1answer
60 views

Turn IPTables Flush off CentOS

I made some changes to my iptables in a centOS machine. I noticed once I shut the server off it flushes all my iptables and goes back to the default. Is there a way to turn that off?
0
votes
2answers
93 views

Portforwarding with IPTABLES and Remote IP detection

I was able to forward 80 port from my primary server 192.168.90.1 to the second one 192.168.90.2 with IPTABLES The primary server has a public address X.X.X.X so I forwarded X.X.X.X:80 -> ...
0
votes
1answer
88 views

Adding port 25 to iptables won't getting to open centOS

I am facing a problem to open port 25 with iptables on my CentOS machine. I checked the connection by 'nmap' and 'telnet' but both failed. The follow things I did to trying make this work: iptables ...
0
votes
0answers
84 views

Can't run CSF on the host machine using Open VZ

I managed to configure CSF on my three VM inside OpenVZ, but when I try to run it on the host, all the VMs become unreachable. I can see that the host is been attacked, and it would be critical if it ...
0
votes
0answers
47 views

enable user to connect to external pptp VPN server

I want to enable local user to connect to remote VPN server I added those rules to the iptables but still not able to connect -A OUTPUT -p gre -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 1723 -j ACCEPT ...
0
votes
0answers
51 views

openvpn doesnt start due to iptables and mangle (VMware)

I have installed openvpnas on redhat5.10 via the package from openvpn. When I start the server it will start the webserver for administration but it wont start the the openvpn service. So I did my ...
0
votes
1answer
133 views

some outgoing http connections fail

After a recent reboot, my server is unable to connect via http, but not all the time. I have an accept rule for port 80, here is my iptables: Chain INPUT (policy ACCEPT) target prot opt source ...
-1
votes
1answer
100 views

Why does this iptables config prevent munin from working?

I have created an iptables config which I thought that I understood, however it seems to be preventing munin from generating graphs and I'm not sure why. If I disable iptables, munin will generate ...
1
vote
2answers
366 views

Allow OpenVPN through a specific port - CentOS 6.5

I own a VPS (CentOS 6.5). I have installed OpenVPN on this server. Everything works fine, I can connect and surf, etc. Let's say my IP of the server is: 1.2.3.4. When I connect to my VPS my IP is ...
0
votes
1answer
208 views

Extreme amounts of outbound port 80 [closed]

I'm having a major problem with my server expending excessive amounts of outgoing bandwidth for nothing. The server OS is CentOS 6.4 x64 with the 2.6.32-431 kernel if that matters. Here is a quick ...
0
votes
0answers
82 views

IPTABLES Hairpin

I have been trying to setup a captive portal for a VPN network. So far the Captive portal has been working wonderfully. When ever someone from the vpn tries to access a ip inside the main network they ...
0
votes
1answer
57 views

https://domain.com/ doesn't work after cpanel uninstall

(Running Centos 6 + Apache 2) I was relying on a server management company (which only supports cPanel-based servers) to manage my server, then I decided to stop using their services and cPanel as ...
1
vote
1answer
476 views

How to Access OpenVPN Client Subnet

I'm setting up a site-to-site OpenVPN, For now: Users on the client side can access the subnets on the server side. accessing the VPN client machine [Its IP on the client subnet] works fine. But ...
0
votes
2answers
519 views

MySQL / Firewall / Can't connect to MySQL server

I have a client running a mysql server with bind-address=0.0.0.0. Here is the iptables output root@host:/var/www# iptables -L Chain INPUT (policy ACCEPT) target prot opt source ...
2
votes
1answer
159 views

How to open a port below 1024 in Cent OS for socket.io?

I'm trying to open port 843 in my Cent OS 5.2, I added following line to etc\sysconfig\iptables : -A INPUT -p tcp --dport 843 -j ACCEPT and then updated my iptables service. I need to listen to ...
1
vote
1answer
149 views

Outbound HTTP traffic being blocked by APF - outbound filter is off

I'm using CentOS 6.4 inside an OpenVZ container. I'm trying to configure APF 9.7-2 to allow inbound SSH and HTTP traffic (only) and outbound HTTP and HTTPS traffic (don't care much if other outbound ...
0
votes
0answers
245 views

When connecting to PPTP Centos via Windows 7 VPN, I get error 2147943625

The remote computer refused the network connection. phrase has been my arch enemy for the past week now I recently "bought" a VPS server, I gave up trying to configure it with OpenVPN, all the issues ...
0
votes
0answers
39 views

IPTABLES Limiting destination based on source?

I am trying to have a bridge firewall between my network and IPMIs. I want to be able to limit the allowable destinations, e.g. IP x.x.x.x has access to x.x.y.y and x.x.y.z but no others while IP ...
0
votes
0answers
535 views

CentOS 6.4 - Cant get an IP from DHCP

I have a Ubuntu and CentOS system running on XenServer. The Ubuntu Box gets and IP from DHCP no problem. The CentOS will not take a DHCP but a static address works fine. [root@XenCentOS ~]# service ...