Ok let me explain.
I've dedicated server. Im using
https://www.virtualizor.com/
I created bridge with free IPv4 / KVM virtualization
- all working
Now I create VPS, then I assign free IPv4 10.0.0.12
- nothing work yet.
I add hostname: vmi50rr.myserver1.net
(myserver1.net) is registered domain which point to Primary dedicated server IPv4
Now I point vim263cc.myserver1.net to 10.0.0.12 with TCP port 5023 to destination port 22
Now I can login to VPS SSH with:
primary ipv4 with port 5023
Then I install directadmin and build all d with custom build 2.0
directadmin, phpmyadmin, roundcube not working yet.
I need point to:
14 (vmi50rr.myserver1.net) | localhost | HTTP | vmi50rr.myserver1.net | 2222 | 10.0.0.12 | 2222 |
Directadmin working
14 (vmi50rr.myserver1.net) | localhost | HTTP | vmi50rr.myserver1.net | 80 | 10.0.0.12 | 80 |
Now Working phpmyadmin, roundcube etc.
Then I point domain to primary ipv4 and add domain forwarding:
14 (vmi50rr.myserver1.net) | localhost | HTTPS | mywebdomain.com | 443 | 10.0.0.12 | 443 | |
Domain pointing working correct
This port I add for working inbox email:
14 (vmi50rr.myserver1.net) | localhost | TCP | PRMARY IPV4 | 25 | 10.0.0.12 | 25 |
- working
Now I try resolve FTP connection:
First I open/forward this main port 21:
14 (vmi50rr.myserver1.net) | localhost | TCP | PRMARY IPV4 | 21 | 10.0.0.12 | 21 |
then I add rest this passive connection ports:
22 14 (vmi50rr.flexlyserver.net) localhost TCP 65.21.78.149 49152 10.0.0.12 49152
23 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49153 10.0.0.12 49153
24 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49154 10.0.0.12 49154
25 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49155 10.0.0.12 49155
26 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49156 10.0.0.12 49156
27 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49157 10.0.0.12 49157
28 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49158 10.0.0.12 49158
29 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49159 10.0.0.12 49159
30 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49160 10.0.0.12 49160
31 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49161 10.0.0.12 49161
32 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49162 10.0.0.12 49162
33 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49163 10.0.0.12 49163
34 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49164 10.0.0.12 49164
35 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49165 10.0.0.12 49165
36 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49166 10.0.0.12 49166
37 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49167 10.0.0.12 49167
38 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49168 10.0.0.12 49168
39 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49169 10.0.0.12 49169
40 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49170 10.0.0.12 49170
41 14 (vmi50rr.myserver1.net) localhost TCP PRIMARY IPV4 49171 10.0.0.12 49171
Then I've edit: /etc/proftpd.conf
then change to: PassivePorts 49152 49171
and also add to this file:
MasqueradeAddress 123.45.67.89 # using an IP address
... and with this I little stop here. I try 3 methods but im not sure here.
Which address I should add here?
I try my internet local IP
, also this 10.0.0.12, and also try this ftp.vmi50rr.myserver1.net or vmi50rr.myserver1.net
by end:
incomming / outgoing added port in firewall 49152:49171
restart firewall done
restart proftpd done