[Q] Help with port connection (ftp server ultimate) - General Questions and Answers

Hmm i just posted this but can't find it anywhere. Apologies if double posted or it was deleted for some reason.
The target device:
No mobile network connection, it is on wifi only
Cm12.1
Static ip
General info:
Forwarded port through my router configuration page
Canyouseeme.org reports port is open on public ip
Problem:
Can connect via internal ip from other devices but when i switch to public ip the connection times out.
I did have the port forwarding configured wrong but now the port is open. Before it would refuse the connection. Now it just times out after waiting 3000ms.
Is there and Android setting preventing port connections?
Images:
Canyouseeme.org reports open port
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
failure message from ftp client on android device
Also fails from my regular ftp program via windows box

One thing that concerns me is my router lists my device as having a dhcp connection. The device connection is implicitly set to static and always uses the ip address i assigned it. It very much acts static but the router says dhcp. I don't think this is the problem. But it's still concerning.
Edit: terminal emulator using netstat confirms port 33133 is listening via tcp6
Edit 2: the problem is probably the device is listening using ipv6 and I'm trying to connect with my ipv4 address.
How can i force android to connect using ipv4, or connect to my device using ipv6 address? Admittedly i don't know much about ipv4 or ipv6.
Edit 3: I reset router and set up port forwarding again. Reset static ip to a different ip. Turned off ipv6 in router. The router now recognizes my device as static instead of dhcp. Changed the port number and canyouseeme.org sees the new port as open. However, ftp client still gets connection timed out error. netstat on the server device still recognizes that it's listening via tcp6 on the port (ipv6) which I suspect is the problem. I need to force my android ftp server device to connect with ipv4.

This is seriously giving me a headache! I bought a 5tb drive to connect via usb host cable and need the ftp server to keep offsite database backups of my websites. So, it's pretty important to me.
Anyways, I've disabled ipv6 at the router level and phone level (via app and script). Netstat still reports tcp6 listening.
Is this even the problem? It seems ipv6 is pretty popular on Android and the problem persists across multiple ftp server apps. Seems like the apps would be built with this in mind. I'm trying on my android 2.3 phone as well but i can't find how to make a static ip on gingerbread.

Related

WPA2 Enterprise

Hi,
I have found several articles and discussions covering the topic of connecting the Note Pro to a corporate network, but I still cant find the right combination for mine. I wondered if anyone had any suggestions....
Ive tried adding a network and modifying the settings to PEAP and MSCHAPV2 etc... however, I'm not convinced my work network is straight forward. On my laptop I connect no problem, and the wifi profile for security looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I think it being a WEP network means when I manually add a WPA2 Ent network it can't see it (out of range). If I connect to the broadcast WEP network, it wants a passphrase rather than a user login. So is there any way to convert these windows settings to android? (either by modifying a profile, or some clever plugin etc). My IT say there is no passphrase, because the passphrase is the login details...
Any ideas welcomed! For now I'll keep using the Ethernet adapter :\
Edit: I have tried wifiACE with no luck also
mrjester said:
Hi,
I have found several articles and discussions covering the topic of connecting the Note Pro to a corporate network, but I still cant find the right combination for mine. I wondered if anyone had any suggestions....
Ive tried adding a network and modifying the settings to PEAP and MSCHAPV2 etc... however, I'm not convinced my work network is straight forward. On my laptop I connect no problem, and the wifi profile for security looks like:
I think it being a WEP network means when I manually add a WPA2 Ent network it can't see it (out of range). If I connect to the broadcast WEP network, it wants a passphrase rather than a user login. So is there any way to convert these windows settings to android? (either by modifying a profile, or some clever plugin etc). My IT say there is no passphrase, because the passphrase is the login details...
Any ideas welcomed! For now I'll keep using the Ethernet adapter :\
Edit: I have tried wifiACE with no luck also
Click to expand...
Click to collapse
what happens when you join the network from the wifi manager? will it let you join?
is it asking for a passphrase?
i would think that the network acts as 'open', then once you join, simply open a browser and type in your auth info.
or is it using a different type of auth?
It doesnt take to an auth web page.... on wifi manager it asks for a passphrase (which IT told me doesnt exist as its wpa2 enterprise). On my laptop it asks for a username and password, which is fine as what I would expect from wpa2 ent.

Need help connecting my server to the public internet

