Questions tagged [iptables]
is a user-space application to configure the Linux kernel firewall tables. These tables contain chains of rules defining the treatment of network packets.
27
questions with no upvoted or accepted answers
5
votes
0answers
6k views
Open Splash Page After Connecting to Wifi Hotspot
I'm using my pi3 to display a local "website" as described here Making a Raspberry Pi 3 accessible w/o configuration via WiFi and static IP/URL.
Therefore, I'm creating a hotspot with the pi. This ...
3
votes
1answer
2k views
VPN Passthrough two ethernet interface
I'm a quite new in the network my internet acces have a proxy so to by-pass it I use a VPN hosted on my VPS. I use the OpenVPN Client software for all my devices. (Windows, Android, Linux)
I got a ...
3
votes
0answers
6k views
Setting up a Huawei LTE stick e3372 on a raspberry
I have just taken over a project from a colleague so I am not 100% sure what this pi have been up to before.
Anyways, my task is to setup a Huawei LTE usb Stick (E3372) as a modem for the raspberry ...
1
vote
0answers
66 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: ...
1
vote
1answer
196 views
RaspberryPi VPN Router (eth0) works in Wired connections but not in Wireless ones
I have this following setup:
Office Network:
192.168.9.x --> Subnet for all Wired Connections
192.168.9.1 --> Wired Gateway IP
192.168.10.x --> Subnet for all Wireless Connections
192....
1
vote
1answer
518 views
How can I activate UFW on my Raspberry Pi 3 B without risking to lock myself out?
I want to activate UFW on my Raspberry Pi 3 B as I have used it previously on another machine and was quite content with that software.
I have already downloaded UFW but I need to make sure that I ...
1
vote
0answers
823 views
cannot forward from wlan interface to another wlan interface
I have two wlan interfaces: wlan0 wlan1.
wlan0 is an AP managed by hostapd, where as wlan1 is a normal wifi interface, which is connected to my home router via wpa_supplicant.
Additionally I have my ...
1
vote
0answers
112 views
FTP connection broken after configuring iptables on Raspbian
So I managed to get a configuration of iptables that suits my needs, primarily based on 2+ hours of research and reading similar Stack Exchange and forum posts.
However, this seems to have broken my ...
1
vote
0answers
93 views
Is there a way to set up a tor-ap and be able to turn tor routing off when needed?
I recently turned my raspberry pi into an AP and am wanting to follow the directions here https://learn.adafruit.com/onion-pi/overview. However, after reading the section here https://learn.adafruit....
1
vote
0answers
113 views
rPI access point devices can't see upnp devices, but can access by ip. Missing iptable or incorrect interface setup?
I posted yesterday, but forgot my login, sorry guys :(
I setup a basic wireless access point to access my ethernet network from my wifi devices not near it. I can access devices by ip just fine, but ...
1
vote
0answers
466 views
forwarding ports from eth0 to wlan0
I have a raspberry pi 3 which is set up as a wifi ap using hostapd and dnsmasq sharing the eth0 which is connected to an ADSL modem. My laptop is connected to this wifi ap. I have set up vnc servers ...
1
vote
0answers
604 views
Raspberry Pi Tor router without WLAN
I have Raspberry Pi 1 model B+ with Raspbian Wheezy. I bought a USB2-Ethernet adapter and decided to create hardware Tor routing. What I mean by hardware routing:
The Raspberry Pi will be in middle ...
1
vote
0answers
428 views
10 second delay on Post Request from Midori with node backend server
I have a RaspberryPi that runs a small web-application on it. It is auto-loaded on boot in midori (kiosk mode) and a small timer runs on it (updated every second). This works all right.
Now, the ...
1
vote
0answers
275 views
Raspbian can't forward port to a ip in lan
I have a problem: I have a DVR connected to my router and I want to access it from remote but in my country there aren't ISP that offers free ports. So I bought a Raspberry Pi, connected it to Hamachi ...
0
votes
1answer
74 views
Buster: Route traffic eth0<>wlan1
I followed these excellent and simple instructions to set up a WiFi repeater on Buster:
[Access point as WiFi router/repeater with additional WiFi-dongle
However when I rebooted the eth0 access was ...
0
votes
0answers
25 views
Remote access lags on 3B+ when firewall enabled
I'm having some weird problems with SSH and VNC on a 3B+. I've got basic firewall rules on the Pi to allow that traffic through, but I get major lag with them. I'm talking 2 minute delays. If I ...
0
votes
0answers
77 views
Cannot connect Deluge Thin Client to RPie Deluge Server
I'm trying to setup my RPi 3 (buster) with a deluge server and a VPN (Private Internet Access)
I have followed theses guides
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=223589
https:/...
0
votes
0answers
23 views
Log input traffic using iptables
Is it possible to log input traffic coming to wired Ethernet port using iptables, without syslog running? I want to know about appearance of particular MAC address WiFi node in range of my home WiFi ...
0
votes
1answer
76 views
Using cgroup module in iptables cause “no chain by that name” error message
Trying to use cgroup module in iptables rule cause "No chain/target/match by that name" message.
I'm using:
Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux
...
0
votes
0answers
19 views
Debian gateway server with webmin suddenly unable to communicate with anything
I have a Raspberry pi running Raspbian Lite and webmin that is been serving as my home network gateway (and has been for some time without issue). Tonight I was attempting to add some port forwarding ...
0
votes
1answer
204 views
Using the Raspberry Pi and OpenVPN
I have had a burning issue with my VPN setup and I am hoping someone will be able to help, or advise.
So I currently have a DD-WRT router with an OpenVPN client setup serving my devices. However the ...
0
votes
0answers
380 views
Raspbian Stretch iptables: Can't redirect all requests to localhost on pi
I have a private hotspot running on the raspberry based on RASPAP, which is working perfectly.
Now I wish to automatically direct all the users who connect to this wifi towards a locally hosted ...
0
votes
0answers
629 views
Raspberry Pi 3 WiFi to WiFi Access Point not forwarding traffic to Internet
I followed this guide https://pimylifeup.com/raspberry-pi-wireless-access-point/ on how to setup an Ethernet to WiFi access point using the built in RPi WiFi adapter successfully. I connected my phone ...
0
votes
1answer
317 views
Routing network through 3 interfaces
I got a Raspberry Pi 3 which I haven't used in a while, and have decided to boot it up with its built-in wifi card as its own Hotspot, and the official Raspberry Pi Wifi Dongle as an interface to my ...
0
votes
1answer
2k views
Error installing iptables-persistent
I tried to install iptables-persistent without success. I checked the dependent packages and tried to install them manually but it is also not working.
What I tried:
sudo apt-get install iptables-...
0
votes
0answers
266 views
Only allow ssh from 192.168.XXX.XXX
How can I only allow ssh access from the local network (192.168.X.X) and drop all requests from the internet?
What is the best option? adding an iptables rule or modifying the /etc/hosts.allow ?
-2
votes
1answer
19 views
iptables blocking access to a service (Cloud9)
I want to create a Cloud9 server using a raspberry pi. I download the repository and it ran just fine in the port 8181 as it shows below. I could even access the panel from the Raspberry using ...