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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

piVPN only sends packets through DMZ

I have ISP router (Technicolor DGA0122) and my own router (Xiaomi Mi Router 4A Giga), where I've set up port forwarding for 51820 (wireguard) port as per PiVPN faq, so that ISP router points to Xiaomi ...
Neone's user avatar
  • 101
1 vote
0 answers
25 views

Port forward fails on high data traffic, how can I fix it?

I wanted to test the bandwidth over port forwarding via iperf: On the first terminal: ssh myraspberry -R 5001:localhost:5001 -L 5002:localhost:5001 On the second terminal: iperf -s On the third ...
ceremcem's user avatar
  • 287
0 votes
1 answer
164 views

Open Port 1433 on Raspberry Pi

I have tried to connect to MSSQl Database from raspberry pi. However, I have a few errors coming. I try to telnet the server ip address like that. telnet 192.168.10.70 1433 Trying 192.168.10.70 ...
MyatKaung's user avatar
-2 votes
2 answers
206 views

Do you need port forwarding to use SSH from your Pi anywhere?

I wanted to use my control my Pi via SSH from anywhere, and all the tutorials online I see for doing this require port forwarding. Is there any way to do this without using port forwarding?
magnetosticker's user avatar
0 votes
0 answers
130 views

multiple reverse SSH tunnel with same port on same server

I'm looking for a solution for connecting to multiple remote computers through reverse SSH tunnels from one computer/software on the same port. I have remote1 and remote2 where I cannot open network ...
frank arditi's user avatar
0 votes
0 answers
73 views

Forwarding incoming traffic to a pi to another port

So I have my pi 3b connected to another device with an IP address of 192.168.250.1 via Ethernet (eth0). I set my static IP address to 192.168.250.100 so both could communicate. The device wants to ...
ctcombs0351's user avatar
0 votes
0 answers
134 views

Trouble communicating between a raspberry pi 3b and Omron plc using pyModbusTCP

Ok so I am trying to communicate with an Omron plc using a raspberry pi running the latest version of raspbian (bullseye in this case). I have been trying to keep it simple, so the only thing else is ...
ctcombs0351's user avatar
0 votes
0 answers
157 views

Can't connect to Raspberry pi 4B via WAN IP

I have installed and configured owncloud 2 months ago and port forwarded ports 443 and 80 on my router. Back then it worked flawlessly, but now it does not for some reason. The Owncloud server works ...
DUBMaker's user avatar
0 votes
1 answer
137 views

remote port forward or local port forward

I have a raspberry pi at a remote site which is connected to the wider internet using a USB 3g/4g modem (its very slow, but works) I have root ssh access to this device, RPi is accessible via sitename....
Sandman112's user avatar
0 votes
1 answer
66 views

Raspberry PI 3 port forwarding issue

I'm trying to port forward from PI to my local laptop : ~/tmp$ ssh -R "192.168.0.12:8000:localhost:8000" pi@192.168.0.12 pi:~/tmp$ netstat -an|grep 8000 tcp 0 0 127.0.0.1:8000 ...
Philippe's user avatar
  • 101
1 vote
2 answers
134 views

Port forwarding / tunnelling for web server [closed]

I've been looking for a tunneling service, but it seems like most information is outdated. I've been using portmap.io for a while, but they only provide tunneling for one port. The main requirements ...
Lorenzo's user avatar
  • 170
1 vote
0 answers
60 views

Can iptables be used to monitor a specific host and port without being a gateway or access point?

I have a Pi 3B+ that I want to use to monitor traffic forwarded from the router to another host (and a specific port) on the network. I am currently using the ethernet interface on the Pi to connect ...
MattR's user avatar
  • 31
2 votes
0 answers
226 views

Use Raspberry Pi to monitor traffic on local network through a specific port

Is there a way to have a Raspberry Pi Model 3B+ monitor traffic on the local network through a specific port? I am running Plex on another machine on the network and have my router port forwarding to ...
MattR's user avatar
  • 31
0 votes
0 answers
3k views

Access ports with specific address

