1
vote
0answers
51 views

Client successfully connects to OpenVPN server but with no internet access over the VPN

I'm trying to setup OpenVPN with static key authentication(instead of TLS) on TCP port 443; but the client cannot access the internet over the VPN after connecting to the server. Here's my current ...
0
votes
1answer
131 views

Connection tracking not working in a Debian 7 OpenVZ VPS

I have a small VPS instance (used for web hosting) that runs Debian 7, and for a few weeks I have issues with my firewall and connection tracking. I had no issue for months, but without any system ...
5
votes
3answers
3k 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
60 views

Unable to get OpenVPN working on Ubuntu on an OpenVZ VPS

I have TUN/TAP enabled server.conf port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh1024.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt push ...
0
votes
1answer
122 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
45 views

Logging connections on a port of a openvz container by iptables

I'm trying to log the connections that are made on the container with the IP x.x.x.x I'm sending an email using postfix by the mail command but I don't see any logs. Here is my configuration: ...
0
votes
0answers
90 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 ...
1
vote
0answers
213 views

Using ufw on OpenVZ-based VPSes

I'm facing with a problem to set up ufw on Ubuntu 12.04 running on an OpenVZ-based VPS. I know there is limitations for ufw. I googled a bunch of articles how to resolve the issue (like: ...
2
votes
1answer
70 views

Why is a remote IP redirecting to a local server?

I've got a rack full of Linux servers that host OpenVZ containers and for some reason when I attempt to connect to a certain remote IP from inside a few of the OpenVZ containers (using telnet, for ...
1
vote
3answers
236 views

OpenVPN forwarding keeps redirecting me to server itself (with openVZ)

I'm trying to configure a VPN on a new virtual server, powered with OpenVZ. I took the configuration of my current VPN, which is hosted on a Xen VPS and pasted it on my new server. After many tries, I ...
1
vote
1answer
160 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
55 views

Where can I find the range of IP addresses of my container OpenVZ

I'm looking for the "range of IP addresses of my container"... Where can I find those ? /etc/network/interfaces ? ifconfig ? I don't know and I can't find any answers... I need it for this tutorial ...
0
votes
1answer
128 views

Variable host IP address in iptables rule

I am running CentOS 6.4 with OpenVZ on my laptop. In order to provide Internet access for the VEs I have to apply the following rule on the laptop: iptables -t nat -A POSTROUTING -j SNAT --to-source ...
0
votes
2answers
247 views

IPTables isn't forwarding anything

I currently have set up IPTables on my server to forward certain ports on a specific interface (venet0:1) to a second server, at a different IP. My config file looks like this: # Generated by ...
1
vote
1answer
274 views

Firewall blocking ssh out from a openVz container

I'm using a firewall on the HN to open/close the ports of the containers directly from the HN. I'm using the iptables script from the openvz wiki. Everything works fine but I cannot ssh out from the ...
0
votes
1answer
77 views

One-to-one mapping of port range from Hardware Node to VZ Containers with iptables

At anytime I have about 3-4 VZ containers on a server(the Hardware Node on CentOS6). I have webservers, ssh, mail, etc running on the different Containers. From another host in the network, they are ...
0
votes
2answers
367 views

Allowing outbound traffic with APF/iptables for OpenVZ container

I have apf installed on a OpenVZ container (proxmox 2.1). The config is pretty much vanilla and things are working. My external services like ssh and http are working. My problem is that all ...
0
votes
1answer
950 views

OpenVZ container can't reach the internet

I installed OpenVZ on my Debian 6 server which has only 1 IP. So I tried to follow this guide on the OpenVZ wiki, but alas only with partial luck. I succesfully forwarded port 8090 of the Host server ...
2
votes
1answer
6k views

OpenVPN server running on openvz. How to write iptables rule without masquerade?

I am configuring a VPS which is running on openvz as an OpenVPN server using a tun interface. I am having some trouble with the iptables rule as MASQUERADE is not available. If MASQUERADE were ...
1
vote
2answers
759 views

Block OUTGOING port 25 traffic from specific IPs on openvz host

I have a server running CentOS 5.5 and acting as an OpenVZ host. One of the containers has been sending out spam and I need to block his ability to connect to outbound port 25. I've looked at ...
0
votes
1answer
652 views

Error 18446744073709551615 when running iptables in OpenVZ container

This is related to the question I asked before. Now I am getting a different error. iptables: Unknown error 18446744073709551615 when trying to apply a simple rule in VZ container iptables -t nat ...
1
vote
1answer
495 views

FsockOpen problem with Iptables inside OpenVZ VM

I have a virtual machine on debian. I have made some modification to the HN to allow statefull firewall inside vm (http://wiki.openvz.org/Setting_up_an_iptables_firewall). Here is my firewall script ...
3
votes
2answers
2k views

Iptables port forwarding on OpenVZ CEntOS container

I am trying to setup a simple port forwarding on an OpenVZ container that is running CentOS 5.5. When I run a command I get errors. iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT ...
2
votes
1answer
6k views

iptables prerouting to redirect source ip address on ethernet

I have 2 ip adresses on the Internet who redirect on the same machine. On this machine, one Debian runs on OpenVZ. I can set iptables rules to redirect all http request to the Debian. iptables ...
2
votes
1answer
863 views

openvz and iptables

http://wiki.openvz.org/Setting_up_an_iptables_firewall mentions to load xt_state before starting a container in order to run iptables in containers. so I ran modprobe xt_state on the host and ...
1
vote
3answers
2k views

Karmic iptables missing kernel moduyles on OpenVZ container

After an unsuccessful p2v migration of my Ubuntu server to an OpenVZ container which I am stack with I thought I would give a try to a reinstall based on a clean OpenVZ template for Ubuntu 9.10 (from ...