Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [port-forwarding]

Port forwarding (port mapping) is a network address translation (NAT) technique to redirect communication requests from one address/port to another. It is used to reach services on a host residing on a masqueraded internal network, e.g. a Raspberry Pi on a home networked.

0
votes
1answer
26 views

NGINX not available through port forwarding

I am currently trying to get NGINX accessable over the internet. I have installed NGINX on my raspi 3, configured and got it up and running on port 81. I am using the default config for NGINX. I have ...
0
votes
0answers
26 views

Sharing home LTE conncetion via RPi + OpeVPN

Setup: RRi connected (bridged) to home network router (192.168.178.99) RPi LTE stick (192.168.8.100) RPi acts as OpenVPN server on 192.168.178.99 being publicly available via portforwarding and ...
1
vote
0answers
156 views

Raspberry pi 3 a+ stretch and huawei e3372h-153 port forwarding

At the moment I was able to get internet on my raspberry pi 3a+ with Huawei e3372h-153, a 4G LTE USB-dongle. When I enter address http://192.168.8.1 it gives me a config web page of a dongle. I ...
1
vote
0answers
21 views

iptables doesn't recognise REDIRECT as target

Trying to redirect traffic using iptables v1.6 and the following line: iptables -t nat -A PREROUTING -p udp --dport 67 -j REDIRECT --to-port 6767 which results in the following output: iptables: ...
0
votes
1answer
123 views

Is my router not port forwarding? or is it my ISP?

I know, many a port forwarding question has been asked before... But I've been struggling with my router for days now, wasting too many hours, reading everything I can find online and failing to make ...
2
votes
1answer
97 views

How does 'iptables rules table' work with hotspot?

I'm using iptables rule for censorship. I created hotspot.When I try to connect website on raspberry with mother network, It's working. But I try on pc with hotspot my iptable rules isn't working. ...
0
votes
1answer
166 views

Iptables and reverse ssh tunnel to connect with IP camera

I need to be able to access an IP camera that is on the same local network as a raspberry. I do not have access from the outside because it is a mobile data network that does not give me public IP or ...
1
vote
2answers
281 views

Problems connecting to my Raspberry via SSH [closed]

So a little background: I'm a CS student mostly interested in development and software design, but also highly interested in everything Linux and servers. I've wanted my own RPi for a while and ...
0
votes
1answer
28 views

How do I serve a webapp available on localhost to my local network?

I have a webapp that I'm testing via SSH; it's available on localhost:webappport when I'm logged into the pi. However, if I try to view the webapp by going to the pi.ip:webappport from another machine ...
0
votes
1answer
395 views

How to SSH Raspberry Pi from outside local network

I know this question has been asked many times but I could not get it running so I decided to ask it here. I have a Raspberry PI running on my local network which I can easily SSH it through my ...
0
votes
0answers
122 views

Port Forwarding on Rpi3 for remote access not working

I want to access my Rpi3 from anywhere. For that i have created an Free account on noip.com. I have a my Hostname too. I am using O2 Router at home, and also setup for DynDNS as well as Port ...
0
votes
2answers
6k views

Edit iptables to open a port the safest and easiest way (nano?)

I have this web application called HaasBot (running on Mono 5) which I want to run on my Raspberry Pi 3 with Raspbian Stretch Lite (Terminal only!) as a server internally in my network only. Using SSH ...
0
votes
2answers
632 views

RPI zero W with P4wnP1 via usb to computer cannot ping 8.8.8.8

i am having issues with my raspberry pi zero W. so my setup is like this: I have a laptop which is connected to the internet over wifi (fedora 27 workstation) on interface wlp4s0. now i want to ...
0
votes
0answers
351 views

How to access Raspberry Pi UV4L Streaming server from outside ip without port forwarding?

Expectation Through a web browser, access should be made to my Raspberry Pi server that is not on the same Wi-Fi with the web browser. I need to make my Raspberry Pi portable, so I don't know which ...
1
vote
2answers
837 views

Port forwarding from ZTE MF831 data stick to Raspberry Pi 3 (Apache/Nextcloud)

How can I access my Raspberry PI 3 (Apache/Nextcloud) from a ZTE MF831 data stick? I use Raspbian Strecth and got a public/static IP from my provider. EDIT: The data stick is connected directly to ...
0
votes
1answer
228 views

Connect to the raspberry over SSH via mobile connection