I've set up Pi-hole to manage my network, and it is installed on a Raspberry pi 4 that already handles some stuff, for instance, an R-shiny server on port 3838 and a homeassistant installation on port ...
Dan Chaltiel's user avatar
0 votes
2 answers
368 views

How to use Raspberry Pi as server for python sockets without port forwarding

I know similar questions have been asked many times in many different forms before, but I couldn't find any that suited my needs. I recently made a connect-four game in python, and I thought it would ...
Thaddaeus Markle's user avatar
0 votes
1 answer
121 views

Remote access to web server while openVPN is on?

My setup: Router: 192.168.2.1 with port forwarding to 192.168.2.3 (external 8080 because my ISP blocks 80, internal 80.) Pi4: 192.168.2.3 with Apache running to process occasional requests from my ...
jdequick's user avatar
0 votes
1 answer
5k views

How to correctly handle port forwarding so pivpn wireguard works. Next steps are pi-hole

I am a noobie. Seem to have issues with anything I install on my raspberry pi 4b. First off I have my router using openDNS (is this a problem or make the set up different?). I set a static IP for my ...
brantchyoga's user avatar
0 votes
0 answers
71 views

raspberry pi apache web hosting not working externally

Hi i have been working towards hosting a web page on my raspberry pi with the BT wifi service the problem is that i cannot host my web page externally i tried to do port forwarding but my raspberry pi ...
Tom Mccormack's user avatar
2 votes
1 answer
8k views

How do you change the SSH port number? [closed]

We just got a new router (Vodafone THG3000g) and it doesn't allow port forwarding for port 22. This means I can SSH in locally but can't do it remotely using the public ip. I should be able to do ...
lukenm's user avatar
  • 183
2 votes
1 answer
1k views

Motion Port Forwarding for access over the internet

I'm a bit new to the raspberry pi. Currently, I have a raspberry pi cam using motion to stream live video to a local HTTP address. It can only be accessed locally in my home network. I read some ...
Ajay's user avatar
  • 51
0 votes
0 answers
731 views

Trying to remove Blynk server from Raspberry Pi 3

Having purged the installation files for Blynk local server on my Raspberry Pi, there seems to be a relic left & I despite hours spent searching, I can't find how to get rid it, so any help would ...
peter hardcastle's user avatar
0 votes
1 answer
77 views

Help with Port Forwarding for College Project

Hello Guys im doing a group college project for my final year it involves a CCTV type project using the raspberry pi camera and a website with a php login system to the website, I have a Pan Tilt hat ...
Minieh 's user avatar
1 vote
5 answers
1k views

How do I SSH into my Pi at home from a remote location? [duplicate]

I can't seem to find a straight answer anywhere. So I'm just going to ask SO instead. For arguments sake, lets assume these are my details public IP ~ 11.111.11.11 Pi's private IP ~ 192.168.0....
Meeky333's user avatar
1 vote
1 answer
2k views

Cant access my raspi web-server from outside my local network

So I've been working on this problem for days now. I have the needed ports forwarded plus more opened just in case, I've tried changing ports.conf to listen to a different port for testing and still ...
Mnai's user avatar
  • 111
0 votes
0 answers
192 views

Port forwarding issue. How do I troubleshoot?

I have a Pi, running Raspbian 10 Buster. I would like to portforward VNC and transmission. I have opened the ports in my router, firewall. The ports are still "closed". I was trying to see why is ...
Ryan's user avatar
  • 21
0 votes
1 answer
138 views

How do I set up a remote ssh connection from my raspberry pi?

I really need some clarification regarding how you connect to a remote server which then forwards requests to certain ports. In an ssh tunnel, are you establishing a SOCKS proxy? How do I get a server ...
user111573's user avatar
0 votes
1 answer
786 views

Configure raspberry pi 3b as gateway to forward all traffic to proxy server

This is my current configuration: My devices need to configure the proxy settings in order to access the internet. What I want to do is configure the raspberry pi as a default gateway with ip 192....
Sebastian Ampuero Morisaki's user avatar
0 votes
2 answers
305 views

Port Forward port 22 for Raspberry Pi 3 but port still closed

