is a user-space application to configure the Linux kernel firewall tables. These tables contain chains of rules defining the treatment of network packets.
Questions tagged [iptables]
113 questions
3
votes
2 answers
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 don't lock myself out when I enable it.
I am remote…
Vesa
- 247
- 1
- 2
- 11
2
votes
1 answer
Problem with iptables - can't DNAT or use --dport
I have been having a few frustrating hours trying to get iptables to work. I have updated and upgraded my raspbian. I have iptables V1.4.14 installed.
# iptables -A INPUT -i eth1 -p tcp -m tcp --dport 443 -j ACCEPT
iptables: No…
Bryan
- 341
- 1
- 2
- 8
1
vote
1 answer
Fedora - iptables rules change after reboot, iptables-save do nothing
So I'm setting a new fedora install on my raspberrypi (version: newest pidora).
Everything works, except vnc, any connection attempts are rejected.
So, as I'd like to make it working now and worry about security later, I clear iptables…
user182690
1
vote
0 answers
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 FTP connection, as it used to work fine prior to…
ThatGuy
- 111
- 2
1
vote
1 answer
iptables allow only SSH and VPN
I have my Pi 2 with a public IP address and I would like to protect it. I would like to have access only to SSH (public/private keys), openVPN, services that are requested from the pi itself, such as sending emails.
I have setup iptables:
iptables…
john
- 131
- 1
- 6
1
vote
0 answers
TOR Relay, Routing not working Properly
So I have been trying for a while now using this guide https://pimylifeup.com/raspberry-pi-tor-access-point/ . About 2 years ago I was able to do this, but my SD card corrupted and I had to do it again, but I am not able to properly route the TOR…
Martin Bradley
- 11
- 1
0
votes
0 answers
Raspberry Pi Router: NAT & iptables --to-destination is not recognized
I'm struggling to get NAT working on my Raspberry Pi as I intend.
Without giving a lot of information, this is the issue I encounter
$ sudo iptables -t nat -A PREROUTING -p tcp -i wlan0 --dport 2222 -j DNAT --to 192.168.2.241:22
iptables v1.8.2…
user3728501
- 228
- 4
- 11
-1
votes
1 answer
How to get the iptables logs when Rpi act as router between ETH1 and ETH0
I have setuped my RPI following the post
Sharing the Pi's WiFi connection through the Ethernet port
I want to be able to have to source ip, source port, source mac, dest ip, dest port logged by iptables
I already add the command :
iptables -A…