I finally got it working that I can use a Huawei E173 modem on my raspberry. When activating it with sudo ifup 3gModem everything works fine, and it connects itself to my Server as I can see it ...
1
vote
1answer
802 views

Raspberry pi how to expose a port when a docker running a web server

I have the following configuration in Raspberry Pi for iptables pi@raspberrypi:~ $ sudo iptables --list Chain INPUT (policy ACCEPT) target prot opt source ...
1
vote
2answers
2k views

Port forwarding raspberry pi

I'm trying to forward my port so I can work on my Raspberry from work (through ssh), but I've tried several combinations which won't work. Could someone explain to me which external/internal ports I ...
1
vote
0answers
139 views

Apache2 port 80 issues - Arris modem

I configured my Arris TG852G router to forward port 80 to my raspberry pi private IP address. I also put port triggers on port 80. I have Raspbian OS on my pi. With Apache running and listening on ...
0
votes
1answer
446 views

From “SSH: Permission denied, please try again” to realizing my RPi is running a non-ending process

I am pretty new in this, and I am working on a home automation project where my Pi should be accessed from the outside world and some slave Arduinos should perform tasks like monitoring the ...
1
vote
1answer
389 views

Raspberry pi not listening on TCP port

I am attempting to port forward 1883 to run MQTT server on my PI. The port is forwarded through my router, but the PI is not connecting to it. Experiments: I ran a python server to test port ...
1
vote
2answers
112 views

Raspberry Pi outside local network - configure at home?

Raspberry Pi newbie here! I want to be able to access my Raspberry Pi outside my local network. I have read some guides on how to do this by using port forwarding and SSH. It sounds do-able. In my ...
1
vote
0answers
75 views

Problem in using udhcp and dnsmasq on same machine

I am using my Raspberry Pi for configuring both as an wifi hostpot and wired router not at same time. I have written separate bash script file (.sh file) for creating configuration files for wifi and ...
1
vote
1answer
2k views

Can't access motion cam on my raspberry pi from outside

I have been struggling with this for whole day. I have a Microsoft web cam connected to my raspberry pi 3 with ip of 192.168.0.17, and listening port of 446. Based on the documentation I have the ...
0
votes
0answers
108 views

Port forwarding isn't working on raspberry pi

