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 RHEL/CentOS
  • Search

Connecting to Vesta from public IP

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
p7f
Posts: 5
Joined: Fri Dec 22, 2017 6:37 pm

Connecting to Vesta from public IP
  • Quote

Post by p7f » Wed Feb 14, 2018 10:10 pm

Hi,
I'm wokring on a virtual server running RHEL7. I can connect to the server with ssh trhough a vpn. From there, i've installed vestacp. Now i can correctly access vestacp if i'm connected to the vpn and i use {privateip}:8083. However, i cannot connect to vestacp using public ip of the server. Is there any way to do this?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Connecting to Vesta from public IP
  • Quote

Post by skurudo » Thu Feb 15, 2018 9:19 am

First things to check:
- /usr/local/vesta/nginx/conf/nginx.conf - listen directive
- firewall rules
- and maybe this is some stuff like net.ipv4.ip_forward
Top

p7f
Posts: 5
Joined: Fri Dec 22, 2017 6:37 pm

Re: Connecting to Vesta from public IP
  • Quote

Post by p7f » Sat Feb 17, 2018 6:42 pm

Thanks a lot for your answer!!
skurudo wrote: ↑
Thu Feb 15, 2018 9:19 am
First things to check:
- /usr/local/vesta/nginx/conf/nginx.conf - listen directive
- firewall rules
- and maybe this is some stuff like net.ipv4.ip_forward
1. In nginx.conf i have listen set to 8083.
2. I set firewall rules from vestacp logging from vpn private direction. 8083 is enabled. ¿Is this enough? i also tryed using firewalld with no result.
3. I'll look for some info about net.ipv4.ip_foward. ¿Could you give me some more info about this?

Thanks again!
Top

p7f
Posts: 5
Joined: Fri Dec 22, 2017 6:37 pm

Re: Connecting to Vesta from public IP
  • Quote

Post by p7f » Sat Feb 17, 2018 6:51 pm

p7f wrote: ↑
Sat Feb 17, 2018 6:42 pm
skurudo wrote: ↑
Thu Feb 15, 2018 9:19 am

- and maybe this is some stuff like net.ipv4.ip_forward
3. I'll look for some info about net.ipv4.ip_foward. ¿Could you give me some more info about this?

Thanks again!
i looked for /proc/sys/net/ipv4/ip_forward and its value is 1.
Top

p7f
Posts: 5
Joined: Fri Dec 22, 2017 6:37 pm

Re: Connecting to Vesta from public IP
  • Quote

Post by p7f » Tue Feb 27, 2018 10:29 pm

No one with a solution for this?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Connecting to Vesta from public IP
  • Quote

Post by mehargags » Wed Feb 28, 2018 6:53 am

Is your public IP even reachable openly through internet ? Is your server located in a Datacentre or in a private location ? You said you can connect through VPN... this means the provider has restricted access to their network through secure VPN tunnel only.

If you have GUI on your server, goto https://portchecker.co/canyouseeme and check if port 80 and port 8083 are reachable from the internet. This is simple thing to check
Top

p7f
Posts: 5
Joined: Fri Dec 22, 2017 6:37 pm

Re: Connecting to Vesta from public IP
  • Quote

Post by p7f » Wed Apr 25, 2018 7:17 pm

Hi,
Thanks for the answer, and sorry for the delayed reply. If i put in my browser the public ip followed by :80, y get to the screen that says my fqdn and "powered by vesta". So i assume is accesible. I do not have GUI on the server.
Thanks
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Connecting to Vesta from public IP
  • Quote

Post by mehargags » Sat Apr 28, 2018 10:41 am

Yes you are good... so now what is the problem ?
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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
 

 

cron

Login  •  Register

I forgot my password