0
votes
0answers
25 views

Why can't some user accounts access certain remote ports?

I am trying to troubleshoot a couple issues on RHEL 6.5 that seem related. In both cases, a user on a machine (seperate machines) cannot access a service (seperate services) on a remote machine. In ...
-1
votes
1answer
34 views

Can't connect to identically configured remote MySQL server

Where I work, we have a single development server, and a single production server that we manage on-site. When I try to connect remotely to the MySQL on the development server, I get this error: ...
0
votes
0answers
50 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 ...
-2
votes
2answers
110 views

IPtables - opening ports not working

I am writing a script to open ports based on a textfile, and am having problems opening these ports. For instance, I have tried opening port 18819 by entering the command /sbin/iptables -A INPUT -m ...
0
votes
1answer
184 views

ConfigServer CSF and iptables config

I'm aware there is a /etc/sysconfig/iptables file, with rules for iptables (and what's the effective difference with /etc/sysconfig/iptables-config?). I installed CSF & LFD. You can configure ...
-1
votes
2answers
184 views

Does this iptables output mean all traffic is allowed?

I am having problems running a program from a client to my RHEL box that uses a non-standard port and I am trying to track down where the communication problem is occurring. I'm starting at the ...
1
vote
1answer
888 views

What exactly do --limit 1/s and --limit-burst mean in iptables rules?

centos 5.x I'm trying to wrap my mind around the following iptables rule on one of my servers: -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -m limit --limit 1/s -j ACCEPT On another ...
0
votes
2answers
93 views

Dealing with brute force on RHEL

Box got slow and decided to vim /var/log/secure and saw a bunch of brute force methods trying to ssh with names starting from A-Z. iptables was installed so I added the ip via: iptables -I FORWARD ...
0
votes
1answer
144 views

iptables port redirect not working

I am trying to set up a redirect for 443 to 8443 (non-root app can not use privileged port) using the following: iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443 However, ...
2
votes
5answers
1k views

Can not access EC2 server via IP address

I am having this problem accessing my elastic public IP for my EC2 instance in the web browser. Installed REDHAT 6.3 and installed nginx web server(up and running) and also made sure i enabled port 80 ...
1
vote
3answers
405 views

iptables blank after reboot

We've started encountering an issue with iptables on our RHEL 6.3 systems in that after a reboot, when the service starts, the rules are not loaded. We get the empty ruleset: [msnyder@matt-test ~]$ ...
0
votes
1answer
839 views

Configure IPTables on KVM host to block guest bridge traffic

I am working on a thesis research project, and I am having some difficulty figuring out how to get iptables (running on the KVM host) to block traffic (or rather, manipulate traffic) destined for a ...
1
vote
1answer
379 views

forward public port 81 to port 80 on local ip

i am new to serverfault, so please inform me of any bad behaviors :) i searched serverfault (and google) for an answer, but can't find the answer to my problem (i can find answers which are partially ...
5
votes
4answers
2k views

On AWS do I have to open ports in an EC2 instance's firewall as well as security group?