Yesterday I made a Nas Server on Raspberry Pi and on the local network it's works fine and the SSH connection too but as soon as I try to connect to the Raspberry through Putty from an outside network ...
Gellért Hováth's user avatar
0 votes
0 answers
163 views

Forwarding owncloud from PI to router

Aim: Have an owncloud on a raspberry, available from public network e.g. from the IP of my router rather than from the IP of my Raspberry. Background info root@DietPi:~# uname -a Linux DietPi 4.19....
Harton's user avatar
  • 1
0 votes
0 answers
25 views

My LAMP server does not work after moving to a new house

I self host two websites on a Apache2 instance that runs on a Raspberry Pi3 (more info on versions and configurations below): Website1 is a a static website that I coded from scratch, while website2 ...
Fede9390's user avatar
  • 111
1 vote
0 answers
554 views

Linux VPN server without port forwarding

I want to make a VPN server on my raspberry PI. I know it's pretty much simple task but my router does not support port forwarding. So is there any other way to do that?
ZEESHAN GHAZANFAR's user avatar
0 votes
1 answer
960 views

SSH to raspberry pi over internet

I want to ssh to my Raspberry pi that will be on a different network from my home network. ON my home network router, I set up port forwarding: Set the WAN and LAN start and end ports to 22, set the ...
MasterLin1987's user avatar
2 votes
1 answer
253 views

ngrok tcp via wlan0 to tcp server device plugged into eth0 help

i want to be able to access tcp port 9100 on my network printer when out in the field with it from a web-app running in AWS. I want to have the printer plugged into eth0 on the Rpi3 and the wlan0 ...
Jasonson's user avatar
1 vote
0 answers
129 views

How to connect to the pi with xrdp installed using Microsoft Remote Desktop on another network

Hello I have a raspberry pi 2b with xrdp installed. At home I can connect to it in rdp and ssh without any problems. The pi has the ssh and rdp ports forwarded. From another network, I can connect to ...
Hippolyte's user avatar
1 vote
0 answers
169 views

Can't SSH into raspberry pi 3 A+ when connected to router

In my Office, we have a network domain. On this network, we have a router that is connected from the network to the router using Ethernet (duh). My raspberry pi 3 A+ is connected using WiFi to this ...
raspb33ry's user avatar
2 votes
2 answers
955 views

SSH port forwarding problem NAT/PAT (Livebox) : remote internet access to raspberry pi using SSH

I'm a french student trying desperately to grant access to a raspberry pi using ssh. I'm using : raspberry : raspberry B+ with raspbian laptop : ubuntu 18.04 router : livebox 3 (France) My goal :...
Onyr's user avatar
  • 121
0 votes
0 answers
213 views

Raspberry pi port forwarding issue

I have a raspberrypi which is raspbian installed.I am connecting rpi with ssh via my home wifi.Then Installed 3proxy,usb modeswitch and wvdial.And my 4g wifi dongle is connected and up.This my config: ...
Jani's user avatar
  • 1
1 vote
0 answers
71 views

Can I route traffic from internet to a router to a raspberry pi to another raspberry pi?

I'm not sure if what I am trying to do is even possible or what to even search for. I bought 2 raspberry pi's to replace my current setup. Old setup: Desktop running plex and tautulli, ssh Laptop ...
Lynkz83's user avatar
  • 11
0 votes
1 answer
815 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 ...
Slenti's user avatar
  • 11
2 votes
0 answers
3k 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 ...
ekavet's user avatar
  • 33
1 vote
0 answers
147 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: No ...
eto.ttnflt's user avatar
0 votes
1 answer
1k 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 ...
killer_rabbit's user avatar
2 votes
1 answer
511 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. ...
a.gulcan's user avatar
0 votes
1 answer
2k 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 ...
crossmax's user avatar
  • 293
1 vote
2 answers
2k 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 ...
F4irline's user avatar
0 votes
1 answer
237 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 ...
user3.1415927's user avatar
0 votes
1 answer
1k 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 ...
Dan 's user avatar
  • 1
0 votes
0 answers
226 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 ...
prince's user avatar
  • 23
2 votes
2 answers
28k 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 ...
MeebusJaximus's user avatar
0 votes
2 answers
1k 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 ...
Pink Panther's user avatar