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 [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.

3
votes
1answer
1k 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 ...
1
vote
1answer
88 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
439 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 ...
0
votes
1answer
92 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
1answer
25 views

Correctly Route 2 Newtorks

I am currently running Pidora and I have configured it so that dhcpd hands out an IP address to devices connected via Ethernet on a network of 192.168.2.1 whilst it (the Pi) obtains a static IP from ...
0
votes
1answer
263 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-...
4
votes
0answers
5k 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
0answers
5k 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 ...
2
votes
0answers
30 views

How to allow access from OpenVPN set on eth0 to wlan0

So I have the following configuration: +---------------------+ +----------------------------------+ | 10.10.10.* | | 192.168.100.*...
1
vote
0answers
24 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
0answers
597 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
93 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
79 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
108 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
420 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
563 views

Raspberry Pi Tor router without WLAN

I have Raspberry Pi 1 model B+ with Raspian 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 of ...
1
vote
0answers
400 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
273 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
0answers
14 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
0answers
277 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
533 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
0answers
220 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 ?