If I change my SSH port from 22 to 23453, I can no longer ssh in. In more detail, I'm using a Red Hat EC2 instance on Amazon Web Services. This is the second change I've on a fresh install (first ...
1
vote
2answers
170 views

How to open http for linux server

I am a Windows (IIS) software engineer, but recently I've been thrown into a Linux server admin role until we can find someone to fill the position. I am not ashamed to admit I have no idea what I am ...
1
vote
2answers
85 views

Iptables blocking all my traffic for some reasson

I've installed stock Red Hat Linux 6 and I've installed lighttpd, it seems that my website loads only when i stop iptables (service iptables stop), I'm not sure what's going on, because I haven't done ...
-2
votes
2answers
410 views

rhel routing without NAT using iptables

I need to set up routing, preferably with iptables, that does no NAT. Basically I will have a number of clients on subnet 192.168.1.0/24 and they need their traffic to go through a gateway, say ...
2
votes
2answers
50 views

https traffic being routed to port 21

I manage a server at a hosting company. apache is setup to listen on port 80 and 443. http (port 80) traffic works fine. I can also ftp and telnet fine using port 22. Issue - when I try to connect ...
1
vote
1answer
343 views

What's preventing the Apache user making outbound connections?

curl http://example.com data retrieved ok sudo -u apache curl http://example.com 20 seconds later curl: (7) couldn't connect to host What would cause this, and how can I change it? I'm running ...
1
vote
3answers
839 views

Iptables log analysis tool, not reporting tool?

I'm running a RHEL 6 Linux server and receive about 3000-5000 hits on my iptables logs daily and I want to see all hits on the iptables, source address, source network name, ports, hit counts etc. Is ...
0
votes
3answers
270 views

iptables configuration not working

I have a VPS for Apples push notification service I am trying to open a port 2195. I am currently doing this vi /etc/sysconfig/iptables then I go to insert mode of vi and enter these two lines -A ...
1
vote
2answers
168 views

RedHat iptables firewall entry

Could someone shed some light on what the current iptables entry on my RedHat machine means? -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited It is the last line in my ...
23
votes
6answers
3k views

Hardware Firewall Vs. Software Firewall (IP Tables, RHEL)

TL;DR My hosting company says IP Tables is useless and doesn't provide any protection. Is this BS? I have two, co-located servers. Yesterday my DC company contacted me to tell me that because I'm ...
1
vote
4answers
563 views

Manual Firewall Configuration on Redhat IPTables

I'm trying to configure a complex firewall for my team. We're looking at six interfaces with different types of security zones and flows. I have a well-documented, clean firewall configuration ...
3
votes
2answers
7k views

iptables redirect local connections to remote system / port

I am trying to use SSH to port forward windows machines local port 3389 to a redhat server on some arbitrary port (in the unprivileged region) I have protected behind a firewall, then forward the ...
2
votes
1answer
714 views

How do i do IP address translation with iptables?

I need to create a route in iptables which allows to use my second IP address as source(not default one) when i connect to an external FTP server. How do i create that route for iptables? i am not ...
3
votes
3answers
4k views

How do I export and restore my iptables settings?

I have what appears to be weird and convoluted set of rules which work for me at the moment. Is there a way of "exporting" those and saving them to a file so that they can be restored later on in case ...
3
votes
3answers
15k views

How do I allow outgoing connections via iptables?

I have two servers. The program on the first needs to communicate with the second on port 2194. I know its not working, because when I do: root@server1 [~]# telnet myserver2.com 2194 Trying ...
1
vote
2answers
1k views

iptables command to clear all existing rules

My server is Red Hat Enterprise Linux Server release 5. What is the correct/proper command to clear all existing iptables rules defined in /etc/sysconfig/iptables (so that I can start defining/adding ...
2
votes
2answers
3k views

iptables - What does the range in bracket mean? [duplicate]

Possible Duplicate: Don’t understand [0:0] iptable syntax My server is Red Hat Enterprise Linux Server release 5. I'm not an expert in Linux iptables firewall. I've the following entries ...
0
votes
2answers
242 views

Problem in creating UDP sockets

Our production server is running PostgreSQL v8.2.3 on Red Hat Enterprise Linux Server release 5 (Tikanga). For some reason, statistics collector in PostgreSQL is not working. Even posted this ...
1
vote
1answer
98 views

Unable to add an iptables RULE

Please help guyz, I am not able to add iptables rule.. On the computer on which I have to login, Shoreline is installed.I know I can add rule to /etc/shoreline/rules but I decided to manually enter ...
2
votes
2answers
536 views

Meaning of iptables filter restriction

My server is Red Hat Enterprise Linux Server release 5. I'm not an expert in Linux iptables firewall. After installation, I find the following entries in /etc/sysconfig/iptables. *filter :INPUT ...
0
votes
1answer
916 views

How to relax firewall for UDP connections/ports for a specific IP address?

My server is Red Hat Enterprise Linux Server release 5. iptables version is v1.3.5. I want to allow all UDP connections / port for the IP address 192.168.0.200. This IP address is configured in my ...
1
vote
1answer
4k views

howto check iptables status with normal user?

How could check if iptables is running ok in a machine ,using a restricted permission user ? i need to monitor this... BR Thanks for the great Site !!!