Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

Alter Vesta Firewall From The Command Line

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Jetmo
Posts: 1
Joined: Fri May 26, 2017 2:55 pm

Alter Vesta Firewall From The Command Line
  • Quote

Post by Jetmo » Fri May 26, 2017 3:06 pm

Hey,

I'm an experienced Linux user with a fresh install of CentOS 7 and Vesta CP on my VPS. Never used Vesta CP before, but so far it looks good and I'm anxious to learn it.

However, what I do on all my VPSs with iptables is restrict cPanels to my IP address. I would like to do the same thing with Vesta and I can - obviously - but how can I do this when Vesta controls the firewall? My IP address changes frequently. I have an iptables script where I change the cPanels port quickly and I can then log in.

If I block port 8083 to only my IP address and then it changes I can't log into Vesta. I would need to change the firewall rules via the command line. How would I do that?

Thanks!
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password