Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : VPS Domain forwarding, what's that ?



Threaded Mode | Print  

 VPS Domain forwarding, what's that ?, We need a easy understanding Doc. (4 Replies, Read 2614 times)
jameshsi
Group: Member
Post Group: Newbie
Posts: 14
Status:
Hi!

Virtualizor announced a new feature, called "VPS Domain forwarding", here is the Doc. URL:
http://www.virtualizor.com/wiki/Manage_VPS_Domain_Forwarding

After review this page for 5 minutes , I still not sure what it is and what can I do about it.
IP: --   

VPS Domain forwarding, what's that ?
jameshsi
Group: Member
Post Group: Newbie
Posts: 14
Status:
Is this function means we can sell 2 or more VPS to clients as long as they use domain ?

If client A got abc.com and client B got xyz.com , and we create 2 VPS on same public IP, different private IP, and both domain point to that public IP, and their clients can browsing http://abc.com and http://xyz.com and https:// as well, is that correct ?
IP: --   

VPS Domain forwarding, what's that ?
jameshsi
Group: Member
Post Group: Newbie
Posts: 14
Status:
If 2 VPS runs ssh, and they all want to use port 22, can we let 2 VPS share that port ?

Or one VPS use 22 port and another has to be use 222 port to login ?
IP: --   

VPS Domain forwarding, what's that ?
abhijeetm
Group: Virtualizor Team
Post Group: Working Newbie
Posts: 97
Status:
Hi,
If one VPS is using port 22 for TCP then other cannot use it for same public IP.

Public IPs port can be shared only for HTTP/HTTPs protocol i.e only for web services.
For other services TCP protocol needs to be used which do not consider domain name for filtering traffic for non web services.

So for SSH, SMTP, FTP, etc use TCP it will not work under HTTP/HTTPS protocol

For web services (web hosting), different domain names can be used with same source port.


With VPS domain forwarding, you can create VPS which will run on private IP but still be able to host services that can be accessed publicly, through server's public IPs.

IP: --   

VPS Domain forwarding, what's that ?
quickbooks2018
Group: Member
Post Group: Working Newbie
Posts: 69
Status:
Quote From : abhijeetm June 30, 2017, 4:50 am
Hi,
If one VPS is using port 22 for TCP then other cannot use it for same public IP.

Public IPs port can be shared only for HTTP/HTTPs protocol i.e only for web services.
For other services TCP protocol needs to be used which do not consider domain name for filtering traffic for non web services.

So for SSH, SMTP, FTP, etc use TCP it will not work under HTTP/HTTPS protocol

For web services (web hosting), different domain names can be used with same source port.


With VPS domain forwarding, you can create VPS which will run on private IP but still be able to host services that can be accessed publicly, through server's public IPs.




Dear Support,

I deployed

VPS Domain Forwarding

ping is working fine 10.0.0.2
          gateway      10.0.0.1

I enable port forwarding and port mapping

8    3 (asim.centos6.5.local)    localhost    TCP    192.168.1.50    50    10.0.0.2    22



Machine with IP 10.0.0.2

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address              Foreign Address            State      PID/Program name 
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                  LISTEN      818/sshd           
tcp        0      0 10.0.0.2:22                192.168.1.3:34213          SYN_RECV    -                 
tcp        0      0 127.0.0.1:25                0.0.0.0:*                  LISTEN      894/master         
tcp        0      0 10.0.0.2:22                10.0.0.1:37074              ESTABLISHED 995/sshd           
tcp        0      0 :::22                      :::*                        LISTEN      818/sshd           
tcp        0      0 ::1:25                      :::*                        LISTEN      894/master       




I am trying to ssh from other machine IP 192.168.1.3



ssh 192.168.1.50 -p 50


but message is ==>  root@ubuntu:~/.ssh# ssh 192.168.1.50 -p 50
ssh_exchange_identification: Connection closed by remote host




Server IP


[root@asim ~]# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address          Foreign Address        State      PID/Program name   
tcp        0      0 192.168.1.50:5901      0.0.0.0:*              LISTEN      1634/qemu-kvm     
tcp        0      0 0.0.0.0:111            0.0.0.0:*              LISTEN      1/systemd         
tcp        0      0 0.0.0.0:4081            0.0.0.0:*              LISTEN      3468/python       
tcp        0      0 192.168.1.50:50        0.0.0.0:*              LISTEN      7042/haproxy       
tcp        0      0 0.0.0.0:4082            0.0.0.0:*              LISTEN      2990/nginx: master 
tcp        0      0 0.0.0.0:4083            0.0.0.0:*              LISTEN      2990/nginx: master 
tcp        0      0 0.0.0.0:4084            0.0.0.0:*              LISTEN      2990/nginx: master 
tcp        0      0 0.0.0.0:4085            0.0.0.0:*              LISTEN      2990/nginx: master 
tcp        0      0 10.0.0.1:53            0.0.0.0:*              LISTEN      1591/dnsmasq       
tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN      1209/sshd         
tcp        0      0 127.0.0.1:25            0.0.0.0:*              LISTEN      1826/sendmail: acce
tcp        0      0 192.168.1.50:443        0.0.0.0:*              LISTEN      7042/haproxy       
tcp        0    196 192.168.1.50:22        192.168.1.3:52678      ESTABLISHED 6074/sshd: root@pts
tcp6      0      0 :::111                  :::*                    LISTEN      1/systemd         
tcp6      0      0 :::22                  :::*                    LISTEN      1209/sshd   



Kindly guide what is the issue?

I am able to ssh from my server 192.168.1.50 to 10.0.0.2

but I am not able to ssh from 192.168.1.3 to 10.0.0.2

==>  ssh 192.168.1.50 -p 50
ssh_exchange_identification: Connection closed by remote host



Regards
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 7:57 am.

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