I have an android hosted ftp server (using the app Ftp Server) that I would like to connect to the public internet. I am not the particularly great with networks, but I have a basic understanding.
The server is working successfully on my home network.
I believe I need to do port forwarding to get it on the public internet. I have a Telstra Technicolor router that I have tried to do the port forwarding on, but have had no success.
The app (Ftp Server) uses the port 2221, and the passive ports 2300-2399. I set up port forwarding to use the ports 2221-2221, and assigned it to the android I have the server on.
I tried typing in my public (WAN) IP (101.176.xxx.xxx:2221) as ftp://101.176.xxx.xxx:2221 and as http://101.176.xxx.xxx:2221, but with no success, just with infinite loading on the ftp address, and a 'this website is not available' on the http. Tried on different browsers.
Any idea what I'm doing wrong? All the port forwarding guides for my router (about 3) are showing for games such as minecraft, instead of a server, so aren't helpful to me.
Thanks to anyone who can help. I may even consider a donation if you help enough.
Sent from my fake galaxy note 4, now revived from the dead, again!
Test your ports with this tool and report back - opening ports can be tricky on some routers so a screenshot of your router's port forward page may be helpful.
Note: Many people enter their WAN IP in the IP section when port forwarding but this is incorrect and will not work - routers need your phone's LAN IP in order to open ports for it. You can see your phone's IP by using Fing or typing "ifconfig" in the terminal emulator of your choice.
CrashBandicootX said:
Test your ports with this tool and report back - opening ports can be tricky on some routers so a screenshot of your router's port forward page may be helpful.
Note: Many people enter their WAN IP in the IP section when port forwarding but this is incorrect and will not work - routers need your phone's LAN IP in order to open ports for it. You can see your phone's IP by using Fing or typing "ifconfig" in the terminal emulator of your choice.
Click to expand...
Click to collapse
Thanks. I'm not at home at the moment to test, but I'll report back when i have a chance to test.
Sent using android tapatalk on my Windows 8.1 laptop via chrome. What a badass
CrashBandicootX said:
Test your ports with this tool and report back - opening ports can be tricky on some routers so a screenshot of your router's port forward page may be helpful.
Note: Many people enter their WAN IP in the IP section when port forwarding but this is incorrect and will not work - routers need your phone's LAN IP in order to open ports for it. You can see your phone's IP by using Fing or typing "ifconfig" in the terminal emulator of your choice.
Click to expand...
Click to collapse
'error connection refused' i get from canyouseeme.org.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is what the port forwarding page says. It is assigned to the correct device, you just cant see it on this page.
I posted this on a technology forum from my own country, Australia, to get information on my own router as well. More information is on there as well.
http://forums.whirlpool.net.au/forum-replies.cfm?t=2434470&p=-1&#bottom
Jesse72 said:
'error connection refused' i get from canyouseeme.org.
This is what the port forwarding page says. It is assigned to the correct device, you just cant see it on this page.
I posted this on a technology forum from my own country, Australia, to get information on my own router as well. More information is on there as well.
http://forums.whirlpool.net.au/forum-replies.cfm?t=2434470&p=-1&#bottom
Click to expand...
Click to collapse
Do what Revs Per Min said on the whirlpool forum and assign the trigger ports to be the same as all others. I'm guessing from this article that trigger ports are used to "trigger" the forwarding?

[APP][ROOT][4.1+] Remote Control Server and Client for TV boxes

This app consists of two packages, a server to be installed on the TV box you wanna remotely control and a client to install on your Android phone or tablet.
The server comes in two flavors: the regular build that requires root permissions to run and the WeTek build that will run with system permissions.
You will need a recent version of Google Play Services (both apps at start will notify you if the provided GMS is outdated and take you to Play Store for update), with no Play Services these apps won't run because make use of some API present there.
This is how it works: once started the server uses UPNP to broadcast its presence, because of this client and server have to be connected to the same network and subnet. Moreover some routers don't route such packages between ethernet and client devices, it's a limitation of your network equipment not a flaw of the app.
Server
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Setting it up is pretty straight forward, you just have to press on "START REMOTE CONTROL" button and, eventually, grant it root access.
You can access to settings from the icon in the top right, from there you can enable the automatic start of the remote control at boot and change the server name that you will see when you discover it from a client.
If for some reason the server cannot start you will be prompted with an error message, if everything goes fine you will see this
Client
To start discovery just tap on the big WiFi icon in the middle. You will get an error if you are not connected to a WiFi or Ethernet network. You won't see this discovery button if you device could not connect to Google Play Services.
In the contextual menu of the toolbar (in the top right) you can access to the settings where you can toggle haptic feedback and change the client name.
Once the discovery has finished and has found a server you will see this
Just tap on the device to connect to it.
Note: for security reasons in the server code I restricted access to a single client so you can't connect from two clients at the same time.
Once connected successfully you will be prompted with the remote controls
To close the connection to the server you can use the close button in the top right. The other button is used to send text to the server (it will do something only if the server is focued on a text input field)
Downloads
Remote Control Server 1.0 (Standard edition)
Remote Control Server 1.0 (WeTek edition)
Remote Control Client 1.0

[CLOSED][APP][Need-Help][6] VPN-Server with "Servers Ultimate Pro" - how to configure?

Hi!
The APP Servers Ultimate Pro is runs perfectly on a Samsung smartphone with Android 6. (alternative free version = Servers Ultimate )
Many servers are integrated there. You may have to install extensions. I have already got some servers up and running.
Actually not a bad thing.
Now I want to try whether a VPN server is possible with it! If so, it would be very cool! I need help with the setting!
1.) The server app also needs a "server.conf" or "server.ovpn" = in which directory does it have to be for the app?
2.) I need help with the correct structure of the Conf and how exactly to address the certificates.
3.) How many ports do I have to activate in the router and can I freely choose them?
Was unnecessary!
PLZ close / delet thread
I've been struggling with some of the configurations. I have the web server up and running with Wordpress. FTP works, IRC runs but I can't seem to get myself admin (OP) status. Email, I can't get it to connect, even with the extended ports above 1024. GIT server works, that's where I'm storing the source for my web site, the using FTP to place it in the www directory for the web server. I'm using the DNS on my HAMMESH network to point everything to the Android TV box that the Server apps are running on.
My goal is to have an Android TV box, that I can plug in to an ARDEN Network to provide a Website, local email, chat, storage sharing for disaster photos. Email is the only thing I can't get around. I also have a Le Potato Arm64 board that has Ubuntu 18.04 LTS, running ISP Config. That is my plan B. I may be better off with this route since it supports a 256GB MicroSSD card. I found an X88 TV box on Amazon that has 4GB and 32GB for $40 US, that may be plan C is I can get the email sorted out. I've tested the connection with Telnet ip_address>2525 and getting the connection refused. If I use the tools inside Servers Ultimate Pro, it talks to the email server, If I issue the EHLO command, it responds. So it appears the email server app may not actually be opening the 2525 port like it's configured to. I may try the proxy server, to see it that can route the traffic to the backplane on port 25
I'm testing against my M88 TV box and I can now test the email
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MOD ACTION:
Thread closed at the request of the OP. Also this thread is in the wrong forum.
@r0gu3pr13st
If necessary, please post a new thread in an appropriate forum.

Question Xiaomi 13 - Wi-Fi portable hotspot MAC address (BSSID) randomication

Good day.
I have the following problem.
My Phone is Xiaomi 13 (global version). Codename is "fuxi".
My rom at the moment is stable "xiaomi.eu_multi_FUXI_V14.0.24.0.TMCCNXM_v14-13"
Please be advised that every time switching on the Wi-Fi portable hotspot (for internet sharing), the MAC address (BSSID) is changed in the phone.
And the problem is Wi-Fi adapter (TP-Link TL-WN725N v3) in my car (Kia Sorento Prime) recognized it as different hotspots, and therefore not connects automatically. I have to mannually connects to new hotspot everytime. Photo and screenshots attached.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FYI, my previous phone Xiaomi Mi6 had a static BSSID of portable hotspot and the car always connects automatically which was great.
I have been looking in settings for everything related to Wi-Fi for a long time and found the following:
1. Developer options > Wi-Fi non-persistent MAC randomication
This option doesn't work! I tried ON/OFF - no any difference.
Screenshot attached.
2. Password & security > Privacy > Protection from Wi-Fi probe requests
Alternative name is "Wi-Fi Probe Protection". I've googled what is this and found the following: "XDADevelopers says that the feature appears to “randomise a smartphone’s MAC address so that the actual address is not shared with the WLAN router with a probe frame,” which is basically a request from a smartphone to scan available WiFi networks in the vicinity"
This also can be a sollution, but the problem there is no possible to disable this option. How to switch it off?
Screenshot attached.
3. Just FYI, real device mac/randomized mac can be configured in Wi-Fi saved networks only.
However in case of portable Wi-Fi hotspot (for internet sharing) - there is no such option, always randomized mac.
Screenshot attached.
Pls check on your side and fix if possible.
Pls revert with your comments/sollutions.
Many thanks in advance,
Hi, i have never had issue with this, but for second question, did you try disabling MIUI optimisation? Maybe it will then allow you to disable that option.
Djeloan said:
Hi, i have never had issue with this, but for second question, did you try disabling MIUI optimisation? Maybe it will then allow you to disable that option.
Click to expand...
Click to collapse
Hi. There is no "MIUI optimization" option in the developer settings on Xiaomi 13 (xiaomi.eu rom).
Look at screenshot.

Categories

Resources