Hi thanks for your answer.
I think there's a dedicated IP included https://trust.zone/faq#dedicated_ip
is there a way to test a lack of port forwarding through shell interface so that I can eliminate this option before ?
I rebooted the OMV server and since it worked but the listening port of transmission was blocked and after a few time downloading @ low speed, I get back to a blocked client...
Anyway, I asked trust.zone team for port forwarding
Any other clues ?
Thanks again
Beiträge von MatQ_07
-
-
Hi everybody !
I installed and configured an openVPN client (to Trust.Zone) on my OMV NAS on which I'm regularly using transmission as torrent client through remote transmission GUI on my desktop. Transmission was really well performing its dutty untill I received last week a letter from French government saying that Someone was using my IP address to upload various protected stuff ... Hence, I decided to change my IP address to a controllfreakless country through a VPN.Once it has been configured (I didn't use the web interface as I discovered a wonderfull tutorial here : http://cloakandcode.com/articl…envpn-openmediavault.html ) The following command :
gave me a foreign IP address as expected.Unfortunately, I wasn't able to check that my torrent traffic was effectively passing through the VPN as it seems that I have a port direction problem (51413, which was used efficiently before seems now to be closed when tested in Transmission remote GUI)
Should-I redirect or open a port in any firewall ? I never configured a firewall on my OMV server (By writing it, I assume it's a completely bad idea ...) should I install a firewall on it or configure the firewall inside the box of my ISP ?
Thanks in advance for your helpfull help
-
Here might be the solution you're looking for (well, at least it worked for me ...)
My problem was due to aa apache service running in parallel of nginx and listening port 80 instead of nginx. The message "It works ! ..." was a default message from apache.I ran the following commands to stop apache and avoid its restart :
Then you got to purge the cache as I faced a non refresh of the page I was looking for on port 80 in my browser.
Thanks a lot tekkb and tiste for your help !
-
My mistake !
You're right !
I didn't try to access it from an other device. But just accessed from my phone after reconfiguring webgui on prot 80 thanks to omv-firstaid. I purged the cache of my browser and it's now functionning. I'm ashamed of this mistake of mine .Thanks a lot guys for the solution, I'll pass the post on solved after writing a shor summary for the next readers. Have you got an idea of how it occured ?
Thanks again ! -
I followed your instructions tekkb,
Coderoot@OpenMediaVault:~# service apache2 stop Stopping web server: apache2 ... waiting . root@OpenMediaVault:~# update-rc.d -f apache2 remove update-rc.d: using dependency based boot sequencing root@OpenMediaVault:~# service nginx restart Restarting nginx: nginx. root@OpenMediaVault:~#
Then I typed :
Coderoot@OpenMediaVault:~# omv-firstaid Updating web administration settings. Please wait ... root@OpenMediaVault:~#
To change the default web interface to 80 but still faced the same page ("It works ! ..."). For now I reconfigured webgui access on port 81 but am still looking for a solution if you have other ideas / suggestions.Many thanks to both of you for your help.
-
I prefer to post the content of my systctl.com before doing anythig as it is all starting by # (comment ?)
Code
Alles anzeigen# # /etc/sysctl.conf - Configuration file for setting system variables # See /etc/sysctl.d/ for additonal system variables # See sysctl.conf (5) for information. # #kernel.domainname = example.com # Uncomment the following to stop low-level messages on console #kernel.printk = 3 4 1 3 ##############################################################3 # Functions previously found in netbase # # Uncomment the next two lines to enable Spoof protection (reverse-path filter) # Turn on Source Address Verification in all interfaces to # prevent some spoofing attacks #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 # Uncomment the next line to enable TCP/IP SYN cookies # See http://lwn.net/Articles/277146/ # Note: This may impact IPv6 TCP sessions too #net.ipv4.tcp_syncookies=1 # Uncomment the next line to enable packet forwarding for IPv4 #net.ipv4.ip_forward=1 # Uncomment the next line to enable packet forwarding for IPv6 # Enabling this option disables Stateless Address Autoconfiguration # based on Router Advertisements for this host #net.ipv6.conf.all.forwarding=1 ################################################################### # Additional settings - these settings can improve the network # security of the host and prevent against some network attacks # including spoofing attacks and man in the middle attacks through # redirection. Some network environments, however, require that these # settings are disabled so review and enable them as needed. # # Do not accept ICMP redirects (prevent MITM attacks) #net.ipv4.conf.all.accept_redirects = 0 #net.ipv6.conf.all.accept_redirects = 0 # _or_ # Accept ICMP redirects only for gateways listed in our default # gateway list (enabled by default) # net.ipv4.conf.all.secure_redirects = 1 # # Do not send ICMP redirects (we are not a router) #net.ipv4.conf.all.send_redirects = 0 # # Do not accept IP source route packets (we are not a router) #net.ipv4.conf.all.accept_source_route = 0 #net.ipv6.conf.all.accept_source_route = 0 # # Log Martian Packets #net.ipv4.conf.all.log_martians = 1 #
-
As far as I understood I was investigating thanks to older posts edited when apache2 was used as web server instead of nginx. I think the message I got is the one from apache2 replying on port 80 instead of nginx. Can-I remove apache2 (I also use OwnCloud) ?
Oh and by the way, I didn't activate ipv6 at any time, how the hell can it be possible that it gets mentionned in this result ?
Thanks for your time. -
-
Well,
My problem is half solved. I digged in several treads related to various issues with webgui and tryed to change port 80 to 81 in omv-firstaid webGUI config. And it worked , I don't know how, I don't know why ... I'll wait for feedback, of yours if anybody have an idea of why ?
Thanks for your help
-
Thanks tekkbb for your reactivity, I tryed both of these commands the second returned :
Coderoot@OpenMediaVault:~# service nginx start Starting nginx: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] still could not bind() nginx. root@OpenMediaVault:~#
Unfortunately I still have the same issue to connect trough web-GUI
-
Dear all,
Further to the copy of a 500 GB backup through usb 3.0 external drive, I noticed a huge sollicitation of my processor (as far as I remember, there were 70 to 80% of my processor used by a "user process"). Then I decided to reboot my server thanks to the top right menu in the web-gui interface.
After it, I could'nt reconnect to web GUI despite my Transmission GUI was working and ssh acces too.
When I try to connect to [OMV.server.IP]:80 I have the following page :ZitatIt works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
When I try to connect to [OMV.server.IP]:443 I have a page saying that the connexion failedI connected to a root console and send the following command :
and reseted the https only acces I created to acces my server but nothing was working.
No improvement
I noticed that there were only "000-default" file in /etc/apache2/sites-enabeled but no openmediavault-wegui, neither in "sites-available" folder
I uninstalled apache2
and reinstalled it
But I still face the same problem and can't find a solution.
If someone could help me, I would be glad !Thanks in advance.