Hi all, i am trying to establish ftp connection. First let me ask how can connect my server via internet. Writing down wan ip :passive ports or something else? I opened up passive ports, also matched with router. I did what tekkbebe told in guide. When i look at whatismyip it is something like (278.276.145.13). My passive ports are: 49150-49160 . My nas box' ip 192.168.1.5 you can see router's firewall config in picture
Now what should i do?
Ftp configuration
-
-
and also i figured out even i opened up port 21 it seems closed when i check in the internet, but ftp server works locally
-
guuys! I figured it out. Wan ip and public ip seemed different so I bought an static ip from ISP so it is okay now. but I have one more problem with it . I can not write upon the directory. I configured the permissions what to do I have added the pictures. the user is ''hakanatmaca'' in that case.
-
The pane to the right is acl, I recommend you don't use it. The panel below you have to click apply permission recursively.
leave the user and group should be ok in the below panel.by the way wan ip and public ip is the same. What you had before was dynamic ip, very common in house connections.
-
I figured it out. The wan and punlic seem different and i called ISP and got a static ip. But still cannot have access to write. You say , it is better not to touch acl? Permissions tab is enough to have access?
-
Yes. Also apply recursively.
-
still cannot do it
-
Do you have omv extras installed ?
-
yeap I installed extras. is there anything to check if installed or not?
-
Well in shared folder section you have reset permission utility tab. Apply to the share as admin rw/ users rw and others read only. also check the remove acl. Then try again to log in and write.
-
no, there is no answer for it. it is still same. I cannot write. also I cannot log in as root to that share, even in ftp or afp.
-
You cannot log as root in afp. You can in FTP as root only with some fix that was released some weeks ago
Are you using aufs, snap raid or other pooling solution ?
-
using snapraid. now there is one more problem I can not log in via wan ip. Locally I can log-in with local ip but not with wan ip. problems , problems...
-
can you post here omv-showkey mntent
and omv-showkey sharedfolder
-
<mntent>
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
<dir>/xxx/yyy/zzz</dir>
<type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>
<opts></opts>
<freq>0</freq>
<passno>0|1|2</passno>
<hidden>0|1</hidden>
</mntent>
<mntent>
<uuid>ca7da749-25c0-4f3b-be91-58d0855b8ff4</uuid>
<fsname>0a48a47b-5d9f-43c9-bc00-847edfb289b4</fsname>
<dir>/media/0a48a47b-5d9f-43c9-bc00-847edfb289b4</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>65ae0937-abe8-42e3-818f-a8fda7d4d21b</uuid>
<fsname>97f595ff-ad2c-4dd6-80f8-5dcdf7f20fa1</fsname>
<dir>/media/97f595ff-ad2c-4dd6-80f8-5dcdf7f20fa1</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>c24068a3-205d-4239-ab33-7901c77fd6c4</uuid>
<fsname>9a8b8723-3875-46a8-aacd-627f112effe0</fsname>
<dir>/media/9a8b8723-3875-46a8-aacd-627f112effe0</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>2f4aa896-3ec3-432f-acff-2154158e5145</uuid>
<fsname>84871d57-4370-4b69-9e99-ad0d2ddbcc45</fsname>
<dir>/media/84871d57-4370-4b69-9e99-ad0d2ddbcc45</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
</mntent><sharedfolder>
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<name>xxx</name>
<comment>xxx</comment>
<mntentref>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</mntentref>
<reldirpath>xxx</reldirpath>
<privileges>
<privilege>
<type>user|group</type>
<name>xxx</name>
<perms>0 = no permission|5 = read and execute|7 = read, write and execute</perms>
</privilege>
</privileges>
</sharedfolder>
<sharedfolder>
<uuid>ffeb3ce0-bfcd-40f3-851f-7c2ca87ff900</uuid>
<name>MainBackup</name>
<comment>Genel depolama alanı</comment>
<mntentref>2f4aa896-3ec3-432f-acff-2154158e5145</mntentref>
<reldirpath>MainBackup/</reldirpath>
<privileges>
<privilege>
<type>user</type>
<name>elifbilal</name>
<perms>7</perms>
</privilege>
<privilege>
<type>user</type>
<name>hakanatmaca</name>
<perms>7</perms>
</privilege>
<privilege>
<type>group</type>
<name>uskudarresidence</name>
<perms>7</perms>
</privilege>
</privileges>
</sharedfolder>
<sharedfolder>
<uuid>69724d30-c95b-4441-a6bc-7188f9820006</uuid>
<name>Time-Machine</name>
<comment>time machine backup</comment>
<mntentref>c24068a3-205d-4239-ab33-7901c77fd6c4</mntentref>
<reldirpath>Time-Machine/</reldirpath>
<privileges>
<privilege>
<type>user</type>
<name>hakanatmaca</name>
<perms>7</perms>
</privilege>
</privileges>
</sharedfolder>
-
Have you add the share to ftp?
which share is the one you want to have in ftp?
-
It named mainbackup and shared the shares under ftp.
-
List the contents of Mainbackup
ls -la /media/2f4aa896-3ec3-432f-acff-2154158e5145/MainBackup please don't omit the first entries single and double dot.
-
I am noob here sorry for asking what is single or double dot ?
-
Just paste the results here you'll see
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!