Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Firewall Caused Massive Issues - Lost ssh login ability

General questions about VestaCP
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
marijuanatech
Posts: 7
Joined: Tue Oct 07, 2014 5:45 am

Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by marijuanatech » Sat Oct 25, 2014 4:49 am

I updated Vesta yesterday and had a few issues right off the bat that were fixable. I then realized that one of my other services wasn't working, so I added a rule to the firewall...

I didn't notice that the ssh port pre-configured in the firewall was incorrect.

I didn't notice that the vestacp port pre-configured in the firewall was incorrect.

I've changed the default port for both of these.

I've now lost access to both of these services. How do I go about fixing this? I can reboot the server into a Ubuntu recovery console if needed.

Uggh
Top

marijuanatech
Posts: 7
Joined: Tue Oct 07, 2014 5:45 am

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by marijuanatech » Sat Oct 25, 2014 5:38 am

Fixed my issue my utilizing a backdoor I left myself. Hopefully nobody else runs into this issue! The upgrade should really check your current VestaCP port and maybe ssh port before making iptable rules that specifically block it!
Top

Milka
Posts: 137
Joined: Tue Feb 11, 2014 2:03 pm

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by Milka » Sat Oct 25, 2014 11:19 am

SO basically what happened is you changed your firewall rules without paying attention to the existing rules, shut yourself out of your system, and now you blame Vesta for your own mistake? lol

;-)
Top

marijuanatech
Posts: 7
Joined: Tue Oct 07, 2014 5:45 am

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by marijuanatech » Sat Oct 25, 2014 4:38 pm

No, this all happened by running apt-get upgrade. The upgrade reset the port values and blocked me before I could even login once. I'm not blaming vesta, I'm documenting a problem that knocked out two of my servers.
Top

Milka
Posts: 137
Joined: Tue Feb 11, 2014 2:03 pm

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by Milka » Sat Oct 25, 2014 4:55 pm

you changed the ports though.
Top

marijuanatech
Posts: 7
Joined: Tue Oct 07, 2014 5:45 am

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by marijuanatech » Sat Oct 25, 2014 4:57 pm

Months ago, following instructions on here. I'm just saying it should allow the port that's currently being used, rather than filling those with defaults on upgrade.
Top

Milka
Posts: 137
Joined: Tue Feb 11, 2014 2:03 pm

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by Milka » Sat Oct 25, 2014 4:58 pm

marijuanatech wrote:Months ago, following instructions on here. I'm just saying it should allow the port that's currently being used, rather than filling those with defaults on upgrade.
true.
Top

marijuanatech
Posts: 7
Joined: Tue Oct 07, 2014 5:45 am

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by marijuanatech » Sat Oct 25, 2014 5:02 pm

Trust me, I'm not blaming vesta for shit. It's amazing software and the fact that it's open source is beautiful! Thanks for your input, Milla, I'll be more careful in the future.
Top

Milka
Posts: 137
Joined: Tue Feb 11, 2014 2:03 pm

Re: Firewall Caused Massive Issues - Lost ssh login ability
  • Quote

Post by Milka » Sat Oct 25, 2014 5:07 pm

Cool! Image

Please be careful with that backdoor you left open; you wouldn't want anyone else but you using that!
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “General Discussion”



  • 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