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 Web Server
  • Search

VESTA new version IPTABLES enabled locked me OUT

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
petron
Posts: 10
Joined: Wed Oct 01, 2014 9:13 pm

VESTA new version IPTABLES enabled locked me OUT
  • Quote

Post by petron » Tue Oct 28, 2014 4:47 pm

Hi,

I have just updated the new VESTA CP and a new entry appeared in services: IPTABLES firewall. IT was stopped.

My server using VPN connection. My SSH configured on a different port than the default.

I can access everything through VPN including port 2083, SSH, ftp, etc.
I was logged in as usual, but unfortunately I clicked the start IPTABLES service but with the default ports enabled.

It locked me out of my VPS server. I cannot connect via VPN.

How can I access my server again?
Top

petron
Posts: 10
Joined: Wed Oct 01, 2014 9:13 pm

Re: VESTA new version IPTABLES enabled locked me OUT
  • Quote

Post by petron » Tue Oct 28, 2014 5:36 pm

No problem, using emergecy console on VPS, problem solved. Adding the following rule to IPTABLES using bash.
If you have the same problem just run this command in bash. This is the default port for OPENVPN UPD 1194

Code: Select all

iptables -I INPUT -p udp -m udp --dport 1194 -j ACCEPT
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: VESTA new version IPTABLES enabled locked me OUT
  • Quote

Post by imperio » Wed Oct 29, 2014 6:42 pm

Code: Select all

echo "PROTOCOL='TCP' PORT='1194'" >> /usr/local/vesta/data/firewall/ports.conf

Code: Select all

v-update-firewall
Top

petron
Posts: 10
Joined: Wed Oct 01, 2014 9:13 pm

Re: VESTA new version IPTABLES enabled locked me OUT
  • Quote

Post by petron » Sat Nov 08, 2014 5:31 am

imperio wrote:

Code: Select all

echo "PROTOCOL='TCP' PORT='1194'" >> /usr/local/vesta/data/firewall/ports.conf

Code: Select all

v-update-firewall
Thank you!
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • 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