Port forwarding my home raspberry Pi server using termius - ssh

Hi I have a raspberry Pi 4 at my house running a ssh server. To access that remotely I managed to use ddclient, to use a domain name and keep same domain even if my dynamic public IP changes. I tried to start port forwarding but this didn't work. I have premium Termuis account. I want to know it's there any way for me to port my internal ip using termuis.I don't want to use ngrok as it has limitations.I am not a network wizard. I checked https://whoer.net/ it said proxy = no. Any Help would be greatful 🙏

Related

Accessing localhost via a VPN connection

Goal
I am trying to setup a secure connection to a PC in our network.
The goal is to be able to access a domain, api.mydomain.test, on that PC, that is served by Apache.
Setup
To securely connect to the server, I have implemented the Softether VPN Server on the PC. The VPN network must be separate from our own local network, which the PC is also on.
The idea is to add an IP whitelist in the vhost record op Apache to allow only people on the VPN subnet to connect to the domain api.mydomain.test. Next to this filter, we also added a firewall to the PC to not allow any connection on port 80 or 443.
Issue
I can connect to the VPN perfectly and receive an IP ofthe subnet 10.11.12.x.
However, I can't seem to be able to access the server on localhost or via the IP of the other network the PC is on (10.10.2.x).
To be frank, I don't even know how to do this when connected to the VPN.
What have I tried?
Use a local tap bridge instead of virtualNAT and virtual DHCP.
This was not working as expected, because then the VPN clients (my laptop) did not receive an IP.
Add routes to allow 10.11.12.x IPs to access localhost.
According to documentation of Softether, the virtual NAT does not use the routes, so this would be useless for our goal.
What I do not know, is how this is normally setup?
I have the feeling I am trying to do this the wrong way, so any ideas or different approaches would be greatly appreciated!

Raspberry Pi Apache web server to be able to access online

I've got a raspberry pi with the ip lets just say X. My IP address is Y.
My routers port forwarding configuration looks like this.
Can someone please help me how can I access my webserver from the internet? On LAN I am able to access it with http://X/index.php but I am stuck at this point.
Sorry if I cannot formulate my worlds well, I am pretty new to this whole web server thing.
Thanks in advance!
Is your public ip static or dynamic? Here is how to check it
If it is dynamic, (almost) tough luck!
If it is static, you need to set up port forwarding. In essence, configure your rooter to forward all traffic on port 80 (or whatever) to your raspberry. Exact steps vary but try googling " forward port 80" for instructions.
When forwarding is set, you should be able to access the Raspberry from outside your LAN.

access to ExpressJs server hosted on my Pi from my website

I am currently building a smart home project. I have express running on my Pi with my data stored locally. I would like to access it from a website using queries. The API is very basic but works for my needs.
My question is: How to connect a website to my local data on my Pi?
here is the description on my rooter's settigns
Ok I was wrong configuring the port forwarding, I omitted to redirect to the local adress of my Pi. It gives: start port :80 End port:80 Protocol: both TCP and UDP and local IP adress, the one of my PI, which is 192.168.0.21

How to use IP instead of localhost

I am using Windows server 2008 and installed wamp on it. Now I want to share the local link with client using same network.
Instead of [localhost], I am trying [server_ip_address]. but it's giving me error.
I want to use it as 192.168.30.1 but not able access this.
I also put the wamp online and restart the server. I m able use the ip from my m/c only. If I use this link from another m/c then its giving following error
URL http://192.168.5.12:8080
Error The connection has timed out
you can access the Server from your clients with url like,
http://server ip address : port
Your Local clients and your Local server must be connected in a LAN network.
Check your Windows firewall settings. Check by turning off the private network firewall

SSH into linux after creating an access point with hostapd

I made a remote control vehicle with a Raspberry Pi, but i am linked to a wifi router. I decided to make the Pi itself some kind of router to connect directly to it. I downloaded and set up hostapd, set the own_ip_addr=127.0.0.1. When i ping 127.0.0.1, i get responses, but i can't ssh at that address.
Any help is welcome. If you have any idea other than hostapd, please tell me. I just want to control the Pi via wifi without a router.
127.0.0.1 is the local address, and not valid external to the Pi...
If you want to connect to the Pi externally, you must find the Pi's network IP.
You could find this by running ip addr show on the Pi, and taking note of the IP for the interface you are using.
Then just use that IP when you try SSHing.