WAN port: 54321 LAN port:443 LAN IP address: 192.168.1.3 Protocol: both Status: on part of /etc/nginx/sites-available/default file: upstream php-handler { server 127.0.0.1:9000; #server ...
1
vote
4answers
887 views

Port forward of Raspberry Pi 2 does not work

I want to to get an external IP for my raspberry pi 2 on port 80. I am using a GRBL web page for CNC, so I want to get the web page online. I tried to port forward Raspberry Pi 2 IP, but it doesn't ...
1
vote
0answers
291 views

Port forwarding doesn't work on raspberry pi

I am using Huawei B683 router model, using this configuration as it shown below: The static IP address of raspberry pi is 192.168.1.3 for both eth0 and wlan0. Update: here is the ifconfig: pi@...
1
vote
0answers
202 views

subprocess stdout into a variable for Ngrok

I'm trying to make a python script wich reports me the port on 0.tcp.ngrok.io is started when I run the code on terminal (after moving ngrok executable file to /usr/local/bin) ngrok tcp 22 I get ths ...
0
votes
1answer
238 views

How do I protect a port that I need to open for my VPN server?

I used the program pivpn to build my vpn server on a raspberry pi 3. When the build was completed, I forwarded the correct port in my router to my raspberry pi. Now I used one of the web programs on ...
1
vote
1answer
61 views

How to build access point (from internet into local network) using RPI?

I need to be able to connect over ssh to my machines that are in local network where they do not have publick internet access. I have RPI, yota usb lte router, linux on rpi board, local connection ...
-1
votes
0answers
185 views

dataplicity port 443 connection timed out

Previously I was using dataplicity without having problem but somehow it was not connecting to dataplicity ssh terminal so tried re-installing the program and got this error. If any proxy is ...
1
vote
1answer
309 views

Connect to Raspberry Pi remote using IP Address

I have a raspberry pi web cam set up at our vacation home. As soon as I got back to our real home, I am no longer able to view the web cam (I now know that I only have it set up with the local IP ...
0
votes
0answers
507 views

Can't connect to SSH outside of home network

I have a raspberry Pi 3 model B that I am hoping to turn into an SSH git server. I am able to SSH into the server just fine when I am on my home network, but I am unable to do so when I am on an ...
0
votes
1answer
2k views

RPi3 refuses SSH remote connection, but accepts LAN connections

My RPi 2 died and was replaced with RPi 3. Disk image of old SD card was deployed on a new card of higher capacity. After inserting that card to my new Raspberry Pi 3, it boot up successfully and ...
1
vote
3answers
477 views

Control GPIO from outside home network without port forward

At first I do not want to do port forwarding to access my PI, what I want is that the PI would access a website where it would send the GPIO status and also will read the "new" values that must be set,...
1
vote
1answer
365 views

Confusion about Dynamic DNS (router vs Raspberry)

I downloaded the noip client, installed it with sudo make install and configured my No-IP credentials. Seems to work fine. But the Pi has a local IPv4 IP address (e.g 192.168.9.1 etc). How does the ...
5
votes
3answers
4k views

Can I identify my PI by domain name in a LAN?

RPI can be accessed from computers in the same LAN by using it's local ip. If I want to access it by a specific name, I can set it up in hosts file. This works nice if RPI has a static ip, but not ...
0
votes
3answers
707 views

rpi 3 : combine wifi and ethernet networks

What I need: local Router --> RPI 3 <-- wifi Router local Router provides dynamic IP by Ethernet cable, but this is a local network, closed from global network. wifi Router (smartphone, or any ...
1
vote
1answer
339 views

Port forwarding of Raspi without router

Let me first tell the complete setup: I have a laptop that connects to the internet by a mobile hotspot connection. I share that connection with Ethernet, and connect the Raspberry Pi with ethernet ...
1
vote
0answers
678 views

'Motion' port not responding - “This site can't be reached”

I've set up my Pi as a web server and I am using RaspCTL as the dynamic DNS. I can access my site via [mysite].raspctl.com from my home network and from an external network. Great! I'm also trying ...
-1
votes
1answer
1k views

Is it possible to create a web server like dataplicity.com or weaved for accessing port 80?

I am working in a project with PI i have to access port 80 remotely on browser, i tried dataplicity.com and weaved to do so, but for security reasons i cant use a third party server and put valuable ...
2
votes
1answer
970 views

HOSTAPD & DNSMASQ Hotspot Port forwarding my PC

I have a raspberry pi 3 and I'm currently using it as a internet hotspot: I use a ethernet cable to get the connection, and the WiFi card to share it. (Eth0 --> Wlan0). The only problem with this is ...
-1
votes
1answer
103 views

Pi 3 suddenly not accepting external requests

I have my Pi set up as an ownCloud server. I have port forwarding enabled on my router for two specific ports (one for SSH one for HTTPS), and the Pi is configured to accept these requests on these ...
1
vote
1answer
245 views

Port forwarding ip problem

I've set up raspberry pi 2 and installed MotionEyeOS with the help of this guide My laptop is connected to wi-fi router and its ip address is static: 192.168.1.150. My router ip address is: 192.168....
0
votes
0answers
375 views

Raspberry Pi - Port Forwarding Issue

I have a raspberry pi connected via ethernet to the router and I have setup port forwarding to work with it on port 80, hitting the apache http server - this works fine. The problem occurs when I ...
0
votes
2answers
649 views

running a command on pi boot after IP is assigned

I am trying to run the below command to run automatically on startup upnpc -a `ifconfig eth0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 80 5900 TCP I have added this command in /home/pi/....
1
vote
2answers
5k views

Vnc and Port Forwarding - Port and Display Number

I have VNC running on my PI with the default port ("netstat -npl" suggests that is 5901). I am trying to set up Port Forwarding on my router to let me VNC in to my PI from an external network. I ...
1
vote
1answer
153 views

Can't get port fowarding to work no matter what i try

I'm trying to access my Pi's Sabnzbd web server from the Internet but cannot. I can access Sabnzbd from local IPs successfully. The port forwarding does not seem to be working for my pi. I did test ...
0
votes
1answer
428 views

Set up SSH from internet - is there more than static ip and port forwarding?

I would like to be able to ssh to my raspberry pi over the internet. So far I have done the following: Enabled the ssh server in raspi-confg Set a static internal IP for the raspberry pi Tried ...
4
votes
1answer
152 views

SSH via Raspberry Pi's working Domain

I've got a working domain for my Raspberry Pi to which I can ping to. I forwarded the port for SSH (Port 22) on my router as well, but I still cannot connect from outside to my Raspberry. Connecting ...