Completed

Configure csf firewall in Proxmox

This project was successfully completed by b4rni for $35 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Project Budget
$30 - $250 USD
Completed In
1 day
Total Bids
3
Project Description

We have a Proxmox 3.1 server working perfectly (debian) and want to install csf firewall (with its IDS) so we can protect the host node without interfering the traffic of the VMs. We also want to use some features like lock some countries in csf (very easy) to the node and also to the VMs if possible.

We readed that we should add this lines to /etc/csf/[url removed, login to view]:

iptables -A FORWARD -d [url removed, login to view] -j ACCEPT
iptables -A FORWARD -d [url removed, login to view] -j ACCEPT
iptables -A FORWARD -d [url removed, login to view] -j ACCEPT
iptables -A FORWARD -d [url removed, login to view] -j ACCEPT
iptables -A FORWARD -d [url removed, login to view] -j ACCEPT
iptables -A FORWARD -d [url removed, login to view] -j ACCEPT

But when we enable csf connectivity to VMs doesn't work and the ping breaks, this is the network config (IPs are modified):

auto lo
iface lo inet loopback

# device: eth0
auto eth0
iface eth0 inet static
address [url removed, login to view]
netmask [url removed, login to view]
pointopoint [url removed, login to view]
gateway [url removed, login to view]

# for single IPs
auto vmbr0
iface vmbr0 inet static
address [url removed, login to view]
netmask [url removed, login to view]
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add [url removed, login to view] dev vmbr0

# for a subnet
auto vmbr1
iface vmbr1 inet static
address [url removed, login to view]
netmask [url removed, login to view]
bridge_ports none
bridge_stp off
bridge_fd 0

Virtualization we are using is KVM mainly, the network is routed with subnet..

This is a fast task for an expert.

We will require the list of commants used or a text indicating what has been done, so we can apply this config to another server.

Thanks

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online