Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Secure Virtualizor host



Normal Mode | Print  

Secure Virtualizor host
uname-r
Group: Member
Post Group: Newbie
Posts: 38
Status:
Hi,

I would suggest you to use CSF firewall.  It's easy to install and to configure for Virtualizor.

Instructions on how to install are here : http://configserver.com/cp/csf.html

Once it's installed in /etc/csf/csf.conf , make sure you have this :

Code
# Allow incoming TCP ports

TCP_IN = "5900:7000 "

# Allow outgoing TCP ports
TCP_OUT = "25,80,443"


// if you have IPV6 :
Code

# Allow outgoing TCP ports
TCP6_IN = "5900:7000
"

# Allow outgoing TCP ports
TCP6_OUT = "25,80,443"


Now, in /etc/csf/csf.allow  just add your ip address you need to authorize.

then, to let virtualizor work with csf, just create this file :

/etc/csf/csfpost.sh

and add this line :

Code
/sbin/iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT


It will be much easier for you to manage your firewall this way, with CSF :)   You'll get much better rules.

If you enable the CSF UI, you'll also get a web interface to manage your firewall.  However, it's more secure if you only use the command line to configure it­.

p.s.: why should you be using something else than https for transactions on this server?    I recommend to close the port 4082, and never use it ;) 

hope that help :)






IP: --   


Threads
 gauthig   Secure Virtualizor host, What ports and how to force SSL (4 Replies, Read 19195 times)
    |--  siddhesh   >>1. Hi, I...   on September 24, 2014, 11:47 am
    |--  uname-r   Hi, I would...   on September 27, 2014, 2:23 am
    |--  uname-r   Forgot to mention...   on September 27, 2014, 2:34 am
    |--  quickbooks2018    I installed csf...   on November 18, 2017, 9:13 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 3, 2025, 12:39